# CVE-2026-99159: ring-buffer: Fix the sub-buffer array base in rb\_meta\_subbuf\_idx()

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** UNSCORED
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Unknown
- **EPSS:** 0.21% (percentile 6, 2026-11-26)
- **Published:** 2026-10-28T10:35:12.520Z
- **Modified:** 2026-10-30T13:21:49.740Z

## Who should check

- Anyone running Linux \>= b14d032973d4e6c36e025e96ea3437de53d072d9, \< 0c0cf2240bb5ca5704ea932ba66ee54f43173915; \>= b14d032973d4e6c36e025e96ea3437de53d072d9, \< 2f1248b728b56d583ea454fedf239550c49f7b18; \>= b14d032973d4e6c36e025e96ea3437de53d072d9, \< 7469b3585ef5f65840d467d2caa811a9098c84b9; \>= b14d032973d4e6c36e025e96ea3437de53d072d9, \< 25132363c723afc39aace8b098f547ab4a0ea759
- Anyone running Linux 6.12

## Description

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

ring-buffer: Fix the sub-buffer array base in rb\_meta\_subbuf\_idx()

On a persistent ring buffer, rb\_meta\_subbuf\_idx() can return an index one
sub-buffer too high.  rb\_setup\_ids\_meta\_page() then fills subbuf\_ids\[\]
shifted by one and leaves subbuf\_ids\[0\] NULL, which \_\_rb\_map\_vma()
dereferences when userspace maps trace\_pipe\_raw.  rb\_update\_meta\_reader()
writes two such indices into meta-\>buffers\[\], which rb\_cpu\_meta\_valid()
would reject on the next boot, discarding the previous boot's trace.

A CPU's sub-buffer array starts after its meta header and the nr\_subbufs
integers that follow, aligned up to a sub-buffer.  rb\_meta\_subbuf\_idx()
inverts that calculation but skips only the integers, not the header, so
its base is one sub-buffer low whenever the omitted header size crosses
the alignment boundary.

Invert the calculation with rb\_subbufs\_from\_meta() rather than repeating
it.  rb\_range\_buffer() maps an index back to an address through the same
helper, so the two directions can no longer disagree.

## Affected and fixed versions

- Linux: \>= b14d032973d4e6c36e025e96ea3437de53d072d9, \< 0c0cf2240bb5ca5704ea932ba66ee54f43173915; \>= b14d032973d4e6c36e025e96ea3437de53d072d9, \< 2f1248b728b56d583ea454fedf239550c49f7b18; \>= b14d032973d4e6c36e025e96ea3437de53d072d9, \< 7469b3585ef5f65840d467d2caa811a9098c84b9; \>= b14d032973d4e6c36e025e96ea3437de53d072d9, \< 25132363c723afc39aace8b098f547ab4a0ea759 (cvelist)
- Linux: 6.12 (cvelist)

## Mitigation

- Upgrade Linux to 25132363c723afc39aace8b098f547ab4a0ea759 or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2026-99159. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-99159.md
Affected: Linux >= b14d032973d4e6c36e025e96ea3437de53d072d9, < 0c0cf2240bb5ca5704ea932ba66ee54f43173915; >= b14d032973d4e6c36e025e96ea3437de53d072d9, < 2f1248b728b56d583ea454fedf239550c49f7b18; >= b14d032973d4e6c36e025e96ea3437de53d072d9, < 7469b3585ef5f65840d467d2caa811a9098c84b9; >= b14d032973d4e6c36e025e9…
Fixed in: Linux 0c0cf2240bb5ca5704ea932ba66ee54f43173915, Linux 2f1248b728b56d583ea454fedf239550c49f7b18, Linux 7469b3585ef5f65840d467d2caa811a9098c84b9, Linux 25132363c723afc39aace8b098f547ab4a0ea759

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2026-99159 being exploited?

There is no confirmed exploitation: CVE-2026-99159 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.21% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2026-99159?

It has no CVSS score yet. Unknown.

### Which versions are affected by CVE-2026-99159?

Linux \>= b14d032973d4e6c36e025e96ea3437de53d072d9, \< 0c0cf2240bb5ca5704ea932ba66ee54f43173915; \>= b14d032973d4e6c36e025e96ea3437de53d072d9, \< 2f1248b728b56d583ea454fedf239550c49f7b18; \>= b14d032973d4e6c36e025e96ea3437de53d072d9, \< 7469b3585ef5f65840d467d2caa811a9098c84b9; \>= b14d032973d4e6c36e025e96ea3437de53d072d9, \< 25132363c723afc39aace8b098f547ab4a0ea759; Linux 6.12.

### Is there a fix for CVE-2026-99159?

Yes. Fixed in Linux 0c0cf2240bb5ca5704ea932ba66ee54f43173915, Linux 2f1248b728b56d583ea454fedf239550c49f7b18, Linux 7469b3585ef5f65840d467d2caa811a9098c84b9, Linux 25132363c723afc39aace8b098f547ab4a0ea759. Upgrade Linux to 25132363c723afc39aace8b098f547ab4a0ea759 or later.

### How do I check if I'm affected by CVE-2026-99159?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- other: <https://git.kernel.org/stable/c/0c0cf2240bb5ca5704ea932ba66ee54f43173915>
- other: <https://git.kernel.org/stable/c/2f1248b728b56d583ea454fedf239550c49f7b18>
- other: <https://git.kernel.org/stable/c/7469b3585ef5f65840d467d2caa811a9098c84b9>
- other: <https://git.kernel.org/stable/c/25132363c723afc39aace8b098f547ab4a0ea759>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2026-99159>

HTML: <https://flawdb.com/CVE-2026-99159> · JSON: <https://flawdb.com/api/v1/entries/CVE-2026-99159>
