CVE-2026-90389

Source
https://cve.org/CVERecord?id=CVE-2026-90389
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-90389.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2026-90389
Downstream
Published
2026-09-17T16:09:23Z
Modified
2026-09-19T03:47:26Z
Summary
md: scope memalloc_noio to allocation critical sections
Details

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.

Database specific
{
    "cna_assigner": "Linux",
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/90xxx/CVE-2026-90389.json"
}
References

Affected packages

Git / git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git

Affected ranges

Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
78f57ef9d50a75326da73d352d7c27828495229a
Fixed
72ebfdf507ede7d7f2b7ca0a5634811a0e4bf045
Fixed
28fdea874f68cac6c36651b1fc7272fd2199c48d
Fixed
a58923756b0f8e71032070c23ae0b167e46731da
Fixed
bace2010dd7ac07bc980575afb135c406730a7fe

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-90389.json"

Linux / Kernel

Package

Name
Kernel

Affected ranges

Type
ECOSYSTEM
Events
Introduced
5.8.0
Fixed
6.12.110
Type
ECOSYSTEM
Events
Introduced
6.13.0
Fixed
6.18.52
Type
ECOSYSTEM
Events
Introduced
6.19.0
Fixed
7.2.6

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-90389.json"