CVE-2026-99671

can: raw, isotp: copy socket options outside of lock_sock()

No CVSS score yet EPSS 0.21%

Published 20 Nov 2026 Updated 23 Nov 2026 CNA: Linux

Check your servers for CVE-2026-99671

The Vulnpocalypse collector sends the package list of each Linux server and of its container images once a day. Vulnpocalypse shows every server where CVE-2026-99671 affects the running kernel, with the command that installs the fix. The free plan covers one server and one domain and does not need a credit card.

Check my servers

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.

Exploitation

EPSS 0.21%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 6.49% of all scored CVEs. Scores of 29 Nov 2026.

Affected products

As the CNA lists them.

ProductVersions
Linux
affected from c18ce101f2e47d97ace125033e2896895a6db3dd, before 0ad1f126e04fc19898de9577a01d41b1a02d37cd
affected from c18ce101f2e47d97ace125033e2896895a6db3dd, before 61f76d2a9244e103f4eb749e0b001bf9ac5ecec2
affected from c18ce101f2e47d97ace125033e2896895a6db3dd, before 6f65cb2f1ea02dde496955f92ea057573f9ac8b4
affected from c18ce101f2e47d97ace125033e2896895a6db3dd, before b6ebfbdf543c2155adc7924d9afb1c8e47472459
affected from c18ce101f2e47d97ace125033e2896895a6db3dd, before ecc81d48ae70513db45de567ae164a1993b792c5
affected from c18ce101f2e47d97ace125033e2896895a6db3dd, before 233eb0922c17063911dd4e947ef91ef5125b9665
affected from c18ce101f2e47d97ace125033e2896895a6db3dd, before 12b2ddd7d01b7e5ec466c128ff862197d59c2440
affected from c18ce101f2e47d97ace125033e2896895a6db3dd, before 43c973a0887d3d7b2ee0a446603c97bf0f38c58e
Other versions: unaffected
Linux
affected 2.6.25
unaffected before 2.6.25
unaffected from 5.10.275 up to and including 5.10.*
unaffected from 5.15.226 up to and including 5.15.*
unaffected from 6.1.193 up to and including 6.1.*
unaffected from 6.6.163 up to and including 6.6.*
unaffected from 6.12.118 up to and including 6.12.*
unaffected from 6.18.64 up to and including 6.18.*
unaffected from 7.3.5 up to and including 7.3.*
unaffected 7.4-rc2 and later
Other versions: affected

Is my server affected?

This CVE is in the Linux kernel. Compare the running kernel with the fixed kernel version of your distribution, and reboot after a kernel update:

uname -r
# Debian, Ubuntu: does the changelog of the running kernel name the CVE?
zgrep -l CVE-2026-99671 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2026-99671

With Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:

trivy rootfs --scanners vuln / | grep CVE-2026-99671
trivy image --scanners vuln IMAGE | grep CVE-2026-99671

Vulnpocalypse makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Start free with one server and one domain or read how to install the collector.

References

Other references

Source: the record CVE-2026-99671 of the CVE List (CVE Program), CVE Terms of Use; EPSS of FIRST. The text of the record is shown as published. Data sources and licences.