{"id":"CVE-2025-68336","aliases":["CVE-2025-68336"],"related":[],"kind":"vulnerability","state":"published","title":"locking/spinlock/debug: Fix data-race in do_raw_write_lock","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\nlocking/spinlock/debug: Fix data-race in do_raw_write_lock\n\nKCSAN reports:\n\nBUG: KCSAN: data-race in do_raw_write_lock / do_raw_write_lock\n\nwrite (marked) to 0xffff800009cf504c of 4 bytes by task 1102 on cpu 1:\n do_raw_write_lock+0x120/0x204\n _raw_write_lock_irq\n do_exit\n call_usermodehelper_exec_async\n ret_from_fork\n\nread to 0xffff800009cf504c of 4 bytes by task 1103 on cpu 0:\n do_raw_write_lock+0x88/0x204\n _raw_write_lock_irq\n do_exit\n call_usermodehelper_exec_async\n ret_from_fork\n\nvalue changed: 0xffffffff -> 0x00000001\n\nReported by Kernel Concurrency Sanitizer on:\nCPU: 0 PID: 1103 Comm: kworker/u4:1 6.1.111\n\nCommit 1a365e822372 (\"locking/spinlock/debug: Fix various data races\") has\nadressed most of these races, but seems to be not consistent/not complete.\n\n>From do_raw_write_lock() only debug_write_lock_after() part has been\nconverted to WRITE_ONCE(), but not debug_write_lock_before() part.\nDo it now.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In the Linux kernel, the following vulnerability has been resolved:\n\nlocking/spinlock/debug: Fix data-race in do_raw_write_lock\n\nKCSAN reports:\n\nBUG: KCSAN: data-race in do_raw_write_lock / do_raw_write_lock\n\nwrite (marked) to 0xffff800009cf504c of 4 bytes by task 1102 on cpu 1:\n do_raw_write_lock+0x120/0x204\n _raw_write_lock_irq\n do_exit\n call_usermodehelper_exec_async\n ret_from_fork\n\nread to 0xffff800009cf504c of 4 bytes by task 1103 on cpu 0:\n do_raw_write_lock+0x88/0x204\n _raw_write_lock_irq\n do_exit\n call_usermodehelper_exec_async\n ret_from_fork\n\nvalue changed: 0xffffffff -> 0x00000001\n\nReported by Kernel Concurrency Sanitizer on:\nCPU: 0 PID: 1103 Comm: kworker/u4:1 6.1.111\n\nCommit 1a365e822372 (\"locking/spinlock/debug: Fix various data races\") has\nadressed most of these races, but seems to be not consistent/not complete.\n\n>From do_raw_write_lock() only debug_write_lock_after() part has been\nconverted to WRITE_ONCE(), but not debug_write_lock_before() part.\nDo it now.","source":"cvelist"},{"lang":"es","text":"En el kernel de Linux, se ha corregido la siguiente vulnerabilidad:\\n\\nlocking/spinlock/debug: Fix data-race in do_raw_write_lock\\n\\nInformes de KCSAN:\\n\\nBUG: KCSAN: data-race in do_raw_write_lock / do_raw_write_lock\\n\\nwrite (marked) to 0xffff800009cf504c of 4 bytes by task 1102 on cpu 1:\\n do_raw_write_lock+0x120/0x204\\n _raw_write_lock_irq\\n do_exit\\n call_usermodehelper_exec_async\\n ret_from_fork\\n\\nread to 0xffff800009cf504c of 4 bytes by task 1103 on cpu 0:\\n do_raw_write_lock+0x88/0x204\\n _raw_write_lock_irq\\n do_exit\\n call_usermodehelper_exec_async\\n ret_from_fork\\n\\nvalue changed: 0xffffffff  -mayor que 0x00000001\\n\\nReportado por Kernel Concurrency Sanitizer el:\\nCPU: 0 PID: 1103 Comm: kworker/u4:1 6.1.111\\n\\nEl commit 1a365e822372 (\\“locking/spinlock/debug: Fix various data races\\”) ha abordado la mayor parte de estas carreras, pero parece no ser consistente/no estar completo.\\n\\n>Desde do_raw_write_lock() solo la parte debug_write_lock_after() se ha\\nconvertido a WRITE_ONCE(), pero la parte debug_write_lock_before() no.\\nHazlo ahora.","source":"nvd"}],"published":"2025-12-22T16:14:13.425Z","modified":"2026-10-19T21:10:00.160Z","severity":{"scorer":"Linux","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","score":7.5,"rating":"HIGH"},"severities":[{"scorer":"Linux","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","score":7.5,"rating":"HIGH"}],"cwes":[],"affected":[{"ranges":[{"type":"git","introduced":"1a365e822372ba24c9da0822bc583894f6f3d821","fixed":"8e5b2cf10844402054b52b489b525dc30cc16908","status":"affected"},{"type":"git","introduced":"1a365e822372ba24c9da0822bc583894f6f3d821","fixed":"c228cb699a07a5f2d596d186bc5c314c99bb8bbf","status":"affected"},{"type":"git","introduced":"1a365e822372ba24c9da0822bc583894f6f3d821","fixed":"93bd23524d63deb80fb85beb2e43fafeb1043d0f","status":"affected"},{"type":"git","introduced":"1a365e822372ba24c9da0822bc583894f6f3d821","fixed":"39d2ef113416f1a4205b03fb0aa2e428d1412c77","status":"affected"},{"type":"git","introduced":"1a365e822372ba24c9da0822bc583894f6f3d821","fixed":"b163a5e8c703201c905d6ec7920ed79d167e8442","status":"affected"},{"type":"git","introduced":"1a365e822372ba24c9da0822bc583894f6f3d821","fixed":"16b3590c0e1e615757dade098c8fbc0d4f040c76","status":"affected"},{"type":"git","introduced":"1a365e822372ba24c9da0822bc583894f6f3d821","fixed":"396a9270a7b90886be501611b13aa636f2e8c703","status":"affected"},{"type":"git","introduced":"1a365e822372ba24c9da0822bc583894f6f3d821","fixed":"c14ecb555c3ee80eeb030a4e46d00e679537f03a","status":"affected"},{"type":"git","version":"3106fb78d3579c8e9c9b3040f7f7841981919624","status":"affected"},{"type":"git","version":"c0911024ff927ba5c4786b507004cb615be1d776","status":"affected"},{"type":"git","version":"09226e5c38639437565af01e6009a9286a351d04","status":"affected"},{"type":"git","version":"c7673f01604fa722b9d7c1e29e17cec1b8ae09c5","status":"affected"},{"type":"git","version":"c120c3dbeb76305235c8e557f84d9e2d7d0f5933","status":"affected"},{"type":"semver","introduced":"4.4.209","fixed":"4.5","status":"affected"},{"type":"semver","introduced":"4.9.209","fixed":"4.10","status":"affected"},{"type":"semver","introduced":"4.14.164","fixed":"4.15","status":"affected"},{"type":"semver","introduced":"4.19.95","fixed":"4.20","status":"affected"},{"type":"semver","introduced":"5.4.11","fixed":"5.5","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"5.5","status":"affected"},{"type":"semver","introduced":"0","fixed":"5.5","status":"unaffected"},{"type":"semver","introduced":"5.10.248","lastAffected":"5.10.*","status":"unaffected"},{"type":"semver","introduced":"5.15.198","lastAffected":"5.15.*","status":"unaffected"},{"type":"semver","introduced":"6.1.160","lastAffected":"6.1.*","status":"unaffected"},{"type":"semver","introduced":"6.6.120","lastAffected":"6.6.*","status":"unaffected"},{"type":"semver","introduced":"6.12.62","lastAffected":"6.12.*","status":"unaffected"},{"type":"semver","introduced":"6.17.12","lastAffected":"6.17.*","status":"unaffected"},{"type":"semver","introduced":"6.18.1","lastAffected":"6.18.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"6.19","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"}],"references":[{"url":"https://git.kernel.org/stable/c/8e5b2cf10844402054b52b489b525dc30cc16908","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/c228cb699a07a5f2d596d186bc5c314c99bb8bbf","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/93bd23524d63deb80fb85beb2e43fafeb1043d0f","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/39d2ef113416f1a4205b03fb0aa2e428d1412c77","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/b163a5e8c703201c905d6ec7920ed79d167e8442","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/16b3590c0e1e615757dade098c8fbc0d4f040c76","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/396a9270a7b90886be501611b13aa636f2e8c703","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/c14ecb555c3ee80eeb030a4e46d00e679537f03a","tags":[],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"yes","technicalImpact":"partial","date":"2026-10-16T15:04:42.942Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2025-68336","url":"https://www.cve.org/CVERecord?id=CVE-2025-68336","licence":"CVE Terms of Use","modified":"2026-10-16T15:09:43.012Z"},{"source":"nvd","name":"NVD","id":"CVE-2025-68336","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-68336","licence":"Public domain","modified":"2026-10-19T21:10:00.160Z"}],"updatedAt":"2026-11-25T22:59:09.794Z","epss":{"score":0.0095,"percentile":0.59866,"date":"2026-11-30T12:00:22.000Z"}}