Skip to content
Heist/ feed
Back to feed
UnratedFix available

xfs: get rid of the xchk_xfile_*_descr calls

Type: advisorySources: OSV

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.

Products
Kernel
Affected versions
Not specified
Fixed versions
6.12.78, 6.18.16, 6.19.6
CVEs
CVE-2026-23252
Confirmed fixed CVEs
Not specified
Updated in this feed
3 Nov 2026, 10:37 UTC · Revision 1

Source evidence

xfs: get rid of the xchk_xfile_*_descr calls

core-osv · Original source

Published 18 Mar 2026, 17:01 UTC

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.

osv:CVE-2026-23252

Kernel

Fixed versions: 6.12.78, 6.18.16, 6.19.6

Complete source record
{
  "id": "5a760a82ef8bb1ad8e54e8dba5c03580cefd33cb4858c04954552d467eeccb2a",
  "url": "https://osv.dev/vulnerability/CVE-2026-23252",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "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 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.",
    "evidence": "osv:CVE-2026-23252",
    "products": [
      {
        "name": {
          "value": "Kernel",
          "evidence": "/affected/1/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [
          {
            "value": "6.12.78",
            "evidence": "/affected/1/ranges"
          },
          {
            "value": "6.18.16",
            "evidence": "/affected/1/ranges"
          },
          {
            "value": "6.19.6",
            "evidence": "/affected/1/ranges"
          }
        ],
        "affected_versions": []
      }
    ],
    "severity": "unknown",
    "structured": {
      "id": "CVE-2026-23252",
      "aliases": [
        "CVE-2026-23252"
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
              "type": "GIT",
              "events": [
                {
                  "introduced": "ab97f4b1c030750f2475bf4da8a9554d02206640"
                },
                {
                  "fixed": "695455fbc49053cbf555f2f302a5dcd600f412ff"
                },
                {
                  "fixed": "18e9cf2259b4157fd282b323514375f2f6a59edb"
                },
                {
                  "fixed": "2d8afee89262762fe0e5547772708c75f320c957"
                },
                {
                  "fixed": "60382993a2e18041f88c7969f567f168cd3b4de3"
                }
              ]
            }
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-23252.json"
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "6.10.0"
                },
                {
                  "fixed": "6.12.78"
                }
              ]
            },
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "6.13.0"
                },
                {
                  "fixed": "6.18.16"
                }
              ]
            },
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "6.19.0"
                },
                {
                  "fixed": "6.19.6"
                }
              ]
            }
          ],
          "package": {
            "name": "Kernel",
            "ecosystem": "Linux"
          },
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-23252.json"
          }
        }
      ],
      "modified": "2026-10-28T02:30:28.280495104Z",
      "provider": "osv",
      "references": [
        "https://git.kernel.org/stable/c/18e9cf2259b4157fd282b323514375f2f6a59edb",
        "https://git.kernel.org/stable/c/2d8afee89262762fe0e5547772708c75f320c957",
        "https://git.kernel.org/stable/c/60382993a2e18041f88c7969f567f168cd3b4de3",
        "https://git.kernel.org/stable/c/695455fbc49053cbf555f2f302a5dcd600f412ff",
        "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/23xxx/CVE-2026-23252.json",
        "https://nvd.nist.gov/vuln/detail/CVE-2026-23252",
        "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"
      ],
      "provider_metadata": {
        "cna_assigner": "Linux",
        "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/23xxx/CVE-2026-23252.json"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2026-23252",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": null
  },
  "source_id": "core-osv",
  "document_id": 494591,
  "published_at": "2026-03-18T17:01:43.223+00:00"
}