CVE-2026-68387
can: raw: add locking for raw flags bitfield
Reported by linux · Published August 10, 2026
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]
EPSS 0.17% · 6.9th percentile
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| microvm-kernel6.18 | Amazon Linux | 1:6.18.44-99.149.amzn2023 |
| kernel6.18-devel | Amazon Linux | 1:6.18.44-99.149.amzn2023 |
| perf6.18 | Amazon Linux | 1:6.18.44-99.149.amzn2023 |
| Linux | Linux | 57791aab1129c9405f84bb0882de58967d8b44cd, 1e5185c090589f4146d728ab36417d8a5419f127, 00ba4bf8798242253fefc1fa6a78db1d445fd024 |
Risk scores
Affected products
| Vendor | Product | Versions |
|---|---|---|
| Linux | Linux | 890e5198a6e5b238627c245fafea1a92670a86cd, 890e5198a6e5b238627c245fafea1a92670a86cd, 890e5198a6e5b238627c245fafea1a92670a86cd |
| Linux | Linux | 6.18, 0, 6.18.42 |
| amazon:2023 | microvm-kernel6.18 | 0 |
| amazon:2023 | kernel6.18-devel | 0 |
| amazon:2023 | perf6.18 | 0 |
| Linux | Linux | 890e5198a6e5b238627c245fafea1a92670a86cd, 7.2, 7.1.6 |
| amazon:2023 | kernel6.18-headers | 0 |
| amazon:2023 | kernel-livepatch-6.18.44-99.149 | 0 |
| amazon:2023 | kernel6.18-modules-extra | 0 |
| amazon:2023 | kernel6.18-tools | 0 |
| amazon:2023 | kernel6.18-tools-devel | 0 |
| amazon:2023 | bpftool6.18 | 0 |
| amazon:2023 | kernel6.18-modules-extra-common | 0 |
| linux | linux_kernel | 6.18, 6.18, 6.18 |
| amazon:2023 | kernel6.18 | 0 |
| amazon:2023 | python3-perf6.18 | 0 |
Timeline
- Aug 10, 2026 Coalition ESS Score
- Aug 10, 2026 CVE Published
- Aug 21, 2026 Security Advisory
- Aug 24, 2026 EPSS Score (12 in total, the first dated here)
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2026-68387
vulnetix vdb fixes CVE-2026-68387
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2026-68387/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart