Not rated
CVE-2026-23357 can: mcp251x: fix deadlock in error path of mcp251x_open
Description
In the Linux kernel, the following vulnerability has been resolved: can: mcp251x: fix deadlock in error path of mcp251x_open The mcp251x_open() function call free_irq() in its error path with the mpc_lock mutex held. But if an interrupt already occurred the interrupt handler will be waiting for the mpc_lock and free_irq() will deadlock waiting for the handler to finish. This issue is similar to the one fixed in commit 7dd9c26bd6cf ("can: mcp251x: fix deadlock if an interrupt occurs during mcp251x_open") but for the error path. To solve this issue move the call to free_irq() after the lock is released. Setting `priv->force_quit = 1` beforehand ensure that the IRQ handler will exit right away once it acquired the lock.
Affected products and versions
| Product | Affected versions | Fixed in |
|---|---|---|
| Linux 7.0 | earliest → < 7.0 | 7.0 |
| Linux 6.19 | earliest → < 6.19.7 | 6.19.7 |
| Linux 6.18 | earliest → < 6.18.17 | 6.18.17 |
| Linux 6.12 | earliest → < 6.12.77 | 6.12.77 |
| Linux 6.6 | earliest → < 6.6.130 | 6.6.130 |
| Linux 6.1 | earliest → < 6.1.167 | 6.1.167 |
| Linux 5.15 | earliest → < 5.15.203 | 5.15.203 |
| Linux 5.10 | earliest → < 5.10.253 | 5.10.253 |
| Linux | 2.6.34 | No fix stated |
Show the other branch Hide the other branch
| Product | Affected versions | Fixed in |
|---|---|---|
| SIMATIC S7-1500 TM MFP - GNU/Linux subsystem | Versions not published |
Other CVEs of Linux
The 18300 CVEs of Linux →
CVE-2026-99284
net: skbuff: propagate shared-frag marker in skb_zerocopy()
Not rated
CVE-2026-99283
netfilter: conntrack: tcp: use UNACK timeout for non-closing RST packets
Not rated
CVE-2026-99282
net/sched: sch_teql: fix use-after-free on lower qdisc drop
Not rated
CVE-2026-99281
tun: Require CAP_NET_ADMIN to attach to an ownerless device
Not rated