CVEvulnerability
CVE-2026-23252
5.5 MEDIUM
Official page ↗
- Status
- Analyzed
- Published
- 2026-03-18
- Last modified
- 2026-06-17
- Assigner
- 416baaa9-dc9f-4396-8d5f-8c081fb06d67
- CVSS 3.1 ([email protected])
- 5.5 MEDIUM — CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
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 configurations
• linux linux kernel (>= 6.10 < 6.12.78)
• linux linux kernel (>= 6.13 < 6.18.16)
• linux linux kernel (>= 6.19 < 6.19.6)
References
- https://git.kernel.org/stable/c/18e9cf2259b4157fd282b323514375f2f6a59edb Patch
- https://git.kernel.org/stable/c/2d8afee89262762fe0e5547772708c75f320c957 Patch
- https://git.kernel.org/stable/c/60382993a2e18041f88c7969f567f168cd3b4de3 Patch
- https://git.kernel.org/stable/c/695455fbc49053cbf555f2f302a5dcd600f412ff Patch