Linux
can: raw: add locking for raw flags bitfield
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 versions and mitigation
From the CVE record and the vendor's references.Affected
- >= 890e5198a6e5b238627c245fafea1a92670a86cd, < 00ba4bf8798242253fefc1fa6a78db1d445fd024
- >= 890e5198a6e5b238627c245fafea1a92670a86cd, < 57791aab1129c9405f84bb0882de58967d8b44cd
- >= 890e5198a6e5b238627c245fafea1a92670a86cd, < 1e5185c090589f4146d728ab36417d8a5419f127
Fixed in 00ba4bf8798242253fefc1fa6a78db1d445fd024, 57791aab1129c9405f84bb0882de58967d8b44cd, 1e5185c090589f4146d728ab36417d8a5419f127
- 6.18
Fixed in 0, 6.18.42, 7.1.6, 7.2
Mitigation
Upgrade Linux to 00ba4bf8798242253fefc1fa6a78db1d445fd024 or 57791aab1129c9405f84bb0882de58967d8b44cd or 1e5185c090589f4146d728ab36417d8a5419f127 or later.
Upgrade Linux to 0 or 6.18.42 or 7.1.6 or 7.2 or later.
Timeline
Days relative to CVE publicationNo public PoC found yet; not in CISA KEV.
PoC repositories
Found on GitHub.1 pending
Pending 1
| Repository | Created | Found by us | Stars | Assessment |
|---|---|---|---|---|
| cybuildguild/CVE-2026-68387 | 17 Nov 2026 +99 d | 22 Nov 2026 | 0 | Pending · listed by PoC Index; via PoC Index |
Only PoCs count toward the first-PoC date and the characteristics below. Do not run PoC code from unknown sources.