# CVE-2023-53329: workqueue: fix data race with the pwq-\>stats\[\] increment

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

- **Severity:** MEDIUM 4.7
- **CVSS:** 4.7 (v3.1, CNA) `CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:H`
- **CVSS metrics:** Attack vector: Local; Attack complexity: High; Privileges required: Low; 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:** Not remotely exploitable (local or adjacent access needed)
- **EPSS:** 0.13% (percentile 1, 2026-11-26)
- **CWE:** CWE-362
- **Published:** 2025-09-16T16:12:05.196Z
- **Modified:** 2026-06-17T06:44:54.433Z

## Who should check

- Anyone running Linux \>= 725e8ec59c56c65fb92e343c10a8842cd0d4f194, \< ce55024f28589b0012fa2c6b5748ec5a180b7fbe; \>= 725e8ec59c56c65fb92e343c10a8842cd0d4f194, \< fe48ba7daefe75bbbefa2426deddc05f2d530d2d
- Anyone running Linux 6.5

## Description

In the Linux kernel, the following vulnerability has been resolved:

workqueue: fix data race with the pwq-\>stats\[\] increment

KCSAN has discovered a data race in kernel/workqueue.c:2598:

\[ 1863.554079\] ==================================================================
\[ 1863.554118\] BUG: KCSAN: data-race in process\_one\_work / process\_one\_work

\[ 1863.554142\] write to 0xffff963d99d79998 of 8 bytes by task 5394 on cpu 27:
\[ 1863.554154\] process\_one\_work (kernel/workqueue.c:2598)
\[ 1863.554166\] worker\_thread (./include/linux/list.h:292 kernel/workqueue.c:2752)
\[ 1863.554177\] kthread (kernel/kthread.c:389)
\[ 1863.554186\] ret\_from\_fork (arch/x86/kernel/process.c:145)
\[ 1863.554197\] ret\_from\_fork\_asm (arch/x86/entry/entry\_64.S:312)

\[ 1863.554213\] read to 0xffff963d99d79998 of 8 bytes by task 5450 on cpu 12:
\[ 1863.554224\] process\_one\_work (kernel/workqueue.c:2598)
\[ 1863.554235\] worker\_thread (./include/linux/list.h:292 kernel/workqueue.c:2752)
\[ 1863.554247\] kthread (kernel/kthread.c:389)
\[ 1863.554255\] ret\_from\_fork (arch/x86/kernel/process.c:145)
\[ 1863.554266\] ret\_from\_fork\_asm (arch/x86/entry/entry\_64.S:312)

\[ 1863.554280\] value changed: 0x0000000000001766 -\> 0x000000000000176a

\[ 1863.554295\] Reported by Kernel Concurrency Sanitizer on:
\[ 1863.554303\] CPU: 12 PID: 5450 Comm: kworker/u64:1 Tainted: G             L     6.5.0-rc6+ \#44
\[ 1863.554314\] Hardware name: ASRock X670E PG Lightning/X670E PG Lightning, BIOS 1.21 04/26/2023
\[ 1863.554322\] Workqueue: btrfs-endio btrfs\_end\_bio\_work \[btrfs\]
\[ 1863.554941\] ==================================================================

    lockdep\_invariant\_state(true);
→   pwq-\>stats\[PWQ\_STAT\_STARTED\]++;
    trace\_workqueue\_execute\_start(work);
    worker-\>current\_func(work);

Moving pwq-\>stats\[PWQ\_STAT\_STARTED\]++; before the line

    raw\_spin\_unlock\_irq(&pool-\>lock);

resolves the data race without performance penalty.

KCSAN detected at least one additional data race:

\[  157.834751\] ==================================================================
\[  157.834770\] BUG: KCSAN: data-race in process\_one\_work / process\_one\_work

\[  157.834793\] write to 0xffff9934453f77a0 of 8 bytes by task 468 on cpu 29:
\[  157.834804\] process\_one\_work (/home/marvin/linux/kernel/linux\_torvalds/kernel/workqueue.c:2606)
\[  157.834815\] worker\_thread (/home/marvin/linux/kernel/linux\_torvalds/./include/linux/list.h:292 /home/marvin/linux/kernel/linux\_torvalds/kernel/workqueue.c:2752)
\[  157.834826\] kthread (/home/marvin/linux/kernel/linux\_torvalds/kernel/kthread.c:389)
\[  157.834834\] ret\_from\_fork (/home/marvin/linux/kernel/linux\_torvalds/arch/x86/kernel/process.c:145)
\[  157.834845\] ret\_from\_fork\_asm (/home/marvin/linux/kernel/linux\_torvalds/arch/x86/entry/entry\_64.S:312)

\[  157.834859\] read to 0xffff9934453f77a0 of 8 bytes by task 214 on cpu 7:
\[  157.834868\] process\_one\_work (/home/marvin/linux/kernel/linux\_torvalds/kernel/workqueue.c:2606)
\[  157.834879\] worker\_thread (/home/marvin/linux/kernel/linux\_torvalds/./include/linux/list.h:292 /home/marvin/linux/kernel/linux\_torvalds/kernel/workqueue.c:2752)
\[  157.834890\] kthread (/home/marvin/linux/kernel/linux\_torvalds/kernel/kthread.c:389)
\[  157.834897\] ret\_from\_fork (/home/marvin/linux/kernel/linux\_torvalds/arch/x86/kernel/process.c:145)
\[  157.834907\] ret\_from\_fork\_asm (/home/marvin/linux/kernel/linux\_torvalds/arch/x86/entry/entry\_64.S:312)

\[  157.834920\] value changed: 0x000000000000052a -\> 0x0000000000000532

\[  157.834933\] Reported by Kernel Concurrency Sanitizer on:
\[  157.834941\] CPU: 7 PID: 214 Comm: kworker/u64:2 Tainted: G             L     6.5.0-rc7-kcsan-00169-g81eaf55a60fc \#4
\[  157.834951\] Hardware name: ASRock X670E PG Lightning/X670E PG Lightning, BIOS 1.21 04/26/2023
\[  157.834958\] Workqueue: btrfs-endio btrfs\_end\_bio\_work \[btrfs\]
\[  157.835567\] ==================================================================

in code:

        trace\_workqueue\_execute\_end(work, worker-\>current\_func);
→       pwq-\>stats\[PWQ\_STAT\_COM
---truncated---

## Affected and fixed versions

- Linux: \>= 725e8ec59c56c65fb92e343c10a8842cd0d4f194, \< ce55024f28589b0012fa2c6b5748ec5a180b7fbe; \>= 725e8ec59c56c65fb92e343c10a8842cd0d4f194, \< fe48ba7daefe75bbbefa2426deddc05f2d530d2d (cvelist)
- Linux: 6.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-2023-53329. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2023-53329.md
Affected: Linux >= 725e8ec59c56c65fb92e343c10a8842cd0d4f194, < ce55024f28589b0012fa2c6b5748ec5a180b7fbe; >= 725e8ec59c56c65fb92e343c10a8842cd0d4f194, < fe48ba7daefe75bbbefa2426deddc05f2d530d2d; Linux 6.5
Fixed in: no fixed version listed yet

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-2023-53329 being exploited?

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

### How serious is CVE-2023-53329?

Medium: CVSS 4.7 (v3.1, scored by CNA). Not remotely exploitable (local or adjacent access needed). The attack needs conditions outside the attacker's control, which makes it harder.

### Which versions are affected by CVE-2023-53329?

Linux \>= 725e8ec59c56c65fb92e343c10a8842cd0d4f194, \< ce55024f28589b0012fa2c6b5748ec5a180b7fbe; \>= 725e8ec59c56c65fb92e343c10a8842cd0d4f194, \< fe48ba7daefe75bbbefa2426deddc05f2d530d2d; Linux 6.5.

### Is there a fix for CVE-2023-53329?

No fixed version is listed in the sources yet. No fix listed yet: follow the vendor advisory.

### How do I check if I'm affected by CVE-2023-53329?

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

- patch: <https://git.kernel.org/stable/c/ce55024f28589b0012fa2c6b5748ec5a180b7fbe>
- patch: <https://git.kernel.org/stable/c/fe48ba7daefe75bbbefa2426deddc05f2d530d2d>

## 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-2023-53329>

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