CVE-2025-68186

ring-buffer: Do not warn in ring_buffer_map_get_reader() when reader catches up

No CVSS score yet EPSS 0.21%

Published 16 Dec 2025 Updated 11 May 2026 CNA: Linux

Check your servers for CVE-2025-68186

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-2025-68186 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: Do not warn in ring_buffer_map_get_reader() when reader catches up

The function ring_buffer_map_get_reader() is a bit more strict than the other get reader functions, and except for certain situations the rb_get_reader_page() should not return NULL. If it does, it triggers a warning.

This warning was triggering but after looking at why, it was because another acceptable situation was happening and it wasn't checked for.

If the reader catches up to the writer and there's still data to be read on the reader page, then the rb_get_reader_page() will return NULL as there's no new page to get.

In this situation, the reader page should not be updated and no warning should trigger.

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 12.1% of all scored CVEs. Scores of 1 Dec 2026.

Affected products

As the CNA lists them.

ProductVersions
Linux
affected from 117c39200d9d760cbd5944bb89efb7b9c51965aa, before b42dbef4f208326271434d5ab71c4129a3ddd1a9
affected from 117c39200d9d760cbd5944bb89efb7b9c51965aa, before 6f5c4f8109fa4d0955b3712597a26b310bdc736f
affected from 117c39200d9d760cbd5944bb89efb7b9c51965aa, before aa997d2d2a0b2e76f4df0f1f12829f02acb4fb6b
Other versions: unaffected
Linux
affected 6.10
unaffected before 6.10
unaffected from 6.12.58 up to and including 6.12.*
unaffected from 6.17.8 up to and including 6.17.*
unaffected 6.18 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-2025-68186 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2025-68186

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-2025-68186
trivy image --scanners vuln IMAGE | grep CVE-2025-68186

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-2025-68186 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.