CVE-2024-46791
can: mcp251x: fix deadlock if an interrupt occurs during mcp251x_open
Mitigation
- Upgrade Linux to 7dd9c26bd6cf679bcfdef01a8659791aa6487a29 or later.
Who should check
- Anyone running Linux >= 8ce8c0abcba314e1fe954a1840f6568bf5aef2ef, < 3a49b6b1caf5cefc05264d29079d52c99cb188e0; >= 8ce8c0abcba314e1fe954a1840f6568bf5aef2ef, < 513c8fc189b52f7922e36bdca58997482b198f0e; >= 8ce8c0abcba314e1fe954a1840f6568bf5aef2ef, < f7ab9e14b23a3eac6714bdc4dba244d8aa1ef646; >= 8ce8c0abcba314e1fe954a1840f6568bf5aef2ef, < 8fecde9c3f9a4b97b68bb97c9f47e5b662586ba7; >= 8ce8c0abcba314e1fe954a1840f6568bf5aef2ef, < e554113a1cd2a9cfc6c7af7bdea2141c5757e188; >= 8ce8c0abcba314e1fe954a1840f6568bf5aef2ef, < 7dd9c26bd6cf679bcfdef01a8659791aa6487a29
- Anyone running Linux 5.5
Vulnerability facts
- Affected
- Linux >= 8ce8c0abcba314e1fe954a1840f6568bf5aef2ef, < 3a49b6b1caf5cefc05264d29079d52c99cb188e0; >= 8ce8c0abcba314e1fe954a1840f6568bf5aef2ef, < 513c8fc189b52f7922e36bdca58997482b198f0e; >= 8ce8c0abcba314e1fe954a1840f6568bf5aef2ef, < f7ab9e14b23a3eac6714bdc4dba244d8aa1ef646; >= 8ce8c0abcba314e1fe954a1840f6568bf5aef2ef, < 8fecde9c3f9a4b97b68bb97c9f47e5b662586ba7; >= 8ce8c0abcba314e1fe954a1840f6568bf5aef2ef, < e554113a1cd2a9cfc6c7af7bdea2141c5757e188; >= 8ce8c0abcba314e1fe954a1840f6568bf5aef2ef, < 7dd9c26bd6cf679bcfdef01a8659791aa6487a29; Linux 5.5
- Fixed in
- Linux 3a49b6b1caf5cefc05264d29079d52c99cb188e0, Linux 513c8fc189b52f7922e36bdca58997482b198f0e, Linux 8fecde9c3f9a4b97b68bb97c9f47e5b662586ba7, Linux 7dd9c26bd6cf679bcfdef01a8659791aa6487a29
- Exploited in the wild
- Not in CISA KEV
- Public exploit / PoC
- None known
- Remote exploitation
- Not remotely exploitable (local or adjacent access needed)
- CVSS
- 5.5 (v3.1, NVD)CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:HOpen in CVSS calculator
Show all 8 CVSS metrics
- Attack vector: Local
- Attack complexity: Low
- Privileges required: Low
- User interaction: None
- Scope: Unchanged
- Confidentiality impact: None
- Integrity impact: None
- Availability impact: High
- EPSS
- 0.23% chance of exploitation in 30 days (percentile 8, 2026-11-26)
- CWE
- CWE-667
- Modified
Description
In the Linux kernel, the following vulnerability has been resolved: can: mcp251x: fix deadlock if an interrupt occurs during mcp251x_open The mcp251x_hw_wake() function is called with the mpc_lock mutex held and disables the interrupt handler so that no interrupts can be processed while waking the device. If an interrupt has already occurred then waiting for the interrupt handler to complete will deadlock because it will be trying to acquire the same mutex. CPU0 CPU1 ---- ---- mcp251x_open() mutex_lock(&priv->mcp_lock) request_threaded_irq() <interrupt> mcp251x_can_ist() mutex_lock(&priv->mcp_lock) mcp251x_hw_wake() disable_irq() <-- deadlock Use disable_irq_nosync() instead because the interrupt handler does everything while holding the mutex so it doesn't matter if it's still running.
Affected and fixed versions
| Package / product | Affected | Fixed | Source |
|---|---|---|---|
| Linux | >= 8ce8c0abcba314e1fe954a1840f6568bf5aef2ef, < 3a49b6b1caf5cefc05264d29079d52c99cb188e0; >= 8ce8c0abcba314e1fe954a1840f6568bf5aef2ef, < 513c8fc189b52f7922e36bdca58997482b198f0e; >= 8ce8c0abcba314e1fe954a1840f6568bf5aef2ef, < f7ab9e14b23a3eac6714bdc4dba244d8aa1ef646; >= 8ce8c0abcba314e1fe954a1840f6568bf5aef2ef, < 8fecde9c3f9a4b97b68bb97c9f47e5b662586ba7; >= 8ce8c0abcba314e1fe954a1840f6568bf5aef2ef, < e554113a1cd2a9cfc6c7af7bdea2141c5757e188; >= 8ce8c0abcba314e1fe954a1840f6568bf5aef2ef, < 7dd9c26bd6cf679bcfdef01a8659791aa6487a29 | — | cvelist |
| Linux | 5.5 | — | cvelist |
Check your systems with an agent
Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.
Check whether anything I run is affected by CVE-2024-46791. Work read-only: do not install, upgrade, delete or change anything. Details: https://flawdb.com/CVE-2024-46791.md Affected: Linux >= 8ce8c0abcba314e1fe954a1840f6568bf5aef2ef, < 3a49b6b1caf5cefc05264d29079d52c99cb188e0; >= 8ce8c0abcba314e1fe954a1840f6568bf5aef2ef, < 513c8fc189b52f7922e36bdca58997482b198f0e; >= 8ce8c0abcba314e1fe954a1840f6568bf5aef2ef, < f7ab9e14b23a3eac6714bdc4dba244d8aa1ef646; >= 8ce8c0abcba314e1fe954a1… Fixed in: Linux 3a49b6b1caf5cefc05264d29079d52c99cb188e0, Linux 513c8fc189b52f7922e36bdca58997482b198f0e, Linux 8fecde9c3f9a4b97b68bb97c9f47e5b662586ba7, Linux 7dd9c26bd6cf679bcfdef01a8659791aa6487a29 Steps: 1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services. 2. For each match, note the installed version and whether it is inside the affected range. 3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
References
Patches
- https://git.kernel.org/stable/c/3a49b6b1caf5cefc05264d29079d52c99cb188e0
- https://git.kernel.org/stable/c/513c8fc189b52f7922e36bdca58997482b198f0e
- https://git.kernel.org/stable/c/f7ab9e14b23a3eac6714bdc4dba244d8aa1ef646
- https://git.kernel.org/stable/c/8fecde9c3f9a4b97b68bb97c9f47e5b662586ba7
- https://git.kernel.org/stable/c/e554113a1cd2a9cfc6c7af7bdea2141c5757e188
- https://git.kernel.org/stable/c/7dd9c26bd6cf679bcfdef01a8659791aa6487a29
FAQ
Is CVE-2024-46791 being exploited?
There is no confirmed exploitation: CVE-2024-46791 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.23% chance of exploitation in the next 30 days (as of 2026-11-26).
How serious is CVE-2024-46791?
Medium: CVSS 5.5 (v3.1, scored by NVD). Not remotely exploitable (local or adjacent access needed).
Which versions are affected by CVE-2024-46791?
Linux >= 8ce8c0abcba314e1fe954a1840f6568bf5aef2ef, < 3a49b6b1caf5cefc05264d29079d52c99cb188e0; >= 8ce8c0abcba314e1fe954a1840f6568bf5aef2ef, < 513c8fc189b52f7922e36bdca58997482b198f0e; >= 8ce8c0abcba314e1fe954a1840f6568bf5aef2ef, < f7ab9e14b23a3eac6714bdc4dba244d8aa1ef646; >= 8ce8c0abcba314e1fe954a1840f6568bf5aef2ef, < 8fecde9c3f9a4b97b68bb97c9f47e5b662586ba7; >= 8ce8c0abcba314e1fe954a1840f6568bf5aef2ef, < e554113a1cd2a9cfc6c7af7bdea2141c5757e188; >= 8ce8c0abcba314e1fe954a1840f6568bf5aef2ef, < 7dd9c26bd6cf679bcfdef01a8659791aa6487a29; Linux 5.5.
Is there a fix for CVE-2024-46791?
Yes. Fixed in Linux 3a49b6b1caf5cefc05264d29079d52c99cb188e0, Linux 513c8fc189b52f7922e36bdca58997482b198f0e, Linux 8fecde9c3f9a4b97b68bb97c9f47e5b662586ba7, Linux 7dd9c26bd6cf679bcfdef01a8659791aa6487a29. Upgrade Linux to 7dd9c26bd6cf679bcfdef01a8659791aa6487a29 or later.
How do I check if I'm affected by CVE-2024-46791?
Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.