{
  "affected": [
    {
      "ranges": [
        {
          "events": [
            {
              "introduced": "78f57ef9d50a75326da73d352d7c27828495229a"
            },
            {
              "fixed": "72ebfdf507ede7d7f2b7ca0a5634811a0e4bf045"
            },
            {
              "fixed": "28fdea874f68cac6c36651b1fc7272fd2199c48d"
            },
            {
              "fixed": "a58923756b0f8e71032070c23ae0b167e46731da"
            },
            {
              "fixed": "bace2010dd7ac07bc980575afb135c406730a7fe"
            }
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "type": "GIT"
        }
      ]
    },
    {
      "package": {
        "ecosystem": "Linux",
        "name": "Kernel"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "5.8.0"
            },
            {
              "fixed": "6.12.110"
            }
          ],
          "type": "ECOSYSTEM"
        },
        {
          "events": [
            {
              "introduced": "6.13.0"
            },
            {
              "fixed": "6.18.52"
            }
          ],
          "type": "ECOSYSTEM"
        },
        {
          "events": [
            {
              "introduced": "6.19.0"
            },
            {
              "fixed": "7.2.6"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ]
    }
  ],
  "database_specific": {
    "cna_assigner": "Linux",
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/90xxx/CVE-2026-90389.json"
  },
  "details": "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-\u003enoio_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.",
  "id": "CVE-2026-90389",
  "modified": "2026-09-19T03:30:18.487567460Z",
  "published": "2026-09-17T16:09:23.767Z",
  "references": [
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/28fdea874f68cac6c36651b1fc7272fd2199c48d"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/72ebfdf507ede7d7f2b7ca0a5634811a0e4bf045"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/a58923756b0f8e71032070c23ae0b167e46731da"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/bace2010dd7ac07bc980575afb135c406730a7fe"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/90xxx/CVE-2026-90389.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-90389"
    },
    {
      "type": "PACKAGE",
      "url": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"
    }
  ],
  "schema_version": "1.9.0",
  "summary": "md: scope memalloc_noio to allocation critical sections"
}