All reports
Low

kernel: md: scope memalloc_noio to allocation critical sections

Affected versions

Affected versions
Unknown
Fixed version
Not reported
Affected versions
Unknown
Fixed version
Not reported
Affected versions
Unknown
Fixed version
Not reported
Affected versions
Unknown
Fixed version
Not reported
Affected versions
Unknown
Fixed version
Not reported
Affected versions
Unknown
Fixed version
Not reported
Affected versions
Unknown
Fixed version
Not reported
Affected versions
Unknown
Fixed version
Not reported
Affected versions
Unknown
Fixed version
Not reported

Exploitation

CVE-2026-90389

Probability of exploitation in the next 30 days: 0.20%

FIRST EPSS · 2026-11-23

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.

A flaw was found in the Linux kernel. A concurrency issue in the Multiple Device (MD) subsystem's handling of memalloc_noio_save() tokens can occur during concurrent suspend sysfs writes. This allows a task to return to userspace while still within a PF_MEMALLOC_NOIO scope, enabling another task to restore a previously saved token. This could lead to unexpected system behavior or resource management issues, potentially resulting in a denial of service.