Bug 1226726 (CVE-2024-38593) - VUL-0: CVE-2024-38593: kernel: net: micrel: fix receiving the timestamp in the frame for lan8841
Summary: VUL-0: CVE-2024-38593: kernel: net: micrel: fix receiving the timestamp in th...
Status: RESOLVED INVALID
Alias: CVE-2024-38593
Product: SUSE Security Incidents
Classification: Novell Products
Component: Incidents (show other bugs)
Version: unspecified
Hardware: Other Other
: P3 - Medium : Normal
Target Milestone: ---
Assignee: Security Team bot
QA Contact: Security Team bot
URL: https://smash.suse.de/issue/411376/
Whiteboard: CVSSv3.1:SUSE:CVE-2024-38593:5.5:(AV:...
Keywords:
Depends on:
Blocks:
 
Reported: 2024-06-21 10:26 UTC by SMASH SMASH
Modified: 2024-06-21 15:08 UTC (History)
2 users (show)

See Also:
Found By: Security Response Team
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description SMASH SMASH 2024-06-21 10:26:14 UTC
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.

References:
http://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2024-38593
https://git.kernel.org/pub/scm/linux/security/vulns.git/plain/cve/published/2024/CVE-2024-38593.mbox
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
https://www.cve.org/CVERecord?id=CVE-2024-38593
https://bugzilla.redhat.com/show_bug.cgi?id=2293380