# CVE-2026-98057: ring-buffer: Add checking nr_subbufs to persistent ring buffer validation

- Severity: Medium 5.5 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.12%, higher than 2% of CVEs (2026-12-01)
- Published: 2026-09-25T10:24:03.541Z
- Modified: 2026-11-18T19:18:50.890Z
- Assigned by: Linux

## Description

In the Linux kernel, the following vulnerability has been resolved:

ring-buffer: Add checking nr_subbufs to persistent ring buffer validation

Sashiko reported that the code was using meta->nr_subbufs without making
sure that it matched the nr_pages + 1 on data that was assuming the two
were the same.

Add a check to the persistent ring buffer validation code to make sure
that the saved nr_subbufs matches what we expect.

(As written by CVE List.)

## Affected

- Linux Linux: from 3ec743d558f111d8999aea24577ba66c65ee2eeb before f0467190e6a9fc61e343c8064ef16aad513788c3; from f5b95f1fa2ef3a03f49eeec658ba97e721412b32 before 364a31052aa9ef91db137f82d797366007cd85b7; from f5b95f1fa2ef3a03f49eeec658ba97e721412b32 before 69d502457e3f76142f7fcf6e2625e80e0ce8a60f; from f5b95f1fa2ef3a03f49eeec658ba97e721412b32 before 6c001a62c34f13fe1c6a24304c289b387d9e697d; 0d547a6f5e8fad26ebc12f501d7d19fccdbad6bf; from 6.12.16 before 6.12.111; from 6.13.4 before 6.14; 6.14 (not affected: before 6.14; from 6.12.111 up to 6.12.*; from 6.18.57 up to 6.18.*; from 7.2.7 up to 7.2.*; from 7.3 up to *)
- linux linux_kernel: from 6.12.16 before 6.12.111; from 6.13.4 before 6.14; from 6.14.1 before 6.18.57; from 6.19 before 7.2.7; 6.14; 7.3

## References

- <https://git.kernel.org/stable/c/f0467190e6a9fc61e343c8064ef16aad513788c3> (patch)
- <https://git.kernel.org/stable/c/364a31052aa9ef91db137f82d797366007cd85b7> (patch)
- <https://git.kernel.org/stable/c/69d502457e3f76142f7fcf6e2625e80e0ce8a60f> (patch)
- <https://git.kernel.org/stable/c/6c001a62c34f13fe1c6a24304c289b387d9e697d> (patch)

## Sources

- CVE List: [CVE-2026-98057](https://www.cve.org/CVERecord?id=CVE-2026-98057), CVE Terms of Use, modified 2026-10-19
- NVD: [CVE-2026-98057](https://nvd.nist.gov/vuln/detail/CVE-2026-98057), Public domain, modified 2026-11-18

---

Page: https://cve.day/CVE-2026-98057 · Whole record: https://cve.day/CVE-2026-98057.json · Rebuilt by cve.day 2026-11-25T22:59:41.039Z
