CVE-2026-68387
kernel: can: raw: add locking for raw flags bitfield
Severity
LowRed Hat Product Security
CVSS 3.1
Review impact separately from score.
Published · August 10, 2026
Updated · October 30, 2026
Description
A flaw was found in the Linux kernel's Controller Area Network (CAN) raw socket implementation. A local attacker could exploit a race condition in the raw_setsockopt() function. This occurs due to insufficient locking during read-modify-write operations on a shared bitfield when modifying socket flags. Successful exploitation could lead to data corruption or system instability, potentially resulting in a denial of service.
Statement
This issue affects CAN raw sockets. Converting CAN_RAW flags to a bitfield introduced unsynchronized read-modify-write races when multiple threads set socket options concurrently. Systems not using CAN raw sockets are not affected.
CVSS score applicability
The CVSS score(s) listed for this vulnerability do not reflect the associated product's status, and are included for informational purposes to better understand the severity of this vulnerability.
Mitigation
No mitigation is specified in collected source.
CVSS / CWE
CVSS 3.1 · 5.5CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
CWE-414 · Missing Lock Check