CVE-2026-68387
Received Received - Intake

CAN Raw Socket Flag Manipulation Race Condition

Vulnerability report for CVE-2026-68387, including description, CVSS score, EPSS score, affected products, exploitability, helpful resources, and attack-flow context.

Publication date: 2026-08-10

Last updated on: 2026-08-10

Assigner: kernel.org

Description

In the Linux kernel, the following vulnerability has been resolved: can: raw: add locking for raw flags bitfield With commit 890e5198a6e5 ("can: raw: use bitfields to store flags in struct raw_sock") the formerly separate integer values have been integrated into a single bitfield. This led to a read-modify-write operation when changing a flag in raw_setsockopt() which now needs a locking to prevent concurrent access. Instead of adding a lock/unlock hell in each of the flag manipulations this patch introduces a wrapper for a new raw_setsockopt_locked() function analogue to the isotp_setsockopt[_locked]() approach in net/can/isotp.c [mkl: use Closes tag instead of Link]

CVSS Scores

EPSS Scores

Probability:
Percentile:

Meta Information

Published
2026-08-10
Last Modified
2026-08-10
Generated
2026-08-10
AI Q&A
2026-08-10
EPSS Evaluated
N/A
NVD
EUVD

Affected Vendors & Products

Showing 1 associated CPE
Vendor Product Version / Range
linux linux_kernel *

Helpful Resources

Exploitability

CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-UNKNOWN

Attack-Flow Graph

AI Quick Actions

Instant insights powered by AI
Executive Summary

This vulnerability in the Linux kernel involves a race condition in the CAN raw protocol implementation. A bitfield was introduced to store flags in a struct, but this created a read-modify-write operation when changing flags. Without proper locking, concurrent access could lead to inconsistent state or corruption.

Detection Guidance

This vulnerability is specific to the Linux kernel's CAN raw protocol implementation and requires kernel code analysis. Detection involves checking kernel version and patch status rather than network commands. Verify if your kernel includes commit 890e5198a6e5 or later.

Impact Analysis

If exploited, this could allow an attacker to manipulate CAN network traffic or cause denial of service by corrupting socket state. It primarily affects applications using raw CAN sockets on vulnerable Linux kernels.

Mitigation Strategies

Update your Linux kernel to a version that includes the fix for this vulnerability (commit 890e5198a6e5 or later). If immediate patching isn't possible, consider disabling CAN raw sockets if not required, but this may impact functionality.

Chat Assistant

Ask questions about this CVE
Hi! I’m here to help you understand CVE-2026-68387. Ask me anything about the vulnerability, its impact, or mitigation strategies.
0/70

EPSS Chart