| From bippy-5f407fcff5a0 Mon Sep 17 00:00:00 2001 |
| From: Greg Kroah-Hartman <gregkh@linuxfoundation.org> |
| To: <linux-cve-announce@vger.kernel.org> |
| Reply-to: <cve@kernel.org>, <linux-kernel@vger.kernel.org> |
| Subject: CVE-2024-38593: net: micrel: Fix receiving the timestamp in the frame for lan8841 |
| |
| Description |
| =========== |
| |
| In the Linux kernel, the following vulnerability has been resolved: |
| |
| net: micrel: Fix receiving the timestamp in the frame for lan8841 |
| |
| The blamed commit started to use the ptp workqueue to get the second |
| part of the timestamp. And when the port was set down, then this |
| workqueue is stopped. But if the config option NETWORK_PHY_TIMESTAMPING |
| is not enabled, then the ptp_clock is not initialized so then it would |
| crash when it would try to access the delayed work. |
| So then basically by setting up and then down the port, it would crash. |
| The fix consists in checking if the ptp_clock is initialized and only |
| then cancel the delayed work. |
| |
| The Linux kernel CVE team has assigned CVE-2024-38593 to this issue. |
| |
| |
| Affected and fixed versions |
| =========================== |
| |
| Issue introduced in 6.5 with commit cc75549548482ed653c23f212544e58cb38ea980 and fixed in 6.6.33 with commit 3ddf170e4a604f5d4d9459a36993f5e92b53e8b0 |
| Issue introduced in 6.5 with commit cc75549548482ed653c23f212544e58cb38ea980 and fixed in 6.8.12 with commit 3fd4282d5f25c3c97fef3ef0b89b82ef4e2bc975 |
| Issue introduced in 6.5 with commit cc75549548482ed653c23f212544e58cb38ea980 and fixed in 6.9.3 with commit 64a47cf634ae44e92be24ebc982410841093bd7b |
| Issue introduced in 6.5 with commit cc75549548482ed653c23f212544e58cb38ea980 and fixed in 6.10 with commit aea27a92a41dae14843f92c79e9e42d8f570105c |
| |
| 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-38593 |
| 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/phy/micrel.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/3ddf170e4a604f5d4d9459a36993f5e92b53e8b0 |
| https://git.kernel.org/stable/c/3fd4282d5f25c3c97fef3ef0b89b82ef4e2bc975 |
| https://git.kernel.org/stable/c/64a47cf634ae44e92be24ebc982410841093bd7b |
| https://git.kernel.org/stable/c/aea27a92a41dae14843f92c79e9e42d8f570105c |