5.5

CVE-2024-46791: can: mcp251x: fix deadlock if an interrupt occurs during mcp251x_open

Modified
AliasesUBUNTU-CVE-2024-46791DEBIAN-CVE-2024-46791
Published 18-09-2024Last modified 11-05-2026

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.

Priority
Routine

Not severe (CVSS 5.5, local access); no exploitation reported by the 5 checked sources

Source freshness unavailable

How is this decided?
CVSS score
5.5/10
010
Medium · v3.1 (NVD)
EPSS score
0.16%
0%100%
Low · 0.00 pp in 30 days
KEVNot listedNot listed by any tracked catalog.
RansomwareNot flaggedNo ransomware use recorded.
Public exploits0No public exploits recorded

Advisory lineage

Upstream 0 · Downstream 24 · Related 19

Timeline

  1. 18-09-2024
    PublishedVulnerability first disclosed.
  2. 11-05-2026
    Last 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

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

04-10-202603-11-2026

Known exploited

Compare KEV catalogs
CISA KEV

Not in the CISA KEV catalog.

ENISA CNW

Not in the ENISA CNW catalog.

CIRCL

Not in the CIRCL catalog.

Public exploits

0 found

No public exploits indexed.

Weaknesses

CWE · root cause

Affected systems

Version check

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

References

23 links
Show all 23 references