CVE-2025-68336
locking/spinlock/debug: Fix data-race in do_raw_write_lock
Description
In the Linux kernel, the following vulnerability has been resolved: locking/spinlock/debug: Fix data-race in do_raw_write_lock KCSAN reports: BUG: KCSAN: data-race in do_raw_write_lock / do_raw_write_lock write (marked) to 0xffff800009cf504c of 4 bytes by task 1102 on cpu 1: do_raw_write_lock+0x120/0x204 _raw_write_lock_irq do_exit call_usermodehelper_exec_async ret_from_fork read to 0xffff800009cf504c of 4 bytes by task 1103 on cpu 0: do_raw_write_lock+0x88/0x204 _raw_write_lock_irq do_exit call_usermodehelper_exec_async ret_from_fork value changed: 0xffffffff -> 0x00000001 Reported by Kernel Concurrency Sanitizer on: CPU: 0 PID: 1103 Comm: kworker/u4:1 6.1.111 Commit 1a365e822372 ("locking/spinlock/debug: Fix various data races") has adressed most of these races, but seems to be not consistent/not complete. >From do_raw_write_lock() only debug_write_lock_after() part has been converted to WRITE_ONCE(), but not debug_write_lock_before() part. Do it now.
INFO
Published Date :
Dec. 22, 2025, 5:16 p.m.
Last Modified :
Oct. 19, 2026, 9:10 p.m.
Remotely Exploit :
Yes !
Source :
416baaa9-dc9f-4396-8d5f-8c081fb06d67
CVSS Scores
| Score | Version | Severity | Vector | Exploitability Score | Impact Score | Source |
|---|---|---|---|---|---|---|
| CVSS | 134c704f-9b21-4f2e-91b3-4a467353bcc0 | |||||
| CVSS 3.1 | HIGH | 416baaa9-dc9f-4396-8d5f-8c081fb06d67 |
Solution
- Update the Linux kernel to the latest version.
- Apply the commit that fixes the data race.
- Ensure debug_write_lock_before() uses WRITE_ONCE().
References to Advisories, Solutions, and Tools
Here, you will find a curated list of external links that provide in-depth
information, practical solutions, and valuable tools related to
CVE-2025-68336.
CWE - Common Weakness Enumeration
While CVE identifies
specific instances of vulnerabilities, CWE categorizes the common flaws or
weaknesses that can lead to vulnerabilities. CVE-2025-68336 is
associated with the following CWEs:
Common Attack Pattern Enumeration and Classification (CAPEC)
Common Attack Pattern Enumeration and Classification
(CAPEC)
stores attack patterns, which are descriptions of the common attributes and
approaches employed by adversaries to exploit the CVE-2025-68336
weaknesses.
We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).
Results are limited to the first 15 repositories due to potential performance issues.
The following list is the news that have been mention
CVE-2025-68336 vulnerability anywhere in the article.
The following table lists the changes that have been made to the
CVE-2025-68336 vulnerability over time.
Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.
-
CVE Translated by [email protected]
Oct. 19, 2026
Action Type Old Value New Value Added Translation Title: Linux, Description: 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. -
CVE Modified by 416baaa9-dc9f-4396-8d5f-8c081fb06d67
Oct. 16, 2026
Action Type Old Value New Value Added Reference https://git.kernel.org/stable/c/16b3590c0e1e615757dade098c8fbc0d4f040c76 Added Reference https://git.kernel.org/stable/c/396a9270a7b90886be501611b13aa636f2e8c703 Added Reference https://git.kernel.org/stable/c/39d2ef113416f1a4205b03fb0aa2e428d1412c77 Added Reference https://git.kernel.org/stable/c/8e5b2cf10844402054b52b489b525dc30cc16908 Added Reference https://git.kernel.org/stable/c/93bd23524d63deb80fb85beb2e43fafeb1043d0f Added Reference https://git.kernel.org/stable/c/b163a5e8c703201c905d6ec7920ed79d167e8442 Added Reference https://git.kernel.org/stable/c/c14ecb555c3ee80eeb030a4e46d00e679537f03a Added Reference https://git.kernel.org/stable/c/c228cb699a07a5f2d596d186bc5c314c99bb8bbf Removed Reference https://git.kernel.org/stable/c/16b3590c0e1e615757dade098c8fbc0d4f040c76 Removed Reference https://git.kernel.org/stable/c/396a9270a7b90886be501611b13aa636f2e8c703 Removed Reference https://git.kernel.org/stable/c/39d2ef113416f1a4205b03fb0aa2e428d1412c77 Removed Reference https://git.kernel.org/stable/c/8e5b2cf10844402054b52b489b525dc30cc16908 Removed Reference https://git.kernel.org/stable/c/93bd23524d63deb80fb85beb2e43fafeb1043d0f Removed Reference https://git.kernel.org/stable/c/b163a5e8c703201c905d6ec7920ed79d167e8442 Removed Reference https://git.kernel.org/stable/c/c14ecb555c3ee80eeb030a4e46d00e679537f03a Removed Reference https://git.kernel.org/stable/c/c228cb699a07a5f2d596d186bc5c314c99bb8bbf -
CVE Modified by 134c704f-9b21-4f2e-91b3-4a467353bcc0
Oct. 16, 2026
Action Type Old Value New Value Added SSVC {'id': 'CVE-2025-68336', 'role': 'CISA Coordinator', 'options': [{'exploitation': 'none'}, {'automatable': 'yes'}, {'technicalImpact': 'partial'}], 'version': '2.0.3', 'timestamp': '2026-10-16T15:04:42.942439Z'} -
CVE Modified by 416baaa9-dc9f-4396-8d5f-8c081fb06d67
Jul. 30, 2026
Action Type Old Value New Value Added CVSS V3.1 AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H -
CVE Modified by 416baaa9-dc9f-4396-8d5f-8c081fb06d67
Jun. 17, 2026
Action Type Old Value New Value Added Affected [{'repo': 'https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git', 'vendor': 'Linux', 'product': 'Linux', 'versions': [{'status': 'affected', 'version': '1a365e822372ba24c9da0822bc583894f6f3d821', 'lessThan': '8e5b2cf10844402054b52b489b525dc30cc16908', 'versionType': 'git'}, {'status': 'affected', 'version': '1a365e822372ba24c9da0822bc583894f6f3d821', 'lessThan': 'c228cb699a07a5f2d596d186bc5c314c99bb8bbf', 'versionType': 'git'}, {'status': 'affected', 'version': '1a365e822372ba24c9da0822bc583894f6f3d821', 'lessThan': '93bd23524d63deb80fb85beb2e43fafeb1043d0f', 'versionType': 'git'}, {'status': 'affected', 'version': '1a365e822372ba24c9da0822bc583894f6f3d821', 'lessThan': '39d2ef113416f1a4205b03fb0aa2e428d1412c77', 'versionType': 'git'}, {'status': 'affected', 'version': '1a365e822372ba24c9da0822bc583894f6f3d821', 'lessThan': 'b163a5e8c703201c905d6ec7920ed79d167e8442', 'versionType': 'git'}, {'status': 'affected', 'version': '1a365e822372ba24c9da0822bc583894f6f3d821', 'lessThan': '16b3590c0e1e615757dade098c8fbc0d4f040c76', 'versionType': 'git'}, {'status': 'affected', 'version': '1a365e822372ba24c9da0822bc583894f6f3d821', 'lessThan': '396a9270a7b90886be501611b13aa636f2e8c703', 'versionType': 'git'}, {'status': 'affected', 'version': '1a365e822372ba24c9da0822bc583894f6f3d821', 'lessThan': 'c14ecb555c3ee80eeb030a4e46d00e679537f03a', 'versionType': 'git'}, {'status': 'affected', 'version': '3106fb78d3579c8e9c9b3040f7f7841981919624', 'versionType': 'git'}, {'status': 'affected', 'version': 'c0911024ff927ba5c4786b507004cb615be1d776', 'versionType': 'git'}, {'status': 'affected', 'version': '09226e5c38639437565af01e6009a9286a351d04', 'versionType': 'git'}, {'status': 'affected', 'version': 'c7673f01604fa722b9d7c1e29e17cec1b8ae09c5', 'versionType': 'git'}, {'status': 'affected', 'version': 'c120c3dbeb76305235c8e557f84d9e2d7d0f5933', 'versionType': 'git'}, {'status': 'affected', 'version': '4.4.209', 'lessThan': '4.5', 'versionType': 'semver'}, {'status': 'affected', 'version': '4.9.209', 'lessThan': '4.10', 'versionType': 'semver'}, {'status': 'affected', 'version': '4.14.164', 'lessThan': '4.15', 'versionType': 'semver'}, {'status': 'affected', 'version': '4.19.95', 'lessThan': '4.20', 'versionType': 'semver'}, {'status': 'affected', 'version': '5.4.11', 'lessThan': '5.5', 'versionType': 'semver'}], 'programFiles': ['kernel/locking/spinlock_debug.c'], 'defaultStatus': 'unaffected'}, {'repo': 'https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git', 'vendor': 'Linux', 'product': 'Linux', 'versions': [{'status': 'affected', 'version': '5.5'}, {'status': 'unaffected', 'version': '0', 'lessThan': '5.5', 'versionType': 'semver'}, {'status': 'unaffected', 'version': '5.10.248', 'versionType': 'semver', 'lessThanOrEqual': '5.10.*'}, {'status': 'unaffected', 'version': '5.15.198', 'versionType': 'semver', 'lessThanOrEqual': '5.15.*'}, {'status': 'unaffected', 'version': '6.1.160', 'versionType': 'semver', 'lessThanOrEqual': '6.1.*'}, {'status': 'unaffected', 'version': '6.6.120', 'versionType': 'semver', 'lessThanOrEqual': '6.6.*'}, {'status': 'unaffected', 'version': '6.12.62', 'versionType': 'semver', 'lessThanOrEqual': '6.12.*'}, {'status': 'unaffected', 'version': '6.17.12', 'versionType': 'semver', 'lessThanOrEqual': '6.17.*'}, {'status': 'unaffected', 'version': '6.18.1', 'versionType': 'semver', 'lessThanOrEqual': '6.18.*'}, {'status': 'unaffected', 'version': '6.19', 'versionType': 'original_commit_for_fix', 'lessThanOrEqual': '*'}], 'programFiles': ['kernel/locking/spinlock_debug.c'], 'defaultStatus': 'affected'}] -
CVE Modified by 416baaa9-dc9f-4396-8d5f-8c081fb06d67
Jan. 19, 2026
Action Type Old Value New Value Added Reference https://git.kernel.org/stable/c/8e5b2cf10844402054b52b489b525dc30cc16908 Added Reference https://git.kernel.org/stable/c/c228cb699a07a5f2d596d186bc5c314c99bb8bbf -
CVE Modified by 416baaa9-dc9f-4396-8d5f-8c081fb06d67
Jan. 11, 2026
Action Type Old Value New Value Added Reference https://git.kernel.org/stable/c/39d2ef113416f1a4205b03fb0aa2e428d1412c77 Added Reference https://git.kernel.org/stable/c/93bd23524d63deb80fb85beb2e43fafeb1043d0f -
New CVE Received by 416baaa9-dc9f-4396-8d5f-8c081fb06d67
Dec. 22, 2025
Action Type Old Value New Value Added Description In the Linux kernel, the following vulnerability has been resolved: locking/spinlock/debug: Fix data-race in do_raw_write_lock KCSAN reports: BUG: KCSAN: data-race in do_raw_write_lock / do_raw_write_lock write (marked) to 0xffff800009cf504c of 4 bytes by task 1102 on cpu 1: do_raw_write_lock+0x120/0x204 _raw_write_lock_irq do_exit call_usermodehelper_exec_async ret_from_fork read to 0xffff800009cf504c of 4 bytes by task 1103 on cpu 0: do_raw_write_lock+0x88/0x204 _raw_write_lock_irq do_exit call_usermodehelper_exec_async ret_from_fork value changed: 0xffffffff -> 0x00000001 Reported by Kernel Concurrency Sanitizer on: CPU: 0 PID: 1103 Comm: kworker/u4:1 6.1.111 Commit 1a365e822372 ("locking/spinlock/debug: Fix various data races") has adressed most of these races, but seems to be not consistent/not complete. >From do_raw_write_lock() only debug_write_lock_after() part has been converted to WRITE_ONCE(), but not debug_write_lock_before() part. Do it now. Added Reference https://git.kernel.org/stable/c/16b3590c0e1e615757dade098c8fbc0d4f040c76 Added Reference https://git.kernel.org/stable/c/396a9270a7b90886be501611b13aa636f2e8c703 Added Reference https://git.kernel.org/stable/c/b163a5e8c703201c905d6ec7920ed79d167e8442 Added Reference https://git.kernel.org/stable/c/c14ecb555c3ee80eeb030a4e46d00e679537f03a