# CVE-2026-23357: can: mcp251x: fix deadlock in error path of mcp251x\_open

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** MEDIUM 5.5
- **CVSS:** 5.5 (v3.1, NVD) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- **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
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Not remotely exploitable (local or adjacent access needed)
- **EPSS:** 0.15% (percentile 2, 2026-11-26)
- **CWE:** CWE-667
- **Published:** 2026-03-25T10:27:41.299Z
- **Modified:** 2026-11-05T22:18:16.753Z

## Who should check

- Anyone running Linux \>= bf66f3736a945dd4e92d86427276c6eeab0a6c1d, \< 739454057572cb0948658d1142f3fa2c6966465c; \>= bf66f3736a945dd4e92d86427276c6eeab0a6c1d, \< 416c18ecddafab0ed09be1e7b9d2f448f3d4db16; \>= bf66f3736a945dd4e92d86427276c6eeab0a6c1d, \< 256f0cff6e946c570392bda1d01a65e789a7afd0; \>= bf66f3736a945dd4e92d86427276c6eeab0a6c1d, \< b73832292cd914e87a55e863ba4413a907e7db6b; \>= bf66f3736a945dd4e92d86427276c6eeab0a6c1d, \< 38063cc435b69d56e76f947c10d336fcb2953508; \>= bf66f3736a945dd4e92d86427276c6eeab0a6c1d, \< d27f12c3f5e85efc479896af4a69eccb37f75e8e; \>= bf66f3736a945dd4e92d86427276c6eeab0a6c1d, \< e728f444c913a91d290d1824b4770780bbd6378e; \>= bf66f3736a945dd4e92d86427276c6eeab0a6c1d, \< ab3f894de216f4a62adc3b57e9191888cbf26885
- Anyone running Linux 2.6.34

## 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 and fixed versions

- Linux: \>= bf66f3736a945dd4e92d86427276c6eeab0a6c1d, \< 739454057572cb0948658d1142f3fa2c6966465c; \>= bf66f3736a945dd4e92d86427276c6eeab0a6c1d, \< 416c18ecddafab0ed09be1e7b9d2f448f3d4db16; \>= bf66f3736a945dd4e92d86427276c6eeab0a6c1d, \< 256f0cff6e946c570392bda1d01a65e789a7afd0; \>= bf66f3736a945dd4e92d86427276c6eeab0a6c1d, \< b73832292cd914e87a55e863ba4413a907e7db6b; \>= bf66f3736a945dd4e92d86427276c6eeab0a6c1d, \< 38063cc435b69d56e76f947c10d336fcb2953508; \>= bf66f3736a945dd4e92d86427276c6eeab0a6c1d, \< d27f12c3f5e85efc479896af4a69eccb37f75e8e; \>= bf66f3736a945dd4e92d86427276c6eeab0a6c1d, \< e728f444c913a91d290d1824b4770780bbd6378e; \>= bf66f3736a945dd4e92d86427276c6eeab0a6c1d, \< ab3f894de216f4a62adc3b57e9191888cbf26885 (cvelist)
- Linux: 2.6.34 (cvelist)

## Mitigation

- No fix listed yet: follow the vendor advisory.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2026-23357. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-23357.md
Affected: Linux >= bf66f3736a945dd4e92d86427276c6eeab0a6c1d, < 739454057572cb0948658d1142f3fa2c6966465c; >= bf66f3736a945dd4e92d86427276c6eeab0a6c1d, < 416c18ecddafab0ed09be1e7b9d2f448f3d4db16; >= bf66f3736a945dd4e92d86427276c6eeab0a6c1d, < 256f0cff6e946c570392bda1d01a65e789a7afd0; >= bf66f3736a945dd4e92d864…
Fixed in: Linux 739454057572cb0948658d1142f3fa2c6966465c, Linux 416c18ecddafab0ed09be1e7b9d2f448f3d4db16, Linux 256f0cff6e946c570392bda1d01a65e789a7afd0, Linux 38063cc435b69d56e76f947c10d336fcb2953508

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.
```

## FAQ

### Is CVE-2026-23357 being exploited?

There is no confirmed exploitation: CVE-2026-23357 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.15% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2026-23357?

Medium: CVSS 5.5 (v3.1, scored by NVD). Not remotely exploitable (local or adjacent access needed).

### Which versions are affected by CVE-2026-23357?

Linux \>= bf66f3736a945dd4e92d86427276c6eeab0a6c1d, \< 739454057572cb0948658d1142f3fa2c6966465c; \>= bf66f3736a945dd4e92d86427276c6eeab0a6c1d, \< 416c18ecddafab0ed09be1e7b9d2f448f3d4db16; \>= bf66f3736a945dd4e92d86427276c6eeab0a6c1d, \< 256f0cff6e946c570392bda1d01a65e789a7afd0; \>= bf66f3736a945dd4e92d86427276c6eeab0a6c1d, \< b73832292cd914e87a55e863ba4413a907e7db6b; \>= bf66f3736a945dd4e92d86427276c6eeab0a6c1d, \< 38063cc435b69d56e76f947c10d336fcb2953508; \>= bf66f3736a945dd4e92d86427276c6eeab0a6c1d, \< d27f12c3f5e85efc479896af4a69eccb37f75e8e; \>= bf66f3736a945dd4e92d86427276c6eeab0a6c1d, \< e728f444c913a91d290d1824b4770780bbd6378e; \>= bf66f3736a945dd4e92d86427276c6eeab0a6c1d, \< ab3f894de216f4a62adc3b57e9191888cbf26885; Linux 2.6.34.

### Is there a fix for CVE-2026-23357?

Yes. Fixed in Linux 739454057572cb0948658d1142f3fa2c6966465c, Linux 416c18ecddafab0ed09be1e7b9d2f448f3d4db16, Linux 256f0cff6e946c570392bda1d01a65e789a7afd0, Linux 38063cc435b69d56e76f947c10d336fcb2953508. No fix listed yet: follow the vendor advisory.

### How do I check if I'm affected by CVE-2026-23357?

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.

## References

- patch: <https://git.kernel.org/stable/c/739454057572cb0948658d1142f3fa2c6966465c>
- patch: <https://git.kernel.org/stable/c/416c18ecddafab0ed09be1e7b9d2f448f3d4db16>
- patch: <https://git.kernel.org/stable/c/256f0cff6e946c570392bda1d01a65e789a7afd0>
- patch: <https://git.kernel.org/stable/c/b73832292cd914e87a55e863ba4413a907e7db6b>
- patch: <https://git.kernel.org/stable/c/38063cc435b69d56e76f947c10d336fcb2953508>
- patch: <https://git.kernel.org/stable/c/d27f12c3f5e85efc479896af4a69eccb37f75e8e>
- patch: <https://git.kernel.org/stable/c/e728f444c913a91d290d1824b4770780bbd6378e>
- patch: <https://git.kernel.org/stable/c/ab3f894de216f4a62adc3b57e9191888cbf26885>
- other: <https://cert-portal.siemens.com/productcert/html/ssa-784472.html>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2026-23357>

HTML: <https://flawdb.com/CVE-2026-23357> · JSON: <https://flawdb.com/api/v1/entries/CVE-2026-23357>
