CVE-2026-23252

Summary

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 Software

VendorProductVersion RangeStatus
LinuxLinuxab97f4b1c030750f2475bf4da8a9554d02206640 < 695455fbc49053cbf555f2f302a5dcd600f412ffaffected
LinuxLinuxab97f4b1c030750f2475bf4da8a9554d02206640 < 18e9cf2259b4157fd282b323514375f2f6a59edbaffected
LinuxLinuxab97f4b1c030750f2475bf4da8a9554d02206640 < 2d8afee89262762fe0e5547772708c75f320c957affected
LinuxLinuxab97f4b1c030750f2475bf4da8a9554d02206640 < 60382993a2e18041f88c7969f567f168cd3b4de3affected
LinuxLinux6.10affected
LinuxLinux0 < 6.10unaffected
LinuxLinux6.12.78 <= 6.12.*unaffected
LinuxLinux6.18.16 <= 6.18.*unaffected
LinuxLinux6.19.6 <= 6.19.*unaffected
LinuxLinux7.0 <= *unaffected

Weaknesses

References