xfs: get rid of the xchk_xfile_*_descr calls (Linux Linux)

CVE-2026-23252
MEDIUM 5.5

At a glance

Source
NVD
EPSS
EPSS 0.13 % · percentile 2 ()
State
PUBLISHED
Published
Updated
Assigner
Linux
NVD status
Analyzed

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.

References

Scores

VersionScoreVectorScored by
CVSS 3.1MEDIUM 5.5CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:HNVD · nvd@nist.gov (Primary)

European references

CERT-FR advisories

Affected configurations (NVD CPE)

Affected products

ProductVersions
Linux · Linuxaffected ab97f4b1c030750f2475bf4da8a9554d02206640 < 695455fbc49053cbf555f2f302a5dcd600f412ff ; affected ab97f4b1c030750f2475bf4da8a9554d02206640 < 18e9cf2259b4157fd282b323514375f2f6a59edb ; affected ab97f4b1c030750f2475bf4da8a9554d02206640 < 2d8afee89262762fe0e5547772708c75f320c957 ; affected ab97f4b1c030750f2475bf4da8a9554d02206640 < 60382993a2e18041f88c7969f567f168cd3b4de3
Linux · Linuxaffected 6.10 ; unaffected 0 < 6.10 ; unaffected 6.12.78 ≤ 6.12.* ; unaffected 6.18.16 ≤ 6.18.* ; unaffected 6.19.6 ≤ 6.19.* ; unaffected 7.0 ≤ *

Sources

SourceLicence
CVE List (CVEProject cvelistV5)CVE Program Terms of Use
EPSS (FIRST.org)FIRST — attribution requested
ENISA EUVDENISA — reproduction authorised, source acknowledged
CERT-FR (ANSSI)Licence Ouverte / Etalab 2.0
NVD (NIST) via fkie-cad/nvd-json-data-feedsPublic domain — this product uses data from the NVD API but is not endorsed or certified by the NVD