{"id":"CVE-2026-68387","published":"2026-08-10T12:04:06Z","modified":"2026-08-17T05:04:34Z","title":"can: raw: add locking for raw flags bitfield","vendor":"Linux","product":"Linux","tier":"tail","description":{"text":"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]","provenance":"source","from":"CVE.org"},"cvss":{"score":7.8,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00173,"percentile":0.0394,"provenance":"source"},"cwes":[],"references":[{"url":"https://git.kernel.org/stable/c/00ba4bf8798242253fefc1fa6a78db1d445fd024","tags":[]},{"url":"https://git.kernel.org/stable/c/57791aab1129c9405f84bb0882de58967d8b44cd","tags":[]},{"url":"https://git.kernel.org/stable/c/1e5185c090589f4146d728ab36417d8a5419f127","tags":[]}],"priority":{"score":6.2,"factors":[{"name":"EPSS percentile","points":0.79},{"name":"CVSS severity","points":5.46}]},"vendorSlug":"linux","affectedVersions":[{"vendor":"Linux","product":"Linux","versions":[">= 890e5198a6e5b238627c245fafea1a92670a86cd, < 00ba4bf8798242253fefc1fa6a78db1d445fd024",">= 890e5198a6e5b238627c245fafea1a92670a86cd, < 57791aab1129c9405f84bb0882de58967d8b44cd",">= 890e5198a6e5b238627c245fafea1a92670a86cd, < 1e5185c090589f4146d728ab36417d8a5419f127"]},{"vendor":"Linux","product":"Linux","versions":["6.18"]}],"euvd":{"id":"EUVD-2026-55573","exploited":false,"provenance":"source"}}