md: scope memalloc_noio to allocation critical sections
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.
CVE-2026-90389
Primary source · Revision 1
Imported from structured advisory data. Source references identify upstream records or fields; verify affected versions and your deployed configuration.
Security context
Source reference: cve:CVE-2026-90389
Linux
Source reference: /containers/cna/affected/0/product
- Affected versions
- Not stated in this record
- Fixed versions
- Not stated in this record
- Prerequisites
- Not stated in this record
Linux
Source reference: /containers/cna/affected/1/product
- Affected versions
- Not stated in this record
- Fixed versions
- Not stated in this record
- Prerequisites
- Not stated in this record
Structured affected-version data
Original package identities and version rules from this source.
[
{
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"vendor": "Linux",
"product": "Linux",
"versions": [
{
"status": "affected",
"version": "78f57ef9d50a75326da73d352d7c27828495229a",
"lessThan": "72ebfdf507ede7d7f2b7ca0a5634811a0e4bf045",
"versionType": "git"
},
{
"status": "affected",
"version": "78f57ef9d50a75326da73d352d7c27828495229a",
"lessThan": "28fdea874f68cac6c36651b1fc7272fd2199c48d",
"versionType": "git"
},
{
"status": "affected",
"version": "78f57ef9d50a75326da73d352d7c27828495229a",
"lessThan": "a58923756b0f8e71032070c23ae0b167e46731da",
"versionType": "git"
},
{
"status": "affected",
"version": "78f57ef9d50a75326da73d352d7c27828495229a",
"lessThan": "bace2010dd7ac07bc980575afb135c406730a7fe",
"versionType": "git"
}
],
"programFiles": [
"drivers/md/md-bitmap.c",
"drivers/md/md.c",
"drivers/md/md.h",
"drivers/md/raid5.c"
],
"defaultStatus": "unaffected"
},
{
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"vendor": "Linux",
"product": "Linux",
"versions": [
{
"status": "affected",
"version": "5.8"
},
{
"status": "unaffected",
"version": "0",
"lessThan": "5.8",
"versionType": "semver"
},
{
"status": "unaffected",
"version": "6.12.110",
"versionType": "semver",
"lessThanOrEqual": "6.12.*"
},
{
"status": "unaffected",
"version": "6.18.52",
"versionType": "semver",
"lessThanOrEqual": "6.18.*"
},
{
"status": "unaffected",
"version": "7.2.6",
"versionType": "semver",
"lessThanOrEqual": "7.2.*"
},
{
"status": "unaffected",
"version": "7.3",
"versionType": "original_commit_for_fix",
"lessThanOrEqual": "*"
}
],
"programFiles": [
"drivers/md/md-bitmap.c",
"drivers/md/md.c",
"drivers/md/md.h",
"drivers/md/raid5.c"
],
"defaultStatus": "affected"
}
]- Related CVEs
- CVE-2026-90389
Source reference:
/cveMetadata/cveId
Publisher severity
No explicit severity was provided.
- Event
- #36714 · Revision 1
- Added to Heist Feed
- Publisher date