CVE-2026-99158

ring-buffer: Fix false warning in ring_buffer_map_get_reader()

No CVSS score yet EPSS 0.21%

Published 28 Oct 2026 Updated 30 Oct 2026 CNA: Linux

Check your servers for CVE-2026-99158

The Vulnpocalypse collector sends the package list of each Linux server and of its container images once a day. Vulnpocalypse shows every server where CVE-2026-99158 affects the running kernel, with the command that installs the fix. The free plan covers one server and one domain and does not need a credit card.

Check my servers

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.

Exploitation

EPSS 0.21%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 6.22% of all scored CVEs. Scores of 29 Nov 2026.

Affected products

As the CNA lists them.

ProductVersions
Linux
affected from 117c39200d9d760cbd5944bb89efb7b9c51965aa, before 32751946f9b3e502e3d6e42d98b343473112f887
affected from 117c39200d9d760cbd5944bb89efb7b9c51965aa, before 029770f5badedc0f0ff85fc45e24785cbbee4a67
affected from 117c39200d9d760cbd5944bb89efb7b9c51965aa, before 68e6ab180cfb6dfa79652f41ed7899a6d4cf5438
affected from 117c39200d9d760cbd5944bb89efb7b9c51965aa, before 89bab1dba8a0167ef0d819e0f55b6bafa038e87f
Other versions: unaffected
Linux
affected 6.10
unaffected before 6.10
unaffected from 6.12.115 up to and including 6.12.*
unaffected from 6.18.59 up to and including 6.18.*
unaffected from 7.2.13 up to and including 7.2.*
unaffected 7.3 and later
Other versions: affected

Is my server affected?

This CVE is in the Linux kernel. Compare the running kernel with the fixed kernel version of your distribution, and reboot after a kernel update:

uname -r
# Debian, Ubuntu: does the changelog of the running kernel name the CVE?
zgrep -l CVE-2026-99158 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2026-99158

With Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:

trivy rootfs --scanners vuln / | grep CVE-2026-99158
trivy image --scanners vuln IMAGE | grep CVE-2026-99158

Vulnpocalypse makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Start free with one server and one domain or read how to install the collector.

References

Other references

Source: the record CVE-2026-99158 of the CVE List (CVE Program), CVE Terms of Use; EPSS of FIRST. The text of the record is shown as published. Data sources and licences.