← Volver al buscador de CVEs

CVE-2026-80580

Linux kernel

Descripción

In the Linux kernel, the following vulnerability has been resolved: fbdev: bound mode sysfs output to the sysfs buffer mode_string() uses snprintf() which can return a value larger than the remaining buffer space. show_modes() accumulates the return value into i without checking whether i has reached PAGE_SIZE, causing the offset to advance past the sysfs buffer if the modelist is long enough. Add a size parameter to mode_string() and use scnprintf() to return only the bytes actually written. Add an early return when offset already exceeds the buffer. In show_modes(), stop accumulating once the buffer is full.

CVSS 7.8EPSS 0.11199999999999999%Riesgo 0.79
Ver fuente
Publicación
2026-08-26 15:17:14
Versiones afectadas
unknown
Tipo
Kernel
Última modificación
2026-08-27 06:17:44
Vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H