# CVE-2025-68336: locking/spinlock/debug: Fix data-race in do\_raw\_write\_lock

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** HIGH 7.5
- **CVSS:** 7.5 (v3.1, CNA) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`
- **CVSS metrics:** Attack vector: Network; Attack complexity: Low; Privileges required: None; User interaction: None; Scope: Unchanged; Confidentiality impact: None; Integrity impact: None; Availability impact: High
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Remote, no login needed
- **EPSS:** 0.95% (percentile 60, 2026-11-28)
- **Published:** 2025-12-22T16:14:13.425Z
- **Modified:** 2026-10-19T21:10:00.160Z

## Who should check

- Anyone running Linux \>= 1a365e822372ba24c9da0822bc583894f6f3d821, \< 8e5b2cf10844402054b52b489b525dc30cc16908; \>= 1a365e822372ba24c9da0822bc583894f6f3d821, \< c228cb699a07a5f2d596d186bc5c314c99bb8bbf; \>= 1a365e822372ba24c9da0822bc583894f6f3d821, \< 93bd23524d63deb80fb85beb2e43fafeb1043d0f; \>= 1a365e822372ba24c9da0822bc583894f6f3d821, \< 39d2ef113416f1a4205b03fb0aa2e428d1412c77; \>= 1a365e822372ba24c9da0822bc583894f6f3d821, \< b163a5e8c703201c905d6ec7920ed79d167e8442; \>= 1a365e822372ba24c9da0822bc583894f6f3d821, \< 16b3590c0e1e615757dade098c8fbc0d4f040c76; \>= 1a365e822372ba24c9da0822bc583894f6f3d821, \< 396a9270a7b90886be501611b13aa636f2e8c703; \>= 1a365e822372ba24c9da0822bc583894f6f3d821, \< c14ecb555c3ee80eeb030a4e46d00e679537f03a; 3106fb78d3579c8e9c9b3040f7f7841981919624; c0911024ff927ba5c4786b507004cb615be1d776; …
- Anyone running Linux 5.5

## 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.

## Affected and fixed versions

- Linux: \>= 1a365e822372ba24c9da0822bc583894f6f3d821, \< 8e5b2cf10844402054b52b489b525dc30cc16908; \>= 1a365e822372ba24c9da0822bc583894f6f3d821, \< c228cb699a07a5f2d596d186bc5c314c99bb8bbf; \>= 1a365e822372ba24c9da0822bc583894f6f3d821, \< 93bd23524d63deb80fb85beb2e43fafeb1043d0f; \>= 1a365e822372ba24c9da0822bc583894f6f3d821, \< 39d2ef113416f1a4205b03fb0aa2e428d1412c77; \>= 1a365e822372ba24c9da0822bc583894f6f3d821, \< b163a5e8c703201c905d6ec7920ed79d167e8442; \>= 1a365e822372ba24c9da0822bc583894f6f3d821, \< 16b3590c0e1e615757dade098c8fbc0d4f040c76; \>= 1a365e822372ba24c9da0822bc583894f6f3d821, \< 396a9270a7b90886be501611b13aa636f2e8c703; \>= 1a365e822372ba24c9da0822bc583894f6f3d821, \< c14ecb555c3ee80eeb030a4e46d00e679537f03a; 3106fb78d3579c8e9c9b3040f7f7841981919624; c0911024ff927ba5c4786b507004cb615be1d776; … (cvelist)
- Linux: 5.5 (cvelist)

## Mitigation

- No fix listed yet: follow the vendor advisory.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2025-68336. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2025-68336.md
Affected: Linux >= 1a365e822372ba24c9da0822bc583894f6f3d821, < 8e5b2cf10844402054b52b489b525dc30cc16908; >= 1a365e822372ba24c9da0822bc583894f6f3d821, < c228cb699a07a5f2d596d186bc5c314c99bb8bbf; >= 1a365e822372ba24c9da0822bc583894f6f3d821, < 93bd23524d63deb80fb85beb2e43fafeb1043d0f; >= 1a365e822372ba24c9da082…
Fixed in: Linux 8e5b2cf10844402054b52b489b525dc30cc16908, Linux 93bd23524d63deb80fb85beb2e43fafeb1043d0f, Linux 39d2ef113416f1a4205b03fb0aa2e428d1412c77, Linux 16b3590c0e1e615757dade098c8fbc0d4f040c76, Linux 396a9270a7b90886be501611b13aa636f2e8c703

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2025-68336 being exploited?

There is no confirmed exploitation: CVE-2025-68336 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.95% chance of exploitation in the next 30 days (as of 2026-11-28).

### How serious is CVE-2025-68336?

High: CVSS 7.5 (v3.1, scored by CNA). Remote, no login needed.

### Which versions are affected by CVE-2025-68336?

Linux \>= 1a365e822372ba24c9da0822bc583894f6f3d821, \< 8e5b2cf10844402054b52b489b525dc30cc16908; \>= 1a365e822372ba24c9da0822bc583894f6f3d821, \< c228cb699a07a5f2d596d186bc5c314c99bb8bbf; \>= 1a365e822372ba24c9da0822bc583894f6f3d821, \< 93bd23524d63deb80fb85beb2e43fafeb1043d0f; \>= 1a365e822372ba24c9da0822bc583894f6f3d821, \< 39d2ef113416f1a4205b03fb0aa2e428d1412c77; \>= 1a365e822372ba24c9da0822bc583894f6f3d821, \< b163a5e8c703201c905d6ec7920ed79d167e8442; \>= 1a365e822372ba24c9da0822bc583894f6f3d821, \< 16b3590c0e1e615757dade098c8fbc0d4f040c76; \>= 1a365e822372ba24c9da0822bc583894f6f3d821, \< 396a9270a7b90886be501611b13aa636f2e8c703; \>= 1a365e822372ba24c9da0822bc583894f6f3d821, \< c14ecb555c3ee80eeb030a4e46d00e679537f03a; 3106fb78d3579c8e9c9b3040f7f7841981919624; c0911024ff927ba5c4786b507004cb615be1d776; …; Linux 5.5.

### Is there a fix for CVE-2025-68336?

Yes. Fixed in Linux 8e5b2cf10844402054b52b489b525dc30cc16908, Linux 93bd23524d63deb80fb85beb2e43fafeb1043d0f, Linux 39d2ef113416f1a4205b03fb0aa2e428d1412c77, Linux 16b3590c0e1e615757dade098c8fbc0d4f040c76, Linux 396a9270a7b90886be501611b13aa636f2e8c703. No fix listed yet: follow the vendor advisory.

### How do I check if I'm affected by CVE-2025-68336?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- other: <https://git.kernel.org/stable/c/8e5b2cf10844402054b52b489b525dc30cc16908>
- other: <https://git.kernel.org/stable/c/c228cb699a07a5f2d596d186bc5c314c99bb8bbf>
- other: <https://git.kernel.org/stable/c/93bd23524d63deb80fb85beb2e43fafeb1043d0f>
- other: <https://git.kernel.org/stable/c/39d2ef113416f1a4205b03fb0aa2e428d1412c77>
- other: <https://git.kernel.org/stable/c/b163a5e8c703201c905d6ec7920ed79d167e8442>
- other: <https://git.kernel.org/stable/c/16b3590c0e1e615757dade098c8fbc0d4f040c76>
- other: <https://git.kernel.org/stable/c/396a9270a7b90886be501611b13aa636f2e8c703>
- other: <https://git.kernel.org/stable/c/c14ecb555c3ee80eeb030a4e46d00e679537f03a>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2025-68336>

HTML: <https://flawdb.com/CVE-2025-68336> · JSON: <https://flawdb.com/api/v1/entries/CVE-2025-68336>
