{"id":"CVE-2026-90389","published":"2026-09-17T16:09:23Z","modified":"2026-10-19T09:02:53Z","title":"md: scope memalloc_noio to allocation critical sections","vendor":"Linux","product":"Linux","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":null,"epss":{"score":0.00209,"percentile":0.06309,"provenance":"source"},"cwes":[],"references":[{"url":"https://git.kernel.org/stable/c/72ebfdf507ede7d7f2b7ca0a5634811a0e4bf045","tags":[]},{"url":"https://git.kernel.org/stable/c/28fdea874f68cac6c36651b1fc7272fd2199c48d","tags":[]},{"url":"https://git.kernel.org/stable/c/a58923756b0f8e71032070c23ae0b167e46731da","tags":[]},{"url":"https://git.kernel.org/stable/c/bace2010dd7ac07bc980575afb135c406730a7fe","tags":[]}],"priority":{"score":1.3,"factors":[{"name":"EPSS percentile","points":1.26}]},"vendorSlug":"linux","affectedVersions":[{"vendor":"Linux","product":"Linux","versions":[">= 78f57ef9d50a75326da73d352d7c27828495229a, < 72ebfdf507ede7d7f2b7ca0a5634811a0e4bf045",">= 78f57ef9d50a75326da73d352d7c27828495229a, < 28fdea874f68cac6c36651b1fc7272fd2199c48d",">= 78f57ef9d50a75326da73d352d7c27828495229a, < a58923756b0f8e71032070c23ae0b167e46731da",">= 78f57ef9d50a75326da73d352d7c27828495229a, < bace2010dd7ac07bc980575afb135c406730a7fe"]},{"vendor":"Linux","product":"Linux","versions":["5.8"]}],"euvd":{"id":"EUVD-2026-82050","exploited":false,"provenance":"source"}}