# CVE-2026-46050: md/raid10: fix deadlock with check operation and nowait requests

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

- **Severity:** MEDIUM 5.5
- **CVSS:** 5.5 (v3.1, NVD) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- **CVSS metrics:** Attack vector: Local; Attack complexity: Low; 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-667
- **Published:** 2026-05-27T12:57:06.732Z
- **Modified:** 2026-11-06T17:17:33.293Z

## Who should check

- Anyone running Linux \>= 10c6021a609deb95f23f0cc2f89aa9d4bffb14c7, \< 2249983d971e6839b36284e6610390b2c217dfa1; \>= 9af149ca9d0dab6e59e813519d309eff62499864, \< ae356d5eb1331d678985799f893e436314834a87; \>= 8fc3d7b23d139e3cbc944c15d99b3cdbed797d2d, \< 965d6162dd88cc7cc193cf7f5bfc132d8bbf0523; \>= 2941155d9a5ae098b480d551f3a5f8605d4f9af5, \< 42fe37c90184cd1568838b84b488934c3671c963; \>= 43806c3d5b9bb7d74ba4e33a6a8a41ac988bde24, \< cac2106bb9a2180b288079b49ed626414fb5bc45; \>= 43806c3d5b9bb7d74ba4e33a6a8a41ac988bde24, \< 1cdff2937c618f81058422bbdc4974a3e7ec9379; \>= 43806c3d5b9bb7d74ba4e33a6a8a41ac988bde24, \< 7d96f3120a7fb7210d21b520c5b6f495da6ba436; ed7bcd9f617e4107ac0813c516e72e6b8f6029bd; \>= 5.15.189, \< 5.15.209; \>= 6.1.146, \< 6.1.175; …
- Anyone running Linux 6.16

## Description

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

## Affected and fixed versions

- Linux: \>= 10c6021a609deb95f23f0cc2f89aa9d4bffb14c7, \< 2249983d971e6839b36284e6610390b2c217dfa1; \>= 9af149ca9d0dab6e59e813519d309eff62499864, \< ae356d5eb1331d678985799f893e436314834a87; \>= 8fc3d7b23d139e3cbc944c15d99b3cdbed797d2d, \< 965d6162dd88cc7cc193cf7f5bfc132d8bbf0523; \>= 2941155d9a5ae098b480d551f3a5f8605d4f9af5, \< 42fe37c90184cd1568838b84b488934c3671c963; \>= 43806c3d5b9bb7d74ba4e33a6a8a41ac988bde24, \< cac2106bb9a2180b288079b49ed626414fb5bc45; \>= 43806c3d5b9bb7d74ba4e33a6a8a41ac988bde24, \< 1cdff2937c618f81058422bbdc4974a3e7ec9379; \>= 43806c3d5b9bb7d74ba4e33a6a8a41ac988bde24, \< 7d96f3120a7fb7210d21b520c5b6f495da6ba436; ed7bcd9f617e4107ac0813c516e72e6b8f6029bd; \>= 5.15.189, \< 5.15.209; \>= 6.1.146, \< 6.1.175; … (cvelist)
- Linux: 6.16 (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-2026-46050. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-46050.md
Affected: Linux >= 10c6021a609deb95f23f0cc2f89aa9d4bffb14c7, < 2249983d971e6839b36284e6610390b2c217dfa1; >= 9af149ca9d0dab6e59e813519d309eff62499864, < ae356d5eb1331d678985799f893e436314834a87; >= 8fc3d7b23d139e3cbc944c15d99b3cdbed797d2d, < 965d6162dd88cc7cc193cf7f5bfc132d8bbf0523; >= 2941155d9a5ae098b480d55…
Fixed in: Linux 2249983d971e6839b36284e6610390b2c217dfa1, Linux 965d6162dd88cc7cc193cf7f5bfc132d8bbf0523, Linux 42fe37c90184cd1568838b84b488934c3671c963, Linux 1cdff2937c618f81058422bbdc4974a3e7ec9379, Linux 7d96f3120a7fb7210d21b520c5b6f495da6ba436, Linux 5.15.209, Linux 6.1.175

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-2026-46050 being exploited?

There is no confirmed exploitation: CVE-2026-46050 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-2026-46050?

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

### Which versions are affected by CVE-2026-46050?

Linux \>= 10c6021a609deb95f23f0cc2f89aa9d4bffb14c7, \< 2249983d971e6839b36284e6610390b2c217dfa1; \>= 9af149ca9d0dab6e59e813519d309eff62499864, \< ae356d5eb1331d678985799f893e436314834a87; \>= 8fc3d7b23d139e3cbc944c15d99b3cdbed797d2d, \< 965d6162dd88cc7cc193cf7f5bfc132d8bbf0523; \>= 2941155d9a5ae098b480d551f3a5f8605d4f9af5, \< 42fe37c90184cd1568838b84b488934c3671c963; \>= 43806c3d5b9bb7d74ba4e33a6a8a41ac988bde24, \< cac2106bb9a2180b288079b49ed626414fb5bc45; \>= 43806c3d5b9bb7d74ba4e33a6a8a41ac988bde24, \< 1cdff2937c618f81058422bbdc4974a3e7ec9379; \>= 43806c3d5b9bb7d74ba4e33a6a8a41ac988bde24, \< 7d96f3120a7fb7210d21b520c5b6f495da6ba436; ed7bcd9f617e4107ac0813c516e72e6b8f6029bd; \>= 5.15.189, \< 5.15.209; \>= 6.1.146, \< 6.1.175; …; Linux 6.16.

### Is there a fix for CVE-2026-46050?

Yes. Fixed in Linux 2249983d971e6839b36284e6610390b2c217dfa1, Linux 965d6162dd88cc7cc193cf7f5bfc132d8bbf0523, Linux 42fe37c90184cd1568838b84b488934c3671c963, Linux 1cdff2937c618f81058422bbdc4974a3e7ec9379, Linux 7d96f3120a7fb7210d21b520c5b6f495da6ba436, Linux 5.15.209, Linux 6.1.175. No fix listed yet: follow the vendor advisory.

### How do I check if I'm affected by CVE-2026-46050?

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/2249983d971e6839b36284e6610390b2c217dfa1>
- patch: <https://git.kernel.org/stable/c/ae356d5eb1331d678985799f893e436314834a87>
- patch: <https://git.kernel.org/stable/c/965d6162dd88cc7cc193cf7f5bfc132d8bbf0523>
- patch: <https://git.kernel.org/stable/c/42fe37c90184cd1568838b84b488934c3671c963>
- patch: <https://git.kernel.org/stable/c/cac2106bb9a2180b288079b49ed626414fb5bc45>
- patch: <https://git.kernel.org/stable/c/1cdff2937c618f81058422bbdc4974a3e7ec9379>
- patch: <https://git.kernel.org/stable/c/7d96f3120a7fb7210d21b520c5b6f495da6ba436>
- other: <https://cert-portal.siemens.com/productcert/html/ssa-784472.html>

## 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-2026-46050>

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