CVE-2025-68186

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

State
Published
Severity
Not scored
Published
Dec 16, 2025
Updated
May 11, 2026
Reserved
Dec 16, 2025

Read the record on cve.org

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.

Scores

The record has no CVSS score.

Weaknesses

The record names no weakness.

Affected Products

ProductVersions
LinuxLinux
  • 117c39200d9d760cbd5944bb89efb7b9c51965aa to before b42dbef4f208326271434d5ab71c4129a3ddd1a9Affected
  • 117c39200d9d760cbd5944bb89efb7b9c51965aa to before 6f5c4f8109fa4d0955b3712597a26b310bdc736fAffected
  • 117c39200d9d760cbd5944bb89efb7b9c51965aa to before aa997d2d2a0b2e76f4df0f1f12829f02acb4fb6bAffected
LinuxLinux
  • 6.10Affected
  • before 6.10Not affected
  • 6.12.58 through 6.12.*Not affected
  • 6.17.8 through 6.17.*Not affected
  • 6.18 and laterNot affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.