CVE-2026-99671

Not scored yetLast modified Nov 23, 2026

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.

Metrics

No CVSS score has been published yet.

Affected software

Source: the vendor's advisory (CNA). NVD analysis pending.

VendorProductVersions
LinuxLinux>= c18ce101f2e47d97ace125033e2896895a6db3dd, < 0ad1f126e04fc19898de9577a01d41b1a02d37cd; >= c18ce101f2e47d97ace125033e2896895a6db3dd, < 61f76d2a9244e103f4eb749e0b001bf9ac5ecec2; >= c18ce101f2e47d97ace125033e2896895a6db3dd, < 6f65cb2f1ea02dde496955f92ea057573f9ac8b4; >= c18ce101f2e47d97ace125033e2896895a6db3dd, < b6ebfbdf543c2155adc7924d9afb1c8e47472459; >= c18ce101f2e47d97ace125033e2896895a6db3dd, < ecc81d48ae70513db45de567ae164a1993b792c5; >= c18ce101f2e47d97ace125033e2896895a6db3dd, < 233eb0922c17063911dd4e947ef91ef5125b9665; >= c18ce101f2e47d97ace125033e2896895a6db3dd, < 12b2ddd7d01b7e5ec466c128ff862197d59c2440; >= c18ce101f2e47d97ace125033e2896895a6db3dd, < 43c973a0887d3d7b2ee0a446603c97bf0f38c58e
LinuxLinux2.6.25

References

Timeline

Published
Nov 20, 2026
Last modified
Nov 23, 2026
NVD status
Received

Related CVEs from 2026

CVE-2026-996727.8In the Linux kernel, the following vulnerability has been resolved: can: protect the receive lists with a per-device lock The receive listCVE-2026-99673In the Linux kernel, the following vulnerability has been resolved: can: replace ARPHRD_CAN type checks with can_get_ml_priv() Commit 4e09CVE-2026-996747.8In the Linux kernel, the following vulnerability has been resolved: can: dev: can_dropped_invalid_skb: drop CAN XL frames on non-CAN XL devCVE-2026-99675In the Linux kernel, the following vulnerability has been resolved: nvmet: reject keep-alive timeouts that would overflow nvmet_set_feat_kCVE-2026-996769.8In the Linux kernel, the following vulnerability has been resolved: net: restore refcount ordering for lockless socket access Before commiCVE-2026-99677In the Linux kernel, the following vulnerability has been resolved: xfs: clamp the pNFS layout range to the maximum file size xfs_fs_map_bCVE-2026-996787.5In the Linux kernel, the following vulnerability has been resolved: xfs: cap the block count of xfs_iomap_write_direct() at one extent xfsCVE-2026-996799.4In the Linux kernel, the following vulnerability has been resolved: xfs: refuse a pNFS LAYOUTCOMMIT of a range without blocks A client canCVE-2026-99688.8Integer overflow in V8 in Google Chrome prior to 148.0.7778.216 allowed a remote attacker to execute arbitrary code inside a sandbox via a cCVE-2026-996809.4In the Linux kernel, the following vulnerability has been resolved: xfs: mark the inode preallocated for pNFS write layouts past EOF xfs_fCVE-2026-99681In the Linux kernel, the following vulnerability has been resolved: blk-mq: fix out-of-bounds read in blk_mq_free_rqs A KASAN slab-out-of-CVE-2026-99682In the Linux kernel, the following vulnerability has been resolved: virtio_blk: use synchronous quiesce in virtblk_freeze_priv() blk_mq_ru
CVE-2026-99671: Unscored | Vulnix