# CVE-2026-99671: can: raw, isotp: copy socket options outside of lock\_sock()

- **Severity:** UNSCORED
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Unknown
- **EPSS:** 0.21% (percentile 6, 2026-11-28)
- **Published:** 2026-11-20T05:50:20.377Z
- **Modified:** 2026-11-23T08:18:07.797Z

## Who should check

- Anyone running Linux \>= c18ce101f2e47d97ace125033e2896895a6db3dd, \< 0ad1f126e04fc19898de9577a01d41b1a02d37cd; \>= c18ce101f2e47d97ace125033e2896895a6db3dd, \< 61f76d2a9244e103f4eb749e0b001bf9ac5ecec2; \>= c18ce101f2e47d97ace125033e2896895a6db3dd, \< 6f65cb2f1ea02dde496955f92ea057573f9ac8b4; \>= c18ce101f2e47d97ace125033e2896895a6db3dd, \< b6ebfbdf543c2155adc7924d9afb1c8e47472459; \>= c18ce101f2e47d97ace125033e2896895a6db3dd, \< ecc81d48ae70513db45de567ae164a1993b792c5; \>= c18ce101f2e47d97ace125033e2896895a6db3dd, \< 233eb0922c17063911dd4e947ef91ef5125b9665; \>= c18ce101f2e47d97ace125033e2896895a6db3dd, \< 12b2ddd7d01b7e5ec466c128ff862197d59c2440; \>= c18ce101f2e47d97ace125033e2896895a6db3dd, \< 43c973a0887d3d7b2ee0a446603c97bf0f38c58e
- Anyone running Linux 2.6.25

## Description

In the Linux kernel, the following vulnerability has been resolved:

can: raw, isotp: copy socket options outside of lock\_sock()

The CAN\_RAW and CAN\_ISOTP specific socket options are copied from and
to user space while holding lock\_sock(). A copy that faults or stalls,
e.g. on a userfaultfd or FUSE backed mapping, holds lock\_sock() for its
whole duration.

raw\_notify() and isotp\_notify() take lock\_sock() of a socket that is
bound to the vanishing device while holding RTNL. As the CAN\_RAW
options can also be changed on a bound socket, a stalled copy can block
RTNL on an unregistration or namespace change of the bound device.
Before "can: protect the receive lists with a per-device lock",
raw\_setsockopt() even held RTNL itself during the copy. CAN\_ISOTP only
copies its options for unbound sockets, which isotp\_notify() skips
without taking lock\_sock().

Keep the user space copies out of the locked sections: Check the option
name and length and copy the option values, including the CAN\_RAW\_FILTER
filters, to kernel memory before lock\_sock(). raw\_setsockopt\_locked()
and isotp\_setsockopt\_locked() get the copied values directly and drop
their now redundant length checks and copies. As a side effect, a
failing copy can not leave partially overwritten options behind
anymore. In raw\_getsockopt() duplicate the filters under lock\_sock() and
copy them to user space after release\_sock().

As the option name and length are now checked before lock\_sock(), the
order of the checks in isotp\_setsockopt() and accordingly the order of
the returned error values changes. This is in line with POSIX, which
does not define an order in which multiple error conditions are
detected and reported.

The generic SOL\_SOCKET options in sk\_setsockopt() are not affected by
this patch.

## Affected and fixed versions

- Linux: \>= c18ce101f2e47d97ace125033e2896895a6db3dd, \< 0ad1f126e04fc19898de9577a01d41b1a02d37cd; \>= c18ce101f2e47d97ace125033e2896895a6db3dd, \< 61f76d2a9244e103f4eb749e0b001bf9ac5ecec2; \>= c18ce101f2e47d97ace125033e2896895a6db3dd, \< 6f65cb2f1ea02dde496955f92ea057573f9ac8b4; \>= c18ce101f2e47d97ace125033e2896895a6db3dd, \< b6ebfbdf543c2155adc7924d9afb1c8e47472459; \>= c18ce101f2e47d97ace125033e2896895a6db3dd, \< ecc81d48ae70513db45de567ae164a1993b792c5; \>= c18ce101f2e47d97ace125033e2896895a6db3dd, \< 233eb0922c17063911dd4e947ef91ef5125b9665; \>= c18ce101f2e47d97ace125033e2896895a6db3dd, \< 12b2ddd7d01b7e5ec466c128ff862197d59c2440; \>= c18ce101f2e47d97ace125033e2896895a6db3dd, \< 43c973a0887d3d7b2ee0a446603c97bf0f38c58e (cvelist)
- Linux: 2.6.25 (cvelist)

## Technologies

Linux kernel

## Mitigation

- Upgrade Linux to 43c973a0887d3d7b2ee0a446603c97bf0f38c58e or later.

## Check your systems with an agent

Paste this into a coding agent:

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

Details: https://flawdb.com/CVE-2026-99671.md
Affected: Linux >= c18ce101f2e47d97ace125033e2896895a6db3dd, < 0ad1f126e04fc19898de9577a01d41b1a02d37cd; >= c18ce101f2e47d97ace125033e2896895a6db3dd, < 61f76d2a9244e103f4eb749e0b001bf9ac5ecec2; >= c18ce101f2e47d97ace125033e2896895a6db3dd, < 6f65cb2f1ea02dde496955f92ea057573f9ac8b4; >= c18ce101f2e47d97ace1250…
Fixed in: Linux 0ad1f126e04fc19898de9577a01d41b1a02d37cd, Linux 61f76d2a9244e103f4eb749e0b001bf9ac5ecec2, Linux 6f65cb2f1ea02dde496955f92ea057573f9ac8b4, Linux 233eb0922c17063911dd4e947ef91ef5125b9665, Linux 12b2ddd7d01b7e5ec466c128ff862197d59c2440, Linux 43c973a0887d3d7b2ee0a446603c97bf0f38c58e

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-99671 being exploited?

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

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

It has no CVSS score yet. Unknown.

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

Linux \>= c18ce101f2e47d97ace125033e2896895a6db3dd, \< 0ad1f126e04fc19898de9577a01d41b1a02d37cd; \>= c18ce101f2e47d97ace125033e2896895a6db3dd, \< 61f76d2a9244e103f4eb749e0b001bf9ac5ecec2; \>= c18ce101f2e47d97ace125033e2896895a6db3dd, \< 6f65cb2f1ea02dde496955f92ea057573f9ac8b4; \>= c18ce101f2e47d97ace125033e2896895a6db3dd, \< b6ebfbdf543c2155adc7924d9afb1c8e47472459; \>= c18ce101f2e47d97ace125033e2896895a6db3dd, \< ecc81d48ae70513db45de567ae164a1993b792c5; \>= c18ce101f2e47d97ace125033e2896895a6db3dd, \< 233eb0922c17063911dd4e947ef91ef5125b9665; \>= c18ce101f2e47d97ace125033e2896895a6db3dd, \< 12b2ddd7d01b7e5ec466c128ff862197d59c2440; \>= c18ce101f2e47d97ace125033e2896895a6db3dd, \< 43c973a0887d3d7b2ee0a446603c97bf0f38c58e; Linux 2.6.25.

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

Yes. Fixed in Linux 0ad1f126e04fc19898de9577a01d41b1a02d37cd, Linux 61f76d2a9244e103f4eb749e0b001bf9ac5ecec2, Linux 6f65cb2f1ea02dde496955f92ea057573f9ac8b4, Linux 233eb0922c17063911dd4e947ef91ef5125b9665, Linux 12b2ddd7d01b7e5ec466c128ff862197d59c2440, Linux 43c973a0887d3d7b2ee0a446603c97bf0f38c58e. Upgrade Linux to 43c973a0887d3d7b2ee0a446603c97bf0f38c58e or later.

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

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

- other: <https://git.kernel.org/stable/c/0ad1f126e04fc19898de9577a01d41b1a02d37cd>
- other: <https://git.kernel.org/stable/c/61f76d2a9244e103f4eb749e0b001bf9ac5ecec2>
- other: <https://git.kernel.org/stable/c/6f65cb2f1ea02dde496955f92ea057573f9ac8b4>
- other: <https://git.kernel.org/stable/c/b6ebfbdf543c2155adc7924d9afb1c8e47472459>
- other: <https://git.kernel.org/stable/c/ecc81d48ae70513db45de567ae164a1993b792c5>
- other: <https://git.kernel.org/stable/c/233eb0922c17063911dd4e947ef91ef5125b9665>
- other: <https://git.kernel.org/stable/c/12b2ddd7d01b7e5ec466c128ff862197d59c2440>
- other: <https://git.kernel.org/stable/c/43c973a0887d3d7b2ee0a446603c97bf0f38c58e>

## 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-99671>
- FIRST EPSS: EPSS scores by FIRST <https://www.first.org/epss/>

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