---
id: CVE-2026-23252
title: 'xfs: get rid of the xchk_xfile_*_descr calls'
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 …
severity: none
vendor: Linux
product: Linux
affected:
  - >-
    Linux >= ab97f4b1c030750f2475bf4da8a9554d02206640 <
    695455fbc49053cbf555f2f302a5dcd600f412ff
  - >-
    Linux >= ab97f4b1c030750f2475bf4da8a9554d02206640 <
    18e9cf2259b4157fd282b323514375f2f6a59edb
  - >-
    Linux >= ab97f4b1c030750f2475bf4da8a9554d02206640 <
    2d8afee89262762fe0e5547772708c75f320c957
  - >-
    Linux >= ab97f4b1c030750f2475bf4da8a9554d02206640 <
    60382993a2e18041f88c7969f567f168cd3b4de3
  - Linux 6.10
ssvc:
  exploitation: none
  automatable: 'no'
  technicalImpact: partial
  timestamp: '2026-11-05T21:23:36.372228Z'
published: '2026-03-18'
updated: '2026-11-05'
sourceUpdated: '2026-11-05T21:33:33.158Z'
source: CVEORG
sourceUrl: 'https://www.cve.org/CVERecord?id=CVE-2026-23252'
references:
  - url: 'https://git.kernel.org/stable/c/695455fbc49053cbf555f2f302a5dcd600f412ff'
  - url: 'https://git.kernel.org/stable/c/18e9cf2259b4157fd282b323514375f2f6a59edb'
  - url: 'https://git.kernel.org/stable/c/2d8afee89262762fe0e5547772708c75f320c957'
  - url: 'https://git.kernel.org/stable/c/60382993a2e18041f88c7969f567f168cd3b4de3'
tags:
  - cve.org
epss: 0.0013
epssPercentile: 0.02618
ingestedAt: '2026-11-05T22:38:32.101Z'
---

## Overview

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

- `Linux >= ab97f4b1c030750f2475bf4da8a9554d02206640 < 695455fbc49053cbf555f2f302a5dcd600f412ff`
- `Linux >= ab97f4b1c030750f2475bf4da8a9554d02206640 < 18e9cf2259b4157fd282b323514375f2f6a59edb`
- `Linux >= ab97f4b1c030750f2475bf4da8a9554d02206640 < 2d8afee89262762fe0e5547772708c75f320c957`
- `Linux >= ab97f4b1c030750f2475bf4da8a9554d02206640 < 60382993a2e18041f88c7969f567f168cd3b4de3`
- `Linux 6.10`

## Remediation

Refer to the linked advisories for vendor-supplied fixes and affected version ranges.
