{
  "affected": [
    {
      "ranges": [
        {
          "events": [
            {
              "introduced": "ac2d3268284ba4e254e4ca346bf6d63fb8a17518"
            },
            {
              "fixed": "b08ff965d67a083e23262a87738bab222150085f"
            },
            {
              "fixed": "477c6e65a18a13b38b3036f65465bbcc9264b38f"
            },
            {
              "fixed": "e4b92891aaca0d37b5973362dd14747a65406650"
            }
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "type": "GIT"
        }
      ]
    },
    {
      "package": {
        "ecosystem": "Linux",
        "name": "Kernel"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "6.15.0"
            },
            {
              "fixed": "6.18.64"
            }
          ],
          "type": "ECOSYSTEM"
        },
        {
          "events": [
            {
              "introduced": "6.19.0"
            },
            {
              "fixed": "7.3.4"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ]
    }
  ],
  "database_specific": {
    "cna_assigner": "Linux",
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/138xxx/CVE-2026-138830.json"
  },
  "details": "In the Linux kernel, the following vulnerability has been resolved:\n\nmm/shmem: don't release a swapin-error marker as a swap entry\n\nA failed shmem swapin (eg, EIO) frees the swap slot and leaves a\nPTE_MARKER_POISONED entry in the page cache.  On truncate or eviction\nshmem_free_swap() passes that marker to swap_put_entries_direct(), which\nwarns because it is not a swap entry.  There is nothing left to release\neither way.\n\nSkip the release for non-swap entries, as every other caller already does.",
  "id": "CVE-2026-138830",
  "modified": "2026-11-30T14:45:46.326028666Z",
  "published": "2026-11-30T13:25:22.927Z",
  "references": [
    {
      "type": "PACKAGE",
      "url": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/477c6e65a18a13b38b3036f65465bbcc9264b38f"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/b08ff965d67a083e23262a87738bab222150085f"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/e4b92891aaca0d37b5973362dd14747a65406650"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/138xxx/CVE-2026-138830.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-138830"
    }
  ],
  "schema_version": "1.9.2",
  "summary": "mm/shmem: don't release a swapin-error marker as a swap entry"
}