CVE-2024-38607

macintosh/via-macii: Fix "BUG: sleeping function called from invalid context"

MEDIUM
5.5
CVSS Score
Published: June 19, 2024 at 01:48 PM UTC
Updated: June 17, 2026 at 07:40 AM UTC
1 product affected across 1 vendorLinux Kernel

Using Linux by Linux?

Get instant alerts when new vulnerabilities affect Linux - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
MEDIUM5.5
Exploit prediction
EPSS 0.2%
SSVC
No known exploit

Description

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.

Affected

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

2.6.12 ≤ v < 4.19.3162.6.12 ≤ v < 5.10.2192.6.12 ≤ v < 5.15.1612.6.12 ≤ v < 5.4.2782.6.12 ≤ v < 6.1.932.6.12 ≤ v < 6.102.6.12 ≤ v < 6.6.332.6.12 ≤ v < 6.8.122.6.12 ≤ v < 6.9.32.6.13 ≤ v < 4.19.3164.20 ≤ v < 5.4.2785.11 ≤ v < 5.15.1615.16 ≤ v < 6.1.935.5 ≤ v < 5.10.2196.2 ≤ v < 6.6.336.7 ≤ v < 6.8.126.9 ≤ v < 6.9.31da177e4c3f41524e886b7f1b8a0c1fc7321cac22.6.122.6.12 rc22.6.12 rc32.6.12 rc42.6.12 rc5
Vendor states this is fixed in 010d4cb19bb13f423e3e746b824f314a9bf3e9a9 (fixed)
Vendor states this is fixed in 1e9c3f2caec548cfa7a65416ec4e6006e542f18e (fixed)
Vendor states this is fixed in 280619bbdeac186fb320fab3d61122d2a085def8 (fixed)
Vendor states this is fixed in 2907d409ce5946390f513976f0454888d37d1058 (fixed)
Vendor states this is fixed in 5900a88e897e6deb1bdce09ee34167a81c2da89d (fixed)
Vendor states this is fixed in 787fb79efc15b3b86442ecf079b8148f173376d7 (fixed)
Vendor states this is fixed in d301a71c76ee4c384b4e03cdc320a55f5cf1df05 (fixed)
Vendor states this is fixed in d43a8c7ec0841e0ff91a968770aeca83f0fd4c56 (fixed)
Vendor states this is fixed in e4ff8bcfb2841fe4e17e5901578b632adb89036d (fixed)
Vendor states this is fixed in 2.6.12 (unaffected)
Vendor states this is fixed in 4.19.316 (unaffected)
Vendor states this is fixed in 5.10.219 (unaffected)
Vendor states this is fixed in 5.15.161 (unaffected)
Vendor states this is fixed in 5.4.278 (unaffected)
Vendor states this is fixed in 6.1.93 (unaffected)
Vendor states this is fixed in 6.10 (unaffected)
Vendor states this is fixed in 6.6.33 (unaffected)
Vendor states this is fixed in 6.8.12 (unaffected)
Vendor states this is fixed in 6.9.3 (unaffected)

References (9)

Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/010d4cb19bb13f423e3e746b824f314a9bf3e9a9
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/1e9c3f2caec548cfa7a65416ec4e6006e542f18e
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/280619bbdeac186fb320fab3d61122d2a085def8
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/2907d409ce5946390f513976f0454888d37d1058
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/5900a88e897e6deb1bdce09ee34167a81c2da89d
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/787fb79efc15b3b86442ecf079b8148f173376d7
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/d301a71c76ee4c384b4e03cdc320a55f5cf1df05
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/d43a8c7ec0841e0ff91a968770aeca83f0fd4c56

SSVC — Action Prioritization

SSVCNo known exploitNot automatablePartial impact

SSVC signals action urgency (what to patch first), separate from CVSS which measures severity.

CVSS

Attack Vector
LOCAL
Complexity
LOW
Privileges
LOW
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
NONE
Integrity
NONE
Availability
HIGH
Vector?

Quick Info

StatusANALYZED
CWE
NVD-CWE-noinfo

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card