CVE-2024-46791: can: mcp251x: fix deadlock if an interrupt occurs during mcp251x_open
Vulnerability summary
CVE-2024-46791 is a medium (CVSS 5.5) Improper Locking vulnerability in linux. EPSS estimates a 0.16% chance of exploitation in the next 30 days, higher than 5.4% of scored vulnerabilities.
Not severe (CVSS 5.5, local access); no exploitation reported by the 5 checked sources
Source freshness unavailable
How is this decided?Advisory lineage
Upstream 0 · Downstream 24 · Related 19Timeline
- 18-09-2024PublishedVulnerability first disclosed.
- 11-05-2026Last modifiedVulnerability information updated.
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.
CVSS metrics
4 scores · 3 sources · 2 versions- OSV · UbuntuEcosystem advisory · calculated5.5MediumCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
- OSV · DebianEcosystem advisory · calculated5.5MediumCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
EPSS trend
Probability
0.16%
Chance of exploitation in the next 30 days
Percentile
5%
Versus all other CVEs
30-day change
No change 0.00 pp
From 0.16% on 04-10-2026
Known exploited
Compare KEV catalogsNot in the CISA KEV catalog.
Not in the ENISA CNW catalog.
Not in the CIRCL catalog.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root causeAffected systems
Known conditions: local access, low-privilege account, no user interaction (CVSS vector). Other conditions: not stated in public data.
Ubuntu130 products
- linuxAll versions (No fix recorded) | < 5.15.0-125.135 | < 6.8.0-50.51
- linux-allwinner-5.19All versions (No fix recorded)
- linux-awsAll versions (No fix recorded) | < 5.15.0-1072.78 | < 6.8.0-1020.22
- linux-aws-5.0All versions (No fix recorded)
- linux-aws-5.11All versions (No fix recorded)
Linux2 products
- linux≥ 8ce8c0abcba314e1fe954a1840f6568bf5aef2ef, < 3a49b6b1caf5cefc05264d29079d52c99cb188e0 | ≥ 8ce8c0abcba314e1fe954a1840f6568bf5aef2ef, < 513c8fc189b52f7922e36bdca58997482b198f0e | ≥ 8ce8c0abcba314e1fe954a1840f6568bf5aef2ef, < f7ab9e14b23a3eac6714bdc4dba244d8aa1ef646 | ≥ 8ce8c0abcba314e1fe954a1840f6568bf5aef2ef, < 8fecde9c3f9a4b97b68bb97c9f47e5b662586ba7 | ≥ 8ce8c0abcba314e1fe954a1840f6568bf5aef2ef, < e554113a1cd2a9cfc6c7af7bdea2141c5757e188 | ≥ 8ce8c0abcba314e1fe954a1840f6568bf5aef2ef, < 7dd9c26bd6cf679bcfdef01a8659791aa6487a29 | 5.5
- linux_kernel≥ 5.5, < 5.10.226 | ≥ 5.11, < 5.15.167 | ≥ 5.16, < 6.1.110 | ≥ 6.2, < 6.6.51 | ≥ 6.7, < 6.10.10 | 6.11:rc1 | 6.11:rc2 | 6.11:rc3 | 6.11:rc4 | 6.11:rc5 | 6.11:rc6
Debian1 product
- linux< 6.1.112-1 | < 6.10.11-1
3 vendors · 133 products