CVE-2026-68387
can: raw: add locking for raw flags bitfield
Mitigation
- Upgrade Linux to 1e5185c090589f4146d728ab36417d8a5419f127 or later.
Who should check
- Anyone running Linux >= 890e5198a6e5b238627c245fafea1a92670a86cd, < 00ba4bf8798242253fefc1fa6a78db1d445fd024; >= 890e5198a6e5b238627c245fafea1a92670a86cd, < 57791aab1129c9405f84bb0882de58967d8b44cd; >= 890e5198a6e5b238627c245fafea1a92670a86cd, < 1e5185c090589f4146d728ab36417d8a5419f127
- Anyone running Linux 6.18
Vulnerability facts
- Affected
- Linux >= 890e5198a6e5b238627c245fafea1a92670a86cd, < 00ba4bf8798242253fefc1fa6a78db1d445fd024; >= 890e5198a6e5b238627c245fafea1a92670a86cd, < 57791aab1129c9405f84bb0882de58967d8b44cd; >= 890e5198a6e5b238627c245fafea1a92670a86cd, < 1e5185c090589f4146d728ab36417d8a5419f127; Linux 6.18
- Fixed in
- Linux 00ba4bf8798242253fefc1fa6a78db1d445fd024, Linux 57791aab1129c9405f84bb0882de58967d8b44cd, Linux 1e5185c090589f4146d728ab36417d8a5419f127
- Exploited in the wild
- Not in CISA KEV
- Public exploit / PoC
- None known
- Remote exploitation
- Not remotely exploitable (local or adjacent access needed)
- CVSS
- 7.8 (v3.1, CNA)CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HOpen in CVSS calculator
Show all 8 CVSS metrics
- Attack vector: Local
- Attack complexity: Low
- Privileges required: Low
- User interaction: None
- Scope: Unchanged
- Confidentiality impact: High
- Integrity impact: High
- Availability impact: High
- EPSS
- 0.17% chance of exploitation in 30 days (percentile 4, 2026-11-26)
- Modified
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]
Affected and fixed versions
| Package / product | Affected | Fixed | Source |
|---|---|---|---|
| Linux | >= 890e5198a6e5b238627c245fafea1a92670a86cd, < 00ba4bf8798242253fefc1fa6a78db1d445fd024; >= 890e5198a6e5b238627c245fafea1a92670a86cd, < 57791aab1129c9405f84bb0882de58967d8b44cd; >= 890e5198a6e5b238627c245fafea1a92670a86cd, < 1e5185c090589f4146d728ab36417d8a5419f127 | — | cvelist |
| Linux | 6.18 | — | cvelist |
Check your systems with an agent
Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.
Check whether anything I run is affected by CVE-2026-68387. Work read-only: do not install, upgrade, delete or change anything. Details: https://flawdb.com/CVE-2026-68387.md Affected: Linux >= 890e5198a6e5b238627c245fafea1a92670a86cd, < 00ba4bf8798242253fefc1fa6a78db1d445fd024; >= 890e5198a6e5b238627c245fafea1a92670a86cd, < 57791aab1129c9405f84bb0882de58967d8b44cd; >= 890e5198a6e5b238627c245fafea1a92670a86cd, < 1e5185c090589f4146d728ab36417d8a5419f127; Linux 6.18 Fixed in: Linux 00ba4bf8798242253fefc1fa6a78db1d445fd024, Linux 57791aab1129c9405f84bb0882de58967d8b44cd, Linux 1e5185c090589f4146d728ab36417d8a5419f127 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.
References
FAQ
Is CVE-2026-68387 being exploited?
There is no confirmed exploitation: CVE-2026-68387 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.17% chance of exploitation in the next 30 days (as of 2026-11-26).
How serious is CVE-2026-68387?
High: CVSS 7.8 (v3.1, scored by CNA). Not remotely exploitable (local or adjacent access needed).
Which versions are affected by CVE-2026-68387?
Linux >= 890e5198a6e5b238627c245fafea1a92670a86cd, < 00ba4bf8798242253fefc1fa6a78db1d445fd024; >= 890e5198a6e5b238627c245fafea1a92670a86cd, < 57791aab1129c9405f84bb0882de58967d8b44cd; >= 890e5198a6e5b238627c245fafea1a92670a86cd, < 1e5185c090589f4146d728ab36417d8a5419f127; Linux 6.18.
Is there a fix for CVE-2026-68387?
Yes. Fixed in Linux 00ba4bf8798242253fefc1fa6a78db1d445fd024, Linux 57791aab1129c9405f84bb0882de58967d8b44cd, Linux 1e5185c090589f4146d728ab36417d8a5419f127. Upgrade Linux to 1e5185c090589f4146d728ab36417d8a5419f127 or later.
How do I check if I'm affected by CVE-2026-68387?
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.