CVE-2026-23252
JSON

5.5medium

xfs: get rid of the xchk_xfile_*_descr calls

Severity
5.5medium CVSS:3.1 by NVD
Exploit likelihood
0.14% (higher than 3% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
Linux

Description

In the Linux kernel, the following vulnerability has been resolved: xfs: get rid of the xchk_xfile_*_descr calls The xchk_xfile_*_descr macros call kasprintf, which can fail to allocate memory if the formatted string is larger than 16 bytes (or whatever the nofail guarantees are nowadays). Some of them could easily exceed that, and Jiaming Zhang found a few places where that can happen with syzbot. The descriptions are debugging aids and aren't required to be unique, so let's just pass in static strings and eliminate this path to failure. Note this patch touches a number of commits, most of which were merged between 6.6 and 6.14.

Affected

Product or packageVersionsReported by
Linux Linuxfrom ab97f4b1c030750f2475bf4da8a9554d02206640 before 695455fbc49053cbf555f2f302a5dcd600f412ff, from ab97f4b1c030750f2475bf4da8a9554d02206640 before 18e9cf2259b4157fd282b323514375f2f6a59edb, from ab97f4b1c030750f2475bf4da8a9554d02206640 before 2d8afee89262762fe0e5547772708c75f320c957, from ab97f4b1c030750f2475bf4da8a9554d02206640 before 60382993a2e18041f88c7969f567f168cd3b4de3, 6.10
Not affected: before 6.10, from 6.12.78 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_kernelfrom 6.10 before 6.12.78, from 6.13 before 6.18.16, from 6.19 before 6.19.6NVD

Classification

SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.

What each source says

CVE List

In the Linux kernel, the following vulnerability has been resolved: xfs: get rid of the xchk_xfile_*_descr calls The xchk_xfile_*_descr macros call kasprintf, which can fail to allocate memory if the formatted string is larger than 16 bytes (or whatever the nofail guarantees are nowadays). Some of them could easily exceed that, and Jiaming Zhang found a few places where that can happen with syzbot. The descriptions are debugging aids and aren't required to be unique, so let's just pass in static strings and eliminate this path to failure. Note this patch touches a number of commits, most of which were merged between 6.6 and 6.14.

NVD (es)

En el kernel de Linux, la siguiente vulnerabilidad ha sido resuelta: xfs: eliminar las llamadas a xchk_xfile_*_descr Las macros xchk_xfile_*_descr llaman a kasprintf, lo que puede fallar al asignar memoria si la cadena formateada es mayor de 16 bytes (o cualesquiera que sean las garantías de nofail hoy en día). Algunas de ellas podrían exceder fácilmente eso, y Jiaming Zhang encontró algunos lugares donde eso puede ocurrir con syzbot. Las descripciones son ayudas de depuración y no se requiere que sean únicas, así que simplemente pasemos cadenas estáticas y eliminemos esta ruta de fallo. Nótese que este parche afecta a varios commits, la mayoría de los cuales fueron fusionados entre 6.6 y 6.14.

References

Sources

SourceRecordLicence
CVE ListCVE-2026-23252 changed 2026-11-05CVE Terms of Use
NVDCVE-2026-23252 changed 2026-11-05Public domain