CVE-2026-90389

md: scope memalloc_noio to allocation critical sections

State
Published
Severity
Not scored
Published
Sep 17, 2026
Updated
Oct 19, 2026
Reserved
Sep 11, 2026

Read the record on cve.org

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.

Scores

The record has no CVSS score.

Weaknesses

The record names no weakness.

Affected Products

ProductVersions
LinuxLinux
  • 78f57ef9d50a75326da73d352d7c27828495229a to before 72ebfdf507ede7d7f2b7ca0a5634811a0e4bf045Affected
  • 78f57ef9d50a75326da73d352d7c27828495229a to before 28fdea874f68cac6c36651b1fc7272fd2199c48dAffected
  • 78f57ef9d50a75326da73d352d7c27828495229a to before a58923756b0f8e71032070c23ae0b167e46731daAffected
  • 78f57ef9d50a75326da73d352d7c27828495229a to before bace2010dd7ac07bc980575afb135c406730a7feAffected
LinuxLinux
  • 5.8Affected
  • before 5.8Not affected
  • 6.12.110 through 6.12.*Not affected
  • 6.18.52 through 6.18.*Not affected
  • 7.2.6 through 7.2.*Not affected
  • 7.3 and laterNot affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.