# CVE-2025-21983: mm/slab/kvfree\_rcu: Switch to WQ\_MEM\_RECLAIM wq

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

- **Severity:** HIGH 7.8
- **CVSS:** 7.8 (v3.1, NVD) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- **CVSS metrics:** Attack vector: Local; Attack complexity: Low; Privileges required: Low; User interaction: None; Scope: Unchanged; Confidentiality impact: High; Integrity impact: High; 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.30% (percentile 16, 2026-11-26)
- **Published:** 2025-04-01T15:47:10.949Z
- **Modified:** 2026-06-17T08:44:46.220Z

## Who should check

- Anyone running Linux \>= 6c6c47b063b593785202be158e61fe5c827d6677, \< a74979dce9e9c61f6d797c3761020252c4d8dc63; \>= 6c6c47b063b593785202be158e61fe5c827d6677, \< 656e35bf66a11e1adde44c4c12050086dc39f241; \>= 6c6c47b063b593785202be158e61fe5c827d6677, \< dfd3df31c9db752234d7d2e09bef2aeabb643ce4
- Anyone running Linux 6.12

## Description

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

mm/slab/kvfree\_rcu: Switch to WQ\_MEM\_RECLAIM wq

Currently kvfree\_rcu() APIs use a system workqueue which is
"system\_unbound\_wq" to driver RCU machinery to reclaim a memory.

Recently, it has been noted that the following kernel warning can
be observed:

\<snip\>
workqueue: WQ\_MEM\_RECLAIM nvme-wq:nvme\_scan\_work is flushing !WQ\_MEM\_RECLAIM events\_unbound:kfree\_rcu\_work
  WARNING: CPU: 21 PID: 330 at kernel/workqueue.c:3719 check\_flush\_dependency+0x112/0x120
  Modules linked in: intel\_uncore\_frequency(E) intel\_uncore\_frequency\_common(E) skx\_edac(E) ...
  CPU: 21 UID: 0 PID: 330 Comm: kworker/u144:6 Tainted: G            E      6.13.2-0\_g925d379822da \#1
  Hardware name: Wiwynn Twin Lakes MP/Twin Lakes Passive MP, BIOS YMM20 02/01/2023
  Workqueue: nvme-wq nvme\_scan\_work
  RIP: 0010:check\_flush\_dependency+0x112/0x120
  Code: 05 9a 40 14 02 01 48 81 c6 c0 00 00 00 48 8b 50 18 48 81 c7 c0 00 00 00 48 89 f9 48 ...
  RSP: 0018:ffffc90000df7bd8 EFLAGS: 00010082
  RAX: 000000000000006a RBX: ffffffff81622390 RCX: 0000000000000027
  RDX: 00000000fffeffff RSI: 000000000057ffa8 RDI: ffff88907f960c88
  RBP: 0000000000000000 R08: ffffffff83068e50 R09: 000000000002fffd
  R10: 0000000000000004 R11: 0000000000000000 R12: ffff8881001a4400
  R13: 0000000000000000 R14: ffff88907f420fb8 R15: 0000000000000000
  FS:  0000000000000000(0000) GS:ffff88907f940000(0000) knlGS:0000000000000000
  CR2: 00007f60c3001000 CR3: 000000107d010005 CR4: 00000000007726f0
  PKRU: 55555554
  Call Trace:
   \<TASK\>
   ? \_\_warn+0xa4/0x140
   ? check\_flush\_dependency+0x112/0x120
   ? report\_bug+0xe1/0x140
   ? check\_flush\_dependency+0x112/0x120
   ? handle\_bug+0x5e/0x90
   ? exc\_invalid\_op+0x16/0x40
   ? asm\_exc\_invalid\_op+0x16/0x20
   ? timer\_recalc\_next\_expiry+0x190/0x190
   ? check\_flush\_dependency+0x112/0x120
   ? check\_flush\_dependency+0x112/0x120
   \_\_flush\_work.llvm.1643880146586177030+0x174/0x2c0
   flush\_rcu\_work+0x28/0x30
   kvfree\_rcu\_barrier+0x12f/0x160
   kmem\_cache\_destroy+0x18/0x120
   bioset\_exit+0x10c/0x150
   disk\_release.llvm.6740012984264378178+0x61/0xd0
   device\_release+0x4f/0x90
   kobject\_put+0x95/0x180
   nvme\_put\_ns+0x23/0xc0
   nvme\_remove\_invalid\_namespaces+0xb3/0xd0
   nvme\_scan\_work+0x342/0x490
   process\_scheduled\_works+0x1a2/0x370
   worker\_thread+0x2ff/0x390
   ? pwq\_release\_workfn+0x1e0/0x1e0
   kthread+0xb1/0xe0
   ? \_\_kthread\_parkme+0x70/0x70
   ret\_from\_fork+0x30/0x40
   ? \_\_kthread\_parkme+0x70/0x70
   ret\_from\_fork\_asm+0x11/0x20
   \</TASK\>
  ---\[ end trace 0000000000000000 \]---
\<snip\>

To address this switch to use of independent WQ\_MEM\_RECLAIM
workqueue, so the rules are not violated from workqueue framework
point of view.

Apart of that, since kvfree\_rcu() does reclaim memory it is worth
to go with WQ\_MEM\_RECLAIM type of wq because it is designed for
this purpose.

## Affected and fixed versions

- Linux: \>= 6c6c47b063b593785202be158e61fe5c827d6677, \< a74979dce9e9c61f6d797c3761020252c4d8dc63; \>= 6c6c47b063b593785202be158e61fe5c827d6677, \< 656e35bf66a11e1adde44c4c12050086dc39f241; \>= 6c6c47b063b593785202be158e61fe5c827d6677, \< dfd3df31c9db752234d7d2e09bef2aeabb643ce4 (cvelist)
- Linux: 6.12 (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-21983. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2025-21983.md
Affected: Linux >= 6c6c47b063b593785202be158e61fe5c827d6677, < a74979dce9e9c61f6d797c3761020252c4d8dc63; >= 6c6c47b063b593785202be158e61fe5c827d6677, < 656e35bf66a11e1adde44c4c12050086dc39f241; >= 6c6c47b063b593785202be158e61fe5c827d6677, < dfd3df31c9db752234d7d2e09bef2aeabb643ce4; Linux 6.12
Fixed in: Linux 656e35bf66a11e1adde44c4c12050086dc39f241

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-21983 being exploited?

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

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

High: CVSS 7.8 (v3.1, scored by NVD). Not remotely exploitable (local or adjacent access needed).

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

Linux \>= 6c6c47b063b593785202be158e61fe5c827d6677, \< a74979dce9e9c61f6d797c3761020252c4d8dc63; \>= 6c6c47b063b593785202be158e61fe5c827d6677, \< 656e35bf66a11e1adde44c4c12050086dc39f241; \>= 6c6c47b063b593785202be158e61fe5c827d6677, \< dfd3df31c9db752234d7d2e09bef2aeabb643ce4; Linux 6.12.

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

Yes. Fixed in Linux 656e35bf66a11e1adde44c4c12050086dc39f241. No fix listed yet: follow the vendor advisory.

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

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/a74979dce9e9c61f6d797c3761020252c4d8dc63>
- patch: <https://git.kernel.org/stable/c/656e35bf66a11e1adde44c4c12050086dc39f241>
- patch: <https://git.kernel.org/stable/c/dfd3df31c9db752234d7d2e09bef2aeabb643ce4>

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

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