{
  "affected": [
    {
      "ranges": [
        {
          "events": [
            {
              "introduced": "fb7d3bc4149395c1ae99029c852eab6c28fc3c88"
            },
            {
              "fixed": "2897601dffe576fcd87a4259102f41f7fb0cbfc8"
            },
            {
              "fixed": "77c0fade37c80e8aa16ac048a9828249055e3f66"
            },
            {
              "fixed": "848d2ce2fce15fbdc083fbf9691bfa72911033c4"
            }
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "type": "GIT"
        }
      ]
    },
    {
      "package": {
        "ecosystem": "Linux",
        "name": "Kernel"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "6.14.0"
            },
            {
              "fixed": "6.18.54"
            }
          ],
          "type": "ECOSYSTEM"
        },
        {
          "events": [
            {
              "introduced": "6.19.0"
            },
            {
              "fixed": "7.2.8"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ]
    }
  ],
  "database_specific": {
    "cna_assigner": "Linux",
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/98xxx/CVE-2026-98223.json"
  },
  "details": "In the Linux kernel, the following vulnerability has been resolved:\n\nmm: filemap: retain mapped dropbehind folios\n\nFault-around can map ready dropbehind folios without going through the\nnormal page-cache lookup that clears dropbehind.  A mapping represents a\ncompeting cached user, so retain the folio instead of forcibly unmapping\nit when writeback completes.\n\nFor a mapped folio, folio_unmap_invalidate() can call\nunmap_mapping_folio(), which takes i_mmap_rwsem and may sleep.  Retaining\nmapped folios avoids this path when folio_end_dropbehind() runs in\nnon-preemptible task context.\n\nTal was able to trigger a sleeping-in-atomic warning due to this [1].\n\nUnmapped dropbehind folios continue through the existing invalidation path.",
  "id": "CVE-2026-98223",
  "modified": "2026-10-08T02:30:16.530321317Z",
  "published": "2026-10-06T08:44:58.472Z",
  "references": [
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/2897601dffe576fcd87a4259102f41f7fb0cbfc8"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/77c0fade37c80e8aa16ac048a9828249055e3f66"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/848d2ce2fce15fbdc083fbf9691bfa72911033c4"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/98xxx/CVE-2026-98223.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-98223"
    },
    {
      "type": "PACKAGE",
      "url": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"
    }
  ],
  "schema_version": "1.9.0",
  "summary": "mm: filemap: retain mapped dropbehind folios"
}