| From bippy-1.1.0 Mon Sep 17 00:00:00 2001 |
| From: Greg Kroah-Hartman <gregkh@kernel.org> |
| To: <linux-cve-announce@vger.kernel.org> |
| Reply-to: <cve@kernel.org>, <linux-kernel@vger.kernel.org> |
| Subject: CVE-2024-53204: phy: realtek: usb: fix NULL deref in rtk_usb3phy_probe |
| |
| Description |
| =========== |
| |
| In the Linux kernel, the following vulnerability has been resolved: |
| |
| phy: realtek: usb: fix NULL deref in rtk_usb3phy_probe |
| |
| In rtk_usb3phy_probe() devm_kzalloc() may return NULL |
| but this returned value is not checked. |
| |
| The Linux kernel CVE team has assigned CVE-2024-53204 to this issue. |
| |
| |
| Affected and fixed versions |
| =========================== |
| |
| Issue introduced in 6.6 with commit adda6e82a7de7d6d478f6c8ef127f0ac51c510a1 and fixed in 6.6.4 with commit e27877990e54bfe4246dd850f7ec8646c999ce58 |
| Issue introduced in 6.6 with commit adda6e82a7de7d6d478f6c8ef127f0ac51c510a1 and fixed in 6.7 with commit 258ea41c926b7b3a16d0d7aa210a1401c4a1601b |
| Issue introduced in 6.9 with commit b48415afe5fd7e6f5912d4c45720217b77d8e7ea and fixed in 6.11.11 with commit 48d52d3168749e10c1c37cd4ceccd18625851741 |
| Issue introduced in 6.9 with commit b48415afe5fd7e6f5912d4c45720217b77d8e7ea and fixed in 6.12.2 with commit 776f13ad1f88485206f1dca5ef138553106950e5 |
| Issue introduced in 6.9 with commit b48415afe5fd7e6f5912d4c45720217b77d8e7ea and fixed in 6.13 with commit bf373d2919d98f3d1fe1b19a0304f72fe74386d9 |
| |
| 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-2024-53204 |
| 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/phy/realtek/phy-rtk-usb3.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/e27877990e54bfe4246dd850f7ec8646c999ce58 |
| https://git.kernel.org/stable/c/258ea41c926b7b3a16d0d7aa210a1401c4a1601b |
| https://git.kernel.org/stable/c/48d52d3168749e10c1c37cd4ceccd18625851741 |
| https://git.kernel.org/stable/c/776f13ad1f88485206f1dca5ef138553106950e5 |
| https://git.kernel.org/stable/c/bf373d2919d98f3d1fe1b19a0304f72fe74386d9 |