{"id":"CVE-2026-98057","aliases":["CVE-2026-98057"],"related":[],"kind":"vulnerability","state":"published","title":"ring-buffer: Add checking nr_subbufs to persistent ring buffer validation","summary":"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->nr_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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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->nr_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.","source":"cvelist"}],"published":"2026-09-25T10:24:03.541Z","modified":"2026-11-18T19:18:50.890Z","severity":{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","score":5.5,"rating":"MEDIUM"},"severities":[{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","score":5.5,"rating":"MEDIUM"}],"cwes":[],"affected":[{"ranges":[{"type":"git","introduced":"3ec743d558f111d8999aea24577ba66c65ee2eeb","fixed":"f0467190e6a9fc61e343c8064ef16aad513788c3","status":"affected"},{"type":"git","introduced":"f5b95f1fa2ef3a03f49eeec658ba97e721412b32","fixed":"364a31052aa9ef91db137f82d797366007cd85b7","status":"affected"},{"type":"git","introduced":"f5b95f1fa2ef3a03f49eeec658ba97e721412b32","fixed":"69d502457e3f76142f7fcf6e2625e80e0ce8a60f","status":"affected"},{"type":"git","introduced":"f5b95f1fa2ef3a03f49eeec658ba97e721412b32","fixed":"6c001a62c34f13fe1c6a24304c289b387d9e697d","status":"affected"},{"type":"git","version":"0d547a6f5e8fad26ebc12f501d7d19fccdbad6bf","status":"affected"},{"type":"semver","introduced":"6.12.16","fixed":"6.12.111","status":"affected"},{"type":"semver","introduced":"6.13.4","fixed":"6.14","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"6.14","status":"affected"},{"type":"semver","introduced":"0","fixed":"6.14","status":"unaffected"},{"type":"semver","introduced":"6.12.111","lastAffected":"6.12.*","status":"unaffected"},{"type":"semver","introduced":"6.18.57","lastAffected":"6.18.*","status":"unaffected"},{"type":"semver","introduced":"7.2.7","lastAffected":"7.2.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"7.3","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"status":"affected","introduced":"6.12.16","fixed":"6.12.111"},{"status":"affected","introduced":"6.13.4","fixed":"6.14"},{"status":"affected","introduced":"6.14.1","fixed":"6.18.57"},{"status":"affected","introduced":"6.19","fixed":"7.2.7"},{"status":"affected","version":"6.14"},{"status":"affected","version":"6.14"},{"status":"affected","version":"6.14"},{"status":"affected","version":"6.14"},{"status":"affected","version":"6.14"},{"status":"affected","version":"6.14"},{"status":"affected","version":"7.3"}],"vendor":"linux","product":"linux_kernel","cpe":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://git.kernel.org/stable/c/f0467190e6a9fc61e343c8064ef16aad513788c3","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/364a31052aa9ef91db137f82d797366007cd85b7","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/69d502457e3f76142f7fcf6e2625e80e0ce8a60f","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/6c001a62c34f13fe1c6a24304c289b387d9e697d","tags":["patch"],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-98057","url":"https://www.cve.org/CVERecord?id=CVE-2026-98057","licence":"CVE Terms of Use","modified":"2026-10-19T09:13:03.914Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-98057","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-98057","licence":"Public domain","modified":"2026-11-18T19:18:50.890Z"}],"updatedAt":"2026-11-25T22:59:41.039Z","epss":{"score":0.00122,"percentile":0.02165,"date":"2026-12-01T12:00:22.000Z"}}