---
id: CVE-2026-90389
title: |-
  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…
summary: |-
  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…
severity: none
vendor: Linux
product: Linux
affected:
  - >-
    Linux >= 78f57ef9d50a75326da73d352d7c27828495229a <
    72ebfdf507ede7d7f2b7ca0a5634811a0e4bf045
  - >-
    Linux >= 78f57ef9d50a75326da73d352d7c27828495229a <
    28fdea874f68cac6c36651b1fc7272fd2199c48d
  - >-
    Linux >= 78f57ef9d50a75326da73d352d7c27828495229a <
    a58923756b0f8e71032070c23ae0b167e46731da
  - >-
    Linux >= 78f57ef9d50a75326da73d352d7c27828495229a <
    bace2010dd7ac07bc980575afb135c406730a7fe
  - Linux 5.8
published: '2026-09-17'
updated: '2026-09-17'
sourceUpdated: '2026-09-17T17:17:38.427'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2026-90389'
references:
  - url: 'https://git.kernel.org/stable/c/28fdea874f68cac6c36651b1fc7272fd2199c48d'
    label: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
  - url: 'https://git.kernel.org/stable/c/72ebfdf507ede7d7f2b7ca0a5634811a0e4bf045'
    label: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
  - url: 'https://git.kernel.org/stable/c/a58923756b0f8e71032070c23ae0b167e46731da'
    label: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
  - url: 'https://git.kernel.org/stable/c/bace2010dd7ac07bc980575afb135c406730a7fe'
    label: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
tags:
  - nvd
  - cve.org
ingestedAt: '2026-09-17T16:21:47.804Z'
epss: 0.00209
epssPercentile: 0.09852
---

## Overview

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.

## Remediation

Refer to the linked advisories for vendor-supplied fixes and affected version ranges.
