CVE-2024-38607·Kernel vulnerability
In the Linux kernel, the following vulnerability has been resolved: macintosh/via-macii: Fix "BUG: sleeping function called from invalid context" The via-macii ADB driver calls request_irq() after disabling hard interrupts. But disabling interrupts isn't necessary here because the VIA shift register interrupt was masked during VIA1 initialization.
- Severity
- medium
- Software
- Kernel
- Fixed in
- 6.9.3
- Published
- 2024-06-19
Affected versions
From: 6.9
Until: 6.9.3
Fixed in: 6.9.3
How to fix this CVE
Update your Linux kernel to version 6.9.3 or later to resolve a scheduling context violation in the macintosh/via-macii ADB driver. The fix removes unnecessary interrupt disabling during driver initialization, which was causing kernel warnings and potential stability issues on affected Macintosh systems. Apply this update through your distribution's package manager immediately.
sudo dnf update kernelDefensia detects this vulnerability
How to check if you are affected
- Step 1: Check your kernel version with 'uname -r' and compare against 6.9.0 through 6.9.2
- Step 2: Verify if macintosh ADB hardware is present on your system with 'dmesg | grep -i via-macii' or 'cat /proc/interrupts | grep adb'
- Step 3: Search system logs for 'BUG: sleeping function called from invalid context' and 'request_irq' warnings using 'grep -r "sleeping function" /var/log/'
- Step 4: After updating to 6.9.3+, reboot and run 'uname -r' to confirm the new kernel version is active, then check dmesg for absence of the earlier warnings
FAQ
What is CVE-2024-38607?
This vulnerability affects the via-macii ADB (Apple Desktop Bus) driver in the Linux kernel, where improper interrupt context handling during driver initialization could trigger scheduling warnings and potentially destabilize the system on affected Macintosh hardware.
Is CVE-2024-38607 being actively exploited?
No, this vulnerability is not listed on the CISA Known Exploited Vulnerabilities catalog and has no publicly available exploits. It is a stability and reliability issue rather than a security boundary violation.
What versions of Kernel are affected by CVE-2024-38607?
Linux kernel versions 6.9 through 6.9.2 are vulnerable. Version 6.9.3 and later contain the fix.
How do I check if my server is vulnerable to CVE-2024-38607?
Run 'uname -r' to check your kernel version; if it shows 6.9.0, 6.9.1, or 6.9.2, you are vulnerable. Then verify ADB hardware presence with 'dmesg | grep via-macii'.
Does Defensia detect CVE-2024-38607?
Yes — Defensia's CVE advisory scanner compares installed package versions against the NVD database. If the Linux kernel is installed on a monitored server running 6.9.0 through 6.9.2, CVE-2024-38607 will appear in your dashboard with remediation steps.
Related Kernel CVEs
References
- https://git.kernel.org/stable/c/010d4cb19bb13f423e3e746b824f314a9bf3e9a9
- https://git.kernel.org/stable/c/1e9c3f2caec548cfa7a65416ec4e6006e542f18e
- https://git.kernel.org/stable/c/280619bbdeac186fb320fab3d61122d2a085def8
- https://git.kernel.org/stable/c/2907d409ce5946390f513976f0454888d37d1058
- https://git.kernel.org/stable/c/5900a88e897e6deb1bdce09ee34167a81c2da89d
Track CVEs across your fleet automatically
Defensia scans your Linux servers and tells you exactly which ones are running vulnerable versions — including CVE-2024-38607. Free for 1 server.
Get started free