blob: 203d5558ce65682bb9d58ce9d2bd59aec599595d [file] [log] [blame]
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-53205: phy: realtek: usb: fix NULL deref in rtk_usb2phy_probe
Description
===========
In the Linux kernel, the following vulnerability has been resolved:
phy: realtek: usb: fix NULL deref in rtk_usb2phy_probe
In rtk_usb2phy_probe() devm_kzalloc() may return NULL
but this returned value is not checked.
The Linux kernel CVE team has assigned CVE-2024-53205 to this issue.
Affected and fixed versions
===========================
Issue introduced in 6.6 with commit 134e6d25f6bd06071e5aac0a7eefcea6f7713955 and fixed in 6.6.4 with commit 7e2cde1813418b39b5e95d86e10d6701dccf18af
Issue introduced in 6.6 with commit 134e6d25f6bd06071e5aac0a7eefcea6f7713955 and fixed in 6.7 with commit 7a784bcdd7e54f0599da3b2360e472238412623e
Issue introduced in 6.9 with commit eeda494542e55b603c7b80e14bfc5ee4ab7f9814 and fixed in 6.11.11 with commit 0b398b6b6c94315fd2ce3658e3cee96539dbd7b7
Issue introduced in 6.9 with commit eeda494542e55b603c7b80e14bfc5ee4ab7f9814 and fixed in 6.12.2 with commit fb83c9a08324e37f321ffb400809aa4310387d65
Issue introduced in 6.9 with commit eeda494542e55b603c7b80e14bfc5ee4ab7f9814 and fixed in 6.13 with commit 04e3e9188291a183b27306ddb833722c0d083d6a
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-53205
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-usb2.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/7e2cde1813418b39b5e95d86e10d6701dccf18af
https://git.kernel.org/stable/c/7a784bcdd7e54f0599da3b2360e472238412623e
https://git.kernel.org/stable/c/0b398b6b6c94315fd2ce3658e3cee96539dbd7b7
https://git.kernel.org/stable/c/fb83c9a08324e37f321ffb400809aa4310387d65
https://git.kernel.org/stable/c/04e3e9188291a183b27306ddb833722c0d083d6a