{"id":"CVE-2026-68387","aliases":[],"url":"https://o3.security/vulnerability/CVE-2026-68387","summary":"can: raw: add locking for raw flags bitfield","details":"In the Linux kernel, the following vulnerability has been resolved:\n\ncan: raw: add locking for raw flags bitfield\n\nWith commit 890e5198a6e5 (\"can: raw: use bitfields to store flags in\nstruct raw_sock\") the formerly separate integer values have been integrated\ninto a single bitfield. This led to a read-modify-write operation when\nchanging a flag in raw_setsockopt() which now needs a locking to prevent\nconcurrent access.\n\nInstead of adding a lock/unlock hell in each of the flag manipulations this\npatch introduces a wrapper for a new raw_setsockopt_locked() function\nanalogue to the isotp_setsockopt[_locked]() approach in net/can/isotp.c\n\n[mkl: use Closes tag instead of Link]","published":"2026-08-10T12:04:06.326Z","modified":"2026-08-14T04:04:01.388086335Z","cvss":{"score":7.8,"severity":"HIGH","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H"},"epss":null,"cisaKev":null,"exploitsKnown":null,"affectedPackages":[{"ecosystem":"Linux","name":"Kernel","fixedVersion":"6.18.42"}],"fix":null,"references":[{"type":"WEB","url":"https://git.kernel.org/stable/c/00ba4bf8798242253fefc1fa6a78db1d445fd024"},{"type":"WEB","url":"https://git.kernel.org/stable/c/1e5185c090589f4146d728ab36417d8a5419f127"},{"type":"WEB","url":"https://git.kernel.org/stable/c/57791aab1129c9405f84bb0882de58967d8b44cd"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/68xxx/CVE-2026-68387.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-68387"},{"type":"PACKAGE","url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"}],"provenance":{"sources":["OSV.dev","FIRST.org (EPSS)"],"lastVerified":"2026-08-14T04:04:01.388086335Z"}}