# CVE-2026-23252: xfs: get rid of the xchk_xfile_*_descr calls

- Severity: Medium 5.5 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.14%, higher than 3% of CVEs (2026-12-01)
- Published: 2026-03-18T17:01:43.223Z
- Modified: 2026-11-05T22:18:09.120Z
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- 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.

(As written by CVE List.)

## Affected

- Linux Linux: from 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 *)
- linux linux_kernel: from 6.10 before 6.12.78; from 6.13 before 6.18.16; from 6.19 before 6.19.6

## References

- <https://git.kernel.org/stable/c/695455fbc49053cbf555f2f302a5dcd600f412ff> (patch)
- <https://git.kernel.org/stable/c/18e9cf2259b4157fd282b323514375f2f6a59edb> (patch)
- <https://git.kernel.org/stable/c/2d8afee89262762fe0e5547772708c75f320c957> (patch)
- <https://git.kernel.org/stable/c/60382993a2e18041f88c7969f567f168cd3b4de3> (patch)

## Sources

- CVE List: [CVE-2026-23252](https://www.cve.org/CVERecord?id=CVE-2026-23252), CVE Terms of Use, modified 2026-11-05
- NVD: [CVE-2026-23252](https://nvd.nist.gov/vuln/detail/CVE-2026-23252), Public domain, modified 2026-11-05

---

Page: https://cve.day/CVE-2026-23252 · Whole record: https://cve.day/CVE-2026-23252.json · Rebuilt by cve.day 2026-11-25T22:59:16.114Z
