CVE-2025-68374
NoneCVSS
—
EPSS
0.2%
Published
Dec 24, 2025
CISA due date
—
Cloudanix analysis
A Linux kernel bug in storage thread handling can let an attacker who already has access to the machine crash the system or potentially gain more control.
- Exploitation
- Local Privilege
- Attacker needs
- Local User
- Complexity
- Moderate
- Impact
- Privilege Gain
- Component
- OS kernel
- Class
- Use After Free
- Remediation
- Upgrade
- Effort
- Medium
- Patch risk
- Low
What it actually does
Improper RCU usage in md_wakeup_thread allows the thread pointer to be dereferenced outside an RCU read-side critical section, resulting in a use-after-free condition on the md thread structure.
Why it matters to the business
Linux systems performing software RAID or md storage operations face elevated risk of kernel crashes or memory corruption that can lead to downtime or potential local privilege escalation, particularly on servers with high storage subsystem activity.
How an attack unfolds
An attacker with local access manipulates md devices to trigger wakeup paths; because the pointer is passed without holding the RCU lock, concurrent freeing of the thread structure allows the attacker to reuse the dangling pointer for arbitrary kernel memory access or denial of service.
How to fix it
Apply the upstream fix in commit 21989cb5034c835b212385a2afadf279d8069da0; rebuild and deploy kernels containing this change. Reboot systems after installation.
How to confirm the fix worked
Verify the presence of commit 21989cb5034c835b212385a2afadf279d8069da0 in the running kernel source or confirm the kernel version incorporates the md RCU fix; test md device creation and wakeup under load to ensure stability.
Typical attack path
- Gain local user access on an affected Linux system
- Create or modify md/RAID devices to exercise wakeup paths
- Race the thread pointer dereference against its RCU-protected lifetime
- Leverage the resulting use-after-free for code execution or crash
How to detect it
Monitor kernel logs and crash dumps for references to md_wakeup_thread, RCU stalls, or use-after-free warnings in the md subsystem; correlate with processes performing RAID configuration changes.
What your security team should do
- Patch kernels to the fixed commit on all md-using systems within standard change windows
- Prioritize servers handling production storage workloads
- Review md device usage and consider hardware RAID alternatives where feasible
The record
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.
Affected packages
| Ecosystem | Package | Introduced | Fixed |
|---|---|---|---|
| Linux | Kernel | 6.5.0 | 6.12.63 |
| openSUSE:Leap 16.0 | dtb-aarch64 | 0 | 6.12.0-160000.26.1 |
| openSUSE:Leap 16.0 | kernel-64kb | 0 | 6.12.0-160000.26.1 |
| openSUSE:Leap 16.0 | kernel-azure | 0 | 6.12.0-160000.26.1 |
| openSUSE:Leap 16.0 | kernel-default | 0 | 6.12.0-160000.26.1 |
| openSUSE:Leap 16.0 | kernel-default-base | 0 | 6.12.0-160000.26.1.160000.2.7 |
| openSUSE:Leap 16.0 | kernel-docs | 0 | 6.12.0-160000.26.1 |
| openSUSE:Leap 16.0 | kernel-kvmsmall | 0 | 6.12.0-160000.26.1 |
| openSUSE:Leap 16.0 | kernel-obs-build | 0 | 6.12.0-160000.26.1 |
| openSUSE:Leap 16.0 | kernel-obs-qa | 0 | 6.12.0-160000.26.1 |
| openSUSE:Leap 16.0 | kernel-rt | 0 | 6.12.0-160000.26.1 |
| openSUSE:Leap 16.0 | kernel-source | 0 | 6.12.0-160000.26.1 |
| openSUSE:Leap 16.0 | kernel-syms | 0 | 6.12.0-160000.26.1 |
| openSUSE:Leap 16.0 | kernel-zfcpdump | 0 | 6.12.0-160000.26.1 |
| openSUSE:Tumbleweed | kernel-source | 0 | 6.18.5-1.1 |
| openSUSE:Tumbleweed | kernel-source-longterm | 0 | 6.18.16-1.1 |
Related vulnerabilities
- CVE-2026-23226 In the Linux kernel, the following vulnerability has been resolved: ksmbd: add chann_lock… Also affects Kernel
- CVE-2026-23225 In the Linux kernel, the following vulnerability has been resolved: sched/mmcid: Don't… Also affects Kernel
- CVE-2026-23230 In the Linux kernel, the following vulnerability has been resolved: smb: client: split… Also affects Kernel
- CVE-2026-23224 In the Linux kernel, the following vulnerability has been resolved: erofs: fix UAF issue… Also affects Kernel
- CVE-2026-23227 In the Linux kernel, the following vulnerability has been resolved: drm/exynos: vidi: use… Also affects Kernel
- CVE-2026-23223 In the Linux kernel, the following vulnerability has been resolved: xfs: fix UAF in… Also affects Kernel
- CVE-2026-23228 In the Linux kernel, the following vulnerability has been resolved: smb: server: fix leak… Also affects Kernel
- CVE-2026-23229 In the Linux kernel, the following vulnerability has been resolved: crypto: virtio - Add… Also affects Kernel