CVE-2026-46050·Kernel vulnerability
In the Linux kernel, the following vulnerability has been resolved: md/raid10: fix deadlock with check operation and nowait requests When an array check is running it will raise the barrier at which point normal requests will become blocked and increment the nr_pending value to signal there is work pending inside of wait_barrier(). NOWAIT requests do not block and so will return immediately with an error, and additionally do not increment nr_pending in wait_barrier(). Upstream change commit 43806c3d5b9b ("raid10: cleanup memleak at raid10_make_request") added a call to raid_end_bio_io() to fix a memory leak when NOWAIT requests hit this condition. raid_end_bio_io() eventually calls allow_barrier() and it will unconditionally do an atomic_dec_and_test(&conf->nr_pending) even though the corresponding increment on nr_pending didn't happen in the NOWAIT case. This can be easily seen by starting a check operation while an application is doing nowait IO on the same array. This results in a deadlocked state due to nr_pending value underflowing and so the md resync thread gets stuck waiting for nr_pending to == 0. Output of r10conf state of the array when we hit this condition: crash> struct r10conf barrier = 1, nr_pending = { counter = -41 }, nr_waiting = 15, nr_queued = 0, Example of md_sync thread stuck waiting on raise_barrier() and other requests stuck in wait_barrier(): md1_resync [<0>] raise_barrier+0xce/0x1c0 [<0>] raid10_sync_request+0x1ca/0x1ed0 [<0>] md_do_sync+0x779/0x1110 [<0>] md_thread+0x90/0x160 [<0>] kthread+0xbe/0xf0 [<0>] ret_from_fork+0x34/0x50 [<0>] ret_from_fork_asm+0x1a/0x30 kworker/u1040:2+flush-253:4 [<0>] wait_barrier+0x1de/0x220 [<0>] regular_request_wait+0x30/0x180 [<0>] raid10_make_request+0x261/0x1000 [<0>] md_handle_request+0x13b/0x230 [<0>] __submit_bio+0x107/0x1f0 [<0>] submit_bio_noacct_nocheck+0x16f/0x390 [<0>] ext4_io_submit+0x24/0x40 [<0>] ext4_do_writepages+0x254/0xc80 [<0>] ext4_writepages+0x84/0x120 [<0>] do_writepages+0x7a/0x260 [<0>] __writeback_single_inode+0x3d/0x300 [<0>] writeback_sb_inodes+0x1dd/0x470 [<0>] __writeback_inodes_wb+0x4c/0xe0 [<0>] wb_writeback+0x18b/0x2d0 [<0>] wb_workfn+0x2a1/0x400 [<0>] process_one_work+0x149/0x330 [<0>] worker_thread+0x2d2/0x410 [<0>] kthread+0xbe/0xf0 [<0>] ret_from_fork+0x34/0x50 [<0>] ret_from_fork_asm+0x1a/0x30
- Severity
- medium
- Software
- Kernel
- Fixed in
- 7.0.4
- Published
How likely is exploitation
FIRST's Exploit Prediction Scoring System puts the probability of this CVE being exploited in the next 30 days at 0.13% — higher than 2% of all published CVEs. EPSS is an independent forecast of exploitation, not a severity rating: it says nothing about how much damage a successful attack does, which is what a CVSS score measures.
Affected versions
From: 6.19
Until: 7.0.4
Fixed in: 7.0.4
How to fix this CVE
Update your Linux kernel to version 7.0.4 or later to resolve a race condition affecting RAID10 arrays during concurrent check operations and nowait I/O requests. This patch corrects improper reference counting that can cause the md resync thread to deadlock. Systems running kernel versions 6.19 through 7.0.3 with active RAID10 configurations should prioritize this update.
sudo dnf update kernel kernel-develDefensia detects this vulnerability
How to check if you are affected
- Check installed kernel version: uname -r (compare against 7.0.4 or verify if between 6.19-7.0.3)
- Verify RAID10 array presence: cat /proc/mdstat | grep -i raid10 (vulnerable only if RAID10 arrays exist)
- Monitor for deadlock symptoms: cat /proc/sys/dev/raid/check_limit and watch for stuck resync operations or hung I/O processes
- Verify kernel module is updated: modinfo raid10 | grep version (should reflect patched kernel after reboot)
- Confirm fix applied: dmesg | grep -i 'raid10\|barrier' after upgrade to ensure no pending deadlock warnings
FAQ
What is CVE-2026-46050?
This vulnerability is a reference counting bug in the Linux kernel's RAID10 driver that occurs when concurrent I/O check operations and nowait (non-blocking) I/O requests access the same array. The mismatch in barrier accounting causes the nr_pending counter to underflow, deadlocking the resync thread and blocking legitimate I/O.
Is CVE-2026-46050 being actively exploited?
No, this CVE is not listed on the CISA Known Exploited Vulnerabilities (KEV) catalog and no public exploits are available. However, systems with active RAID10 arrays and high I/O concurrency may experience spontaneous deadlocks.
What versions of Kernel are affected by CVE-2026-46050?
Linux kernel versions 6.19 through 7.0.3 are vulnerable. The fix is included in kernel 7.0.4 and later stable releases.
How do I check if my server is vulnerable to CVE-2026-46050?
Run 'uname -r' to see your kernel version, then check 'cat /proc/mdstat | grep -i raid10' to confirm RAID10 arrays are active. If your kernel is between 6.19-7.0.3 and RAID10 arrays exist, your system is vulnerable.
What are the symptoms of exploitation?
Deadlocked md resync operations, hung kworker processes in wait_barrier(), negative nr_pending counter values in crash dumps, and complete I/O stalls on affected arrays despite normal disk connectivity.
Does Defensia detect CVE-2026-46050?
Yes — Defensia's CVE advisory scanner compares installed package versions against the NVD database. If Kernel is installed on a monitored server, CVE-2026-46050 will appear in your dashboard with remediation steps.
Related Kernel CVEs
References
- https://git.kernel.org/stable/c/1cdff2937c618f81058422bbdc4974a3e7ec9379
- https://git.kernel.org/stable/c/2249983d971e6839b36284e6610390b2c217dfa1
- https://git.kernel.org/stable/c/42fe37c90184cd1568838b84b488934c3671c963
- https://git.kernel.org/stable/c/7d96f3120a7fb7210d21b520c5b6f495da6ba436
- https://git.kernel.org/stable/c/965d6162dd88cc7cc193cf7f5bfc132d8bbf0523
Track CVEs across your fleet automatically
Defensia scans your Linux servers and tells you exactly which ones are running vulnerable versions — including CVE-2026-46050. Free for 1 server.
Get started free