CVE-2026-90389
Full vulnerability record from the local CVENow database.
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.
View original CVE JSON
{
"id": "CVE-2026-90389",
"sourceIdentifier": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
"published": "2026-09-17T17:17:38.427",
"lastModified": "2026-10-19T09:19:32.977",
"vulnStatus": "Received",
"cveTags": [],
"descriptions": [
{
"lang": "en",
"value": "In the Linux kernel, the following vulnerability has been resolved:\n\nmd: scope memalloc_noio to allocation critical sections\n\nStoring a memalloc_noio_save() token in mddev->noio_flags lets one task\nsave the token and another task restore it. With concurrent suspend sysfs\nwrites, task A can enter PF_MEMALLOC_NOIO, return to userspace still in\nthat scope, and later task B can restore A's saved token.\n\nAvoid tying the token lifetime to mddev. Keep mddev_suspend() and\nmddev_resume() only responsible for array suspension, and enter\nPF_MEMALLOC_NOIO only in the MD paths that allocate memory after the array\nhas been suspended. Restore the token before resuming the array.\n\nA reproducer repeatedly writes suspend_lo and suspend_hi from concurrent\nworkers and checks each worker's /proc/self/stat flags before and after the\nsysfs write."
}
],
"affected": [
{
"source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
"affectedData": [
{
"vendor": "Linux",
"product": "Linux",
"defaultStatus": "unaffected",
"programFiles": [
"drivers/md/md-bitmap.c",
"drivers/md/md.c",
"drivers/md/md.h",
"drivers/md/raid5.c"
],
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"versions": [
{
"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",
"status": "affected"
}
]
},
{
"vendor": "Linux",
"product": "Linux",
"defaultStatus": "affected",
"programFiles": [
"drivers/md/md-bitmap.c",
"drivers/md/md.c",
"drivers/md/md.h",
"drivers/md/raid5.c"
],
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"versions": [
{
"version": "5.8",
"status": "affected"
},
{
"version": "0",
"lessThan": "5.8",
"versionType": "semver",
"status": "unaffected"
},
{
"version": "6.12.110",
"lessThanOrEqual": "6.12.*",
"versionType": "semver",
"status": "unaffected"
},
{
"version": "6.18.52",
"lessThanOrEqual": "6.18.*",
"versionType": "semver",
"status": "unaffected"
},
{
"version": "7.2.6",
"lessThanOrEqual": "7.2.*",
"versionType": "semver",
"status": "unaffected"
},
{
"version": "7.3",
"lessThanOrEqual": "*",
"versionType": "original_commit_for_fix",
"status": "unaffected"
}
]
}
]
}
],
"metrics": {},
"references": [
{
"url": "https://git.kernel.org/stable/c/28fdea874f68cac6c36651b1fc7272fd2199c48d",
"source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67"
},
{
"url": "https://git.kernel.org/stable/c/72ebfdf507ede7d7f2b7ca0a5634811a0e4bf045",
"source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67"
},
{
"url": "https://git.kernel.org/stable/c/a58923756b0f8e71032070c23ae0b167e46731da",
"source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67"
},
{
"url": "https://git.kernel.org/stable/c/bace2010dd7ac07bc980575afb135c406730a7fe",
"source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67"
}
]
}