{
  "affected": [
    {
      "ranges": [
        {
          "events": [
            {
              "introduced": "3ec743d558f111d8999aea24577ba66c65ee2eeb"
            },
            {
              "fixed": "f0467190e6a9fc61e343c8064ef16aad513788c3"
            }
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "type": "GIT"
        },
        {
          "events": [
            {
              "introduced": "f5b95f1fa2ef3a03f49eeec658ba97e721412b32"
            },
            {
              "fixed": "69d502457e3f76142f7fcf6e2625e80e0ce8a60f"
            },
            {
              "fixed": "6c001a62c34f13fe1c6a24304c289b387d9e697d"
            }
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "type": "GIT"
        },
        {
          "events": [
            {
              "introduced": "0"
            },
            {
              "last_affected": "0d547a6f5e8fad26ebc12f501d7d19fccdbad6bf"
            }
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "type": "GIT"
        },
        {
          "events": [
            {
              "introduced": "6.12.16"
            },
            {
              "fixed": "6.12.111"
            }
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "type": "GIT"
        },
        {
          "events": [
            {
              "introduced": "6.13.4"
            },
            {
              "fixed": "6.14"
            }
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "type": "GIT"
        }
      ]
    },
    {
      "package": {
        "ecosystem": "Linux",
        "name": "Kernel"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "6.12.111"
            }
          ],
          "type": "ECOSYSTEM"
        },
        {
          "events": [
            {
              "introduced": "6.13.0"
            },
            {
              "fixed": "7.2.7"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ]
    }
  ],
  "database_specific": {
    "cna_assigner": "Linux",
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/98xxx/CVE-2026-98057.json"
  },
  "details": "In the Linux kernel, the following vulnerability has been resolved:\n\nring-buffer: Add checking nr_subbufs to persistent ring buffer validation\n\nSashiko reported that the code was using meta-\u003enr_subbufs without making\nsure that it matched the nr_pages + 1 on data that was assuming the two\nwere the same.\n\nAdd a check to the persistent ring buffer validation code to make sure\nthat the saved nr_subbufs matches what we expect.",
  "id": "CVE-2026-98057",
  "modified": "2026-09-27T03:30:24.231211725Z",
  "published": "2026-09-25T10:24:03.541Z",
  "references": [
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/69d502457e3f76142f7fcf6e2625e80e0ce8a60f"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/6c001a62c34f13fe1c6a24304c289b387d9e697d"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/f0467190e6a9fc61e343c8064ef16aad513788c3"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/98xxx/CVE-2026-98057.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-98057"
    },
    {
      "type": "PACKAGE",
      "url": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"
    }
  ],
  "schema_version": "1.9.0",
  "summary": "ring-buffer: Add checking nr_subbufs to persistent ring buffer validation"
}