5.5medium
ring-buffer: Fix possible dereference of uninitialized pointer
- Severity
- 5.5medium CVSS:3.1 by NVD
- Exploit likelihood
- 0.16% (higher than 5% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- Linux
Description
In the Linux kernel, the following vulnerability has been resolved: ring-buffer: Fix possible dereference of uninitialized pointer There is a pointer head_page in rb_meta_validate_events() which is not initialized at the beginning of a function. This pointer can be dereferenced if there is a failure during reader page validation. In this case the control is passed to "invalid" label where the pointer is dereferenced in a loop. To fix the issue initialize orig_head and head_page before calling rb_validate_buffer. Found by Linux Verification Center (linuxtesting.org) with SVACE.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| Linux Linux | from 5f3b6e839f3ceb8d6ef02231ba9b5aca71b8bf55 before a4afdff9c715af50cf6c3f2dc601932c2cea17a2, from 5f3b6e839f3ceb8d6ef02231ba9b5aca71b8bf55 before bc77986f3cb7476637052edf2d87137fa39f153d, from 5f3b6e839f3ceb8d6ef02231ba9b5aca71b8bf55 before d9942396845fef2369478c157b26738fe07142f6, from 5f3b6e839f3ceb8d6ef02231ba9b5aca71b8bf55 before f1547779402c4cd67755c33616b7203baa88420b, 6.12 Not affected: before 6.12, from 6.12.114 up to 6.12.*, from 6.18.16 up to 6.18.*, from 6.19.6 up to 6.19.*, from 7.0 up to * | CVE List |
| linux linux_kernel | from 6.12 before 6.18.16, from 6.19 before 6.19.6 | NVD |
Classification
What each source says
CVE List
In the Linux kernel, the following vulnerability has been resolved: ring-buffer: Fix possible dereference of uninitialized pointer There is a pointer head_page in rb_meta_validate_events() which is not initialized at the beginning of a function. This pointer can be dereferenced if there is a failure during reader page validation. In this case the control is passed to "invalid" label where the pointer is dereferenced in a loop. To fix the issue initialize orig_head and head_page before calling rb_validate_buffer. Found by Linux Verification Center (linuxtesting.org) with SVACE.
NVD (es)
En el kernel de Linux, la siguiente vulnerabilidad ha sido resuelta: ring-buffer: Corrección de posible desreferencia de puntero no inicializado Hay un puntero head_page en rb_meta_validate_events() que no está inicializado al principio de una función. Este puntero puede ser desreferenciado si hay un fallo durante la validación de la página del lector. En este caso, el control se pasa a la etiqueta ’invalid’ donde el puntero es desreferenciado en un bucle. Para solucionar el problema, inicialice orig_head y head_page antes de llamar a rb_validate_buffer. Encontrado por Linux Verification Center (linuxtesting.org) con SVACE.
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2026-43272 changed 2026-10-21 | CVE Terms of Use |
| NVD | CVE-2026-43272 changed 2026-11-11 | Public domain |