ring-buffer: Do not warn in ring_buffer_map_get_reader() when reader catches up
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.
- Products
- Kernel
- Affected versions
- Not specified
- Fixed versions
- 6.12.58, 6.17.8
- CVEs
- CVE-2025-68186
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 4 Nov 2026, 04:18 UTC · Revision 1
Source evidence
ring-buffer: Do not warn in ring_buffer_map_get_reader() when reader catches up
core-osv · Original sourcePublished 16 Dec 2025, 13:43 UTC
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.
osv:CVE-2025-68186
Kernel
Fixed versions: 6.12.58, 6.17.8
Complete source record
{
"id": "e879710b44cbf4ba7b2b9fccf4de4fece951a50a890d793f53b6e8c635d97601",
"url": "https://osv.dev/vulnerability/CVE-2025-68186",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "ring-buffer: Do not warn in ring_buffer_map_get_reader() when reader catches up",
"summary": "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.",
"evidence": "osv:CVE-2025-68186",
"products": [
{
"name": {
"value": "Kernel",
"evidence": "/affected/1/package/name"
},
"prerequisites": [],
"fixed_versions": [
{
"value": "6.12.58",
"evidence": "/affected/1/ranges"
},
{
"value": "6.17.8",
"evidence": "/affected/1/ranges"
}
],
"affected_versions": []
}
],
"severity": "unknown",
"structured": {
"id": "CVE-2025-68186",
"aliases": [
"CVE-2025-68186"
],
"affected": [
{
"ranges": [
{
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"type": "GIT",
"events": [
{
"introduced": "117c39200d9d760cbd5944bb89efb7b9c51965aa"
},
{
"fixed": "b42dbef4f208326271434d5ab71c4129a3ddd1a9"
},
{
"fixed": "6f5c4f8109fa4d0955b3712597a26b310bdc736f"
},
{
"fixed": "aa997d2d2a0b2e76f4df0f1f12829f02acb4fb6b"
}
]
}
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-68186.json"
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "6.10.0"
},
{
"fixed": "6.12.58"
}
]
},
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "6.13.0"
},
{
"fixed": "6.17.8"
}
]
}
],
"package": {
"name": "Kernel",
"ecosystem": "Linux"
},
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-68186.json"
}
}
],
"modified": "2026-10-28T02:30:33.575816950Z",
"provider": "osv",
"references": [
"https://git.kernel.org/stable/c/6f5c4f8109fa4d0955b3712597a26b310bdc736f",
"https://git.kernel.org/stable/c/aa997d2d2a0b2e76f4df0f1f12829f02acb4fb6b",
"https://git.kernel.org/stable/c/b42dbef4f208326271434d5ab71c4129a3ddd1a9",
"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/68xxx/CVE-2025-68186.json",
"https://nvd.nist.gov/vuln/detail/CVE-2025-68186",
"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"
],
"provider_metadata": {
"cna_assigner": "Linux",
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/68xxx/CVE-2025-68186.json"
}
},
"related_cves": [
{
"value": "CVE-2025-68186",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": null
},
"source_id": "core-osv",
"document_id": 500243,
"published_at": "2025-12-16T13:43:03.814+00:00"
}