Not scored
ring-buffer: Do not warn in ring_buffer_map_get_reader() when reader catches up
- Severity
- Not scored
- Exploit likelihood
- 0.21% (higher than 12% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- Linux
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.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| Linux Linux | from 117c39200d9d760cbd5944bb89efb7b9c51965aa before b42dbef4f208326271434d5ab71c4129a3ddd1a9, from 117c39200d9d760cbd5944bb89efb7b9c51965aa before 6f5c4f8109fa4d0955b3712597a26b310bdc736f, from 117c39200d9d760cbd5944bb89efb7b9c51965aa before aa997d2d2a0b2e76f4df0f1f12829f02acb4fb6b, 6.10 Not affected: before 6.10, from 6.12.58 up to 6.12.*, from 6.17.8 up to 6.17.*, from 6.18 up to * | CVE List |
What each source says
CVE List
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.
NVD (es)
En el kernel de Linux, la siguiente vulnerabilidad ha sido resuelta: ring-buffer: No advertir en ring_buffer_map_get_reader() cuando el lector se pone al día La función ring_buffer_map_get_reader() es un poco más estricta que las otras funciones de obtención de lector, y excepto por ciertas situaciones, la rb_get_reader_page() no debería devolver NULL. Si lo hace, activa una advertencia. Esta advertencia se estaba activando, pero después de investigar por qué, era porque otra situación aceptable estaba ocurriendo y no se había comprobado. Si el lector se pone al día con el escritor y todavía hay datos por leer en la página del lector, entonces la rb_get_reader_page() devolverá NULL ya que no hay una nueva página que obtener. En esta situación, la página del lector no debería actualizarse y no debería activarse ninguna advertencia.
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2025-68186 changed 2026-05-11 | CVE Terms of Use |
| NVD | CVE-2025-68186 changed 2026-10-14 | Public domain |