CVE-2026-23252

xfs: get rid of the xchk_xfile_*_descr calls

State
Published
Severity
Not scored
Published
Mar 18, 2026
Updated
May 11, 2026
Reserved
Jan 13, 2026

Read the record on cve.org

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.

Scores

The record has no CVSS score.

Weaknesses

The record names no weakness.

Affected Products

ProductVersions
LinuxLinux
  • ab97f4b1c030750f2475bf4da8a9554d02206640 to before 695455fbc49053cbf555f2f302a5dcd600f412ffAffected
  • ab97f4b1c030750f2475bf4da8a9554d02206640 to before 18e9cf2259b4157fd282b323514375f2f6a59edbAffected
  • ab97f4b1c030750f2475bf4da8a9554d02206640 to before 2d8afee89262762fe0e5547772708c75f320c957Affected
  • ab97f4b1c030750f2475bf4da8a9554d02206640 to before 60382993a2e18041f88c7969f567f168cd3b4de3Affected
LinuxLinux
  • 6.10Affected
  • before 6.10Not affected
  • 6.12.78 through 6.12.*Not affected
  • 6.18.16 through 6.18.*Not affected
  • 6.19.6 through 6.19.*Not affected
  • 7.0 and laterNot affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.