From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 121B332E738 for ; Wed, 24 Dec 2025 12:29:31 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1766579372; cv=none; b=fVwn8UimRdOQ1SE968tE5XU/dZYoPOjn1DW9x0Marp2q0qf1LzNnEsJTJxfT/0BWYovZZh1cC4OQ7+u8zpcIwYzuJ4AMyj5CigaTtvvsbWRuv47Bvx4b1QQxyUv0roG6fRW9XyVZGNr8IgMfNd78ymS+brwjiSM2cF9Otq0vVuE= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1766579372; c=relaxed/simple; bh=yWrHBDFwG25mzHUHgGs/tqY55G1EyRbNWyP7LbYsuFo=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=gDDq9cjg0stRyV1fuwPVVDnyZX2O3ZQlHMYYTxA+XrH1wlDjkG9neN5z07L2oEj1Fe5xruHMBbzpt2Q7zFZS/s8fcKb6EJ9HKC0LmRZvGSaFe1Siy106i/XxPwXbryspr8JVA27SMilkoM7ljHC/bn5rEjGP8t4x1KDRdhQdfAc= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=jNs/FGDE; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b="jNs/FGDE" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 3692CC4CEFB; Wed, 24 Dec 2025 12:29:31 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1766579371; bh=yWrHBDFwG25mzHUHgGs/tqY55G1EyRbNWyP7LbYsuFo=; h=From:To:Cc:Subject:Date:Reply-To:From; b=jNs/FGDEsTTTQpOEiCwc20aiZ6xg0efMfJ/jwoTD3hWhUIbKTWRk/K80l0aVCgbQB zePib1GSQRMY7cW5eG7iVZ9GksdF8Gh03meyubwbNeN3YWzDnyA1izKssvyl6wx6Cv 2k4zKhwIb9G9cyHuNvS05MNXDJ2Kq8wvCWHCk33w= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2023-54053: wifi: iwlwifi: pcie: fix possible NULL pointer dereference Date: Wed, 24 Dec 2025 13:26:46 +0100 Message-ID: <2025122425-CVE-2023-54053-9a4e@gregkh> X-Mailer: git-send-email 2.52.0 Reply-To: , Precedence: bulk X-Mailing-List: linux-cve-announce@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=2986; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=exwp+StEV9W7d+4CLcs4b2bJx44w8Ni3L9/rUpkN8FE=; b=owGbwMvMwCRo6H6F97bub03G02pJDJnetz9uuPNoS5e2aqiPi+2631Msvy8MffH3R+3C586Sm vMU+x/P74hlYRBkYpAVU2T5so3n6P6KQ4pehranYeawMoEMYeDiFICJ5LxhmM2m/aWae3Pnv+9M DbJZ9eslbG+zazAsWPLugk/y04mz1Qo/7ApmeXfXN5A1GAA= X-Developer-Key: i=gregkh@linuxfoundation.org; a=openpgp; fpr=F4B60CC5BF78C2214A313DCB3147D40DDB2DFB29 Content-Transfer-Encoding: 8bit From: Greg Kroah-Hartman Description =========== In the Linux kernel, the following vulnerability has been resolved: wifi: iwlwifi: pcie: fix possible NULL pointer dereference It is possible that iwl_pci_probe() will fail and free the trans, then afterwards iwl_pci_remove() will be called and crash by trying to access trans which is already freed, fix it. iwlwifi 0000:01:00.0: Detected crf-id 0xa5a5a5a2, cnv-id 0xa5a5a5a2 wfpm id 0xa5a5a5a2 iwlwifi 0000:01:00.0: Can't find a correct rfid for crf id 0x5a2 ... BUG: kernel NULL pointer dereference, address: 0000000000000028 ... RIP: 0010:iwl_pci_remove+0x12/0x30 [iwlwifi] pci_device_remove+0x3e/0xb0 device_release_driver_internal+0x103/0x1f0 driver_detach+0x4c/0x90 bus_remove_driver+0x5c/0xd0 driver_unregister+0x31/0x50 pci_unregister_driver+0x40/0x90 iwl_pci_unregister_driver+0x15/0x20 [iwlwifi] __exit_compat+0x9/0x98 [iwlwifi] __x64_sys_delete_module+0x147/0x260 The Linux kernel CVE team has assigned CVE-2023-54053 to this issue. Affected and fixed versions =========================== Fixed in 5.4.244 with commit f6f2d16c77f936041b8ac495fceabded4ec6c83c Fixed in 5.10.181 with commit 0fc0d287c1e7dcb39a3b9bb0f8679cd68c2156c7 Fixed in 5.15.113 with commit 7545f21eee1356ec98581125c4dba9c4c0cc7397 Fixed in 6.1.30 with commit 0f9a1bcb94016d3a3c455a77b01f6bb06e15f6eb Fixed in 6.3.4 with commit dcd23aa6cc0ded7950b60ce1badb80b84045c6c0 Fixed in 6.4 with commit b655b9a9f8467684cfa8906713d33b71ea8c8f54 Please see https://www.kernel.org for a full list of currently supported kernel versions by the kernel community. Unaffected versions might change over time as fixes are backported to older supported kernel versions. The official CVE entry at https://cve.org/CVERecord/?id=CVE-2023-54053 will be updated if fixes are backported, please check that for the most up to date information about this issue. Affected files ============== The file(s) affected by this issue are: drivers/net/wireless/intel/iwlwifi/pcie/drv.c Mitigation ========== The Linux kernel CVE team recommends that you update to the latest stable kernel version for this, and many other bugfixes. Individual changes are never tested alone, but rather are part of a larger kernel release. Cherry-picking individual commits is not recommended or supported by the Linux kernel community at all. If however, updating to the latest release is impossible, the individual changes to resolve this issue can be found at these commits: https://git.kernel.org/stable/c/f6f2d16c77f936041b8ac495fceabded4ec6c83c https://git.kernel.org/stable/c/0fc0d287c1e7dcb39a3b9bb0f8679cd68c2156c7 https://git.kernel.org/stable/c/7545f21eee1356ec98581125c4dba9c4c0cc7397 https://git.kernel.org/stable/c/0f9a1bcb94016d3a3c455a77b01f6bb06e15f6eb https://git.kernel.org/stable/c/dcd23aa6cc0ded7950b60ce1badb80b84045c6c0 https://git.kernel.org/stable/c/b655b9a9f8467684cfa8906713d33b71ea8c8f54