# CVE-2026-99158: ring-buffer: Fix false warning in ring\_buffer\_map\_get\_reader()

> 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:11.848Z
- **Modified:** 2026-10-30T13:21:49.637Z

## Who should check

- Anyone running Linux \>= 117c39200d9d760cbd5944bb89efb7b9c51965aa, \< 32751946f9b3e502e3d6e42d98b343473112f887; \>= 117c39200d9d760cbd5944bb89efb7b9c51965aa, \< 029770f5badedc0f0ff85fc45e24785cbbee4a67; \>= 117c39200d9d760cbd5944bb89efb7b9c51965aa, \< 68e6ab180cfb6dfa79652f41ed7899a6d4cf5438; \>= 117c39200d9d760cbd5944bb89efb7b9c51965aa, \< 89bab1dba8a0167ef0d819e0f55b6bafa038e87f
- Anyone running Linux 6.10

## Description

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

ring-buffer: Fix false warning in ring\_buffer\_map\_get\_reader()

The mmap reader can warn when it catches up with a writer that is still
committing events. rb\_get\_reader\_page() returns NULL in this case, but
ring\_buffer\_map\_get\_reader() treats that result as an error.

The initial rb\_per\_cpu\_empty() check filters out an empty buffer, but it
does not guarantee that the next reader page has committed data. Writers
do not take reader\_lock and can advance commit\_page before publishing the
committed length on the new page. rb\_get\_reader\_page() can swap to that
page, catch up with the writer and return NULL.

Handle NULL through the existing no-data exit without warning. Remove the
caller's reader\_page == commit\_page check as well, since the reader-page
helper already handles that case. The existing metadata update and return
path remain in place.

## Affected and fixed versions

- Linux: \>= 117c39200d9d760cbd5944bb89efb7b9c51965aa, \< 32751946f9b3e502e3d6e42d98b343473112f887; \>= 117c39200d9d760cbd5944bb89efb7b9c51965aa, \< 029770f5badedc0f0ff85fc45e24785cbbee4a67; \>= 117c39200d9d760cbd5944bb89efb7b9c51965aa, \< 68e6ab180cfb6dfa79652f41ed7899a6d4cf5438; \>= 117c39200d9d760cbd5944bb89efb7b9c51965aa, \< 89bab1dba8a0167ef0d819e0f55b6bafa038e87f (cvelist)
- Linux: 6.10 (cvelist)

## Mitigation

- Upgrade Linux to 89bab1dba8a0167ef0d819e0f55b6bafa038e87f 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-99158. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-99158.md
Affected: Linux >= 117c39200d9d760cbd5944bb89efb7b9c51965aa, < 32751946f9b3e502e3d6e42d98b343473112f887; >= 117c39200d9d760cbd5944bb89efb7b9c51965aa, < 029770f5badedc0f0ff85fc45e24785cbbee4a67; >= 117c39200d9d760cbd5944bb89efb7b9c51965aa, < 68e6ab180cfb6dfa79652f41ed7899a6d4cf5438; >= 117c39200d9d760cbd5944b…
Fixed in: Linux 32751946f9b3e502e3d6e42d98b343473112f887, Linux 029770f5badedc0f0ff85fc45e24785cbbee4a67, Linux 68e6ab180cfb6dfa79652f41ed7899a6d4cf5438, Linux 89bab1dba8a0167ef0d819e0f55b6bafa038e87f

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-99158 being exploited?

There is no confirmed exploitation: CVE-2026-99158 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-99158?

It has no CVSS score yet. Unknown.

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

Linux \>= 117c39200d9d760cbd5944bb89efb7b9c51965aa, \< 32751946f9b3e502e3d6e42d98b343473112f887; \>= 117c39200d9d760cbd5944bb89efb7b9c51965aa, \< 029770f5badedc0f0ff85fc45e24785cbbee4a67; \>= 117c39200d9d760cbd5944bb89efb7b9c51965aa, \< 68e6ab180cfb6dfa79652f41ed7899a6d4cf5438; \>= 117c39200d9d760cbd5944bb89efb7b9c51965aa, \< 89bab1dba8a0167ef0d819e0f55b6bafa038e87f; Linux 6.10.

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

Yes. Fixed in Linux 32751946f9b3e502e3d6e42d98b343473112f887, Linux 029770f5badedc0f0ff85fc45e24785cbbee4a67, Linux 68e6ab180cfb6dfa79652f41ed7899a6d4cf5438, Linux 89bab1dba8a0167ef0d819e0f55b6bafa038e87f. Upgrade Linux to 89bab1dba8a0167ef0d819e0f55b6bafa038e87f or later.

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

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/32751946f9b3e502e3d6e42d98b343473112f887>
- other: <https://git.kernel.org/stable/c/029770f5badedc0f0ff85fc45e24785cbbee4a67>
- other: <https://git.kernel.org/stable/c/68e6ab180cfb6dfa79652f41ed7899a6d4cf5438>
- other: <https://git.kernel.org/stable/c/89bab1dba8a0167ef0d819e0f55b6bafa038e87f>

## 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-99158>

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