# CVE-2026-90389: md: scope memalloc_noio to allocation critical sections

- Severity: not scored yet
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.20%, higher than 10% of CVEs (2026-12-01)
- Published: 2026-09-17T16:09:23.767Z
- Modified: 2026-10-19T09:19:32.977Z
- Assigned by: Linux

## Description

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

md: scope memalloc_noio to allocation critical sections

Storing a memalloc_noio_save() token in mddev->noio_flags lets one task
save the token and another task restore it. With concurrent suspend sysfs
writes, task A can enter PF_MEMALLOC_NOIO, return to userspace still in
that scope, and later task B can restore A's saved token.

Avoid tying the token lifetime to mddev. Keep mddev_suspend() and
mddev_resume() only responsible for array suspension, and enter
PF_MEMALLOC_NOIO only in the MD paths that allocate memory after the array
has been suspended. Restore the token before resuming the array.

A reproducer repeatedly writes suspend_lo and suspend_hi from concurrent
workers and checks each worker's /proc/self/stat flags before and after the
sysfs write.

(As written by CVE List.)

## Affected

- Linux Linux: from 78f57ef9d50a75326da73d352d7c27828495229a before 72ebfdf507ede7d7f2b7ca0a5634811a0e4bf045; from 78f57ef9d50a75326da73d352d7c27828495229a before 28fdea874f68cac6c36651b1fc7272fd2199c48d; from 78f57ef9d50a75326da73d352d7c27828495229a before a58923756b0f8e71032070c23ae0b167e46731da; from 78f57ef9d50a75326da73d352d7c27828495229a before bace2010dd7ac07bc980575afb135c406730a7fe; 5.8 (not affected: before 5.8; from 6.12.110 up to 6.12.*; from 6.18.52 up to 6.18.*; from 7.2.6 up to 7.2.*; from 7.3 up to *)

## References

- <https://git.kernel.org/stable/c/72ebfdf507ede7d7f2b7ca0a5634811a0e4bf045>
- <https://git.kernel.org/stable/c/28fdea874f68cac6c36651b1fc7272fd2199c48d>
- <https://git.kernel.org/stable/c/a58923756b0f8e71032070c23ae0b167e46731da>
- <https://git.kernel.org/stable/c/bace2010dd7ac07bc980575afb135c406730a7fe>

## Sources

- CVE List: [CVE-2026-90389](https://www.cve.org/CVERecord?id=CVE-2026-90389), CVE Terms of Use, modified 2026-10-19
- NVD: [CVE-2026-90389](https://nvd.nist.gov/vuln/detail/CVE-2026-90389), Public domain, modified 2026-10-19

---

Page: https://cve.day/CVE-2026-90389 · Whole record: https://cve.day/CVE-2026-90389.json · Rebuilt by cve.day 2026-11-25T22:59:39.402Z
