← Back to CVE Explorer

CVE-2026-23252

Full vulnerability record from the local CVENow database.

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.

Severity
MEDIUM
CVSS score
5.5 (v3.1)
Vulnerability status
Analyzed
Source identifier
416baaa9-dc9f-4396-8d5f-8c081fb06d67
Published
2026-03-18 18:16:23.233000
Last modified
2026-11-05 22:18:09.120000
View original CVE JSON
{
  "id": "CVE-2026-23252",
  "sourceIdentifier": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
  "published": "2026-03-18T18:16:23.233",
  "lastModified": "2026-11-05T22:18:09.120",
  "vulnStatus": "Analyzed",
  "cveTags": [],
  "descriptions": [
    {
      "lang": "en",
      "value": "In the Linux kernel, the following vulnerability has been resolved:\n\nxfs: get rid of the xchk_xfile_*_descr calls\n\nThe xchk_xfile_*_descr macros call kasprintf, which can fail to allocate\nmemory if the formatted string is larger than 16 bytes (or whatever the\nnofail guarantees are nowadays).  Some of them could easily exceed that,\nand Jiaming Zhang found a few places where that can happen with syzbot.\n\nThe descriptions are debugging aids and aren't required to be unique, so\nlet's just pass in static strings and eliminate this path to failure.\nNote this patch touches a number of commits, most of which were merged\nbetween 6.6 and 6.14."
    },
    {
      "lang": "es",
      "value": "En el kernel de Linux, la siguiente vulnerabilidad ha sido resuelta:\n\nxfs: eliminar las llamadas a xchk_xfile_*_descr\n\nLas macros xchk_xfile_*_descr llaman a kasprintf, lo que puede fallar al asignar memoria si la cadena formateada es mayor de 16 bytes (o cualesquiera que sean las garantías de nofail hoy en día). Algunas de ellas podrían exceder fácilmente eso, y Jiaming Zhang encontró algunos lugares donde eso puede ocurrir con syzbot.\n\nLas descripciones son ayudas de depuración y no se requiere que sean únicas, así que simplemente pasemos cadenas estáticas y eliminemos esta ruta de fallo. Nótese que este parche afecta a varios commits, la mayoría de los cuales fueron fusionados entre 6.6 y 6.14."
    }
  ],
  "affected": [
    {
      "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
      "affectedData": [
        {
          "vendor": "Linux",
          "product": "Linux",
          "defaultStatus": "unaffected",
          "programFiles": [
            "fs/xfs/scrub/agheader_repair.c",
            "fs/xfs/scrub/alloc_repair.c",
            "fs/xfs/scrub/attr_repair.c",
            "fs/xfs/scrub/bmap_repair.c",
            "fs/xfs/scrub/common.h",
            "fs/xfs/scrub/dir.c",
            "fs/xfs/scrub/dir_repair.c",
            "fs/xfs/scrub/dirtree.c",
            "fs/xfs/scrub/ialloc_repair.c",
            "fs/xfs/scrub/nlinks.c",
            "fs/xfs/scrub/parent.c",
            "fs/xfs/scrub/parent_repair.c",
            "fs/xfs/scrub/quotacheck.c",
            "fs/xfs/scrub/refcount_repair.c",
            "fs/xfs/scrub/rmap_repair.c",
            "fs/xfs/scrub/rtbitmap_repair.c",
            "fs/xfs/scrub/rtrefcount_repair.c",
            "fs/xfs/scrub/rtrmap_repair.c",
            "fs/xfs/scrub/rtsummary.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "versions": [
            {
              "version": "ab97f4b1c030750f2475bf4da8a9554d02206640",
              "lessThan": "695455fbc49053cbf555f2f302a5dcd600f412ff",
              "versionType": "git",
              "status": "affected"
            },
            {
              "version": "ab97f4b1c030750f2475bf4da8a9554d02206640",
              "lessThan": "18e9cf2259b4157fd282b323514375f2f6a59edb",
              "versionType": "git",
              "status": "affected"
            },
            {
              "version": "ab97f4b1c030750f2475bf4da8a9554d02206640",
              "lessThan": "2d8afee89262762fe0e5547772708c75f320c957",
              "versionType": "git",
              "status": "affected"
            },
            {
              "version": "ab97f4b1c030750f2475bf4da8a9554d02206640",
              "lessThan": "60382993a2e18041f88c7969f567f168cd3b4de3",
              "versionType": "git",
              "status": "affected"
            }
          ]
        },
        {
          "vendor": "Linux",
          "product": "Linux",
          "defaultStatus": "affected",
          "programFiles": [
            "fs/xfs/scrub/agheader_repair.c",
            "fs/xfs/scrub/alloc_repair.c",
            "fs/xfs/scrub/attr_repair.c",
            "fs/xfs/scrub/bmap_repair.c",
            "fs/xfs/scrub/common.h",
            "fs/xfs/scrub/dir.c",
            "fs/xfs/scrub/dir_repair.c",
            "fs/xfs/scrub/dirtree.c",
            "fs/xfs/scrub/ialloc_repair.c",
            "fs/xfs/scrub/nlinks.c",
            "fs/xfs/scrub/parent.c",
            "fs/xfs/scrub/parent_repair.c",
            "fs/xfs/scrub/quotacheck.c",
            "fs/xfs/scrub/refcount_repair.c",
            "fs/xfs/scrub/rmap_repair.c",
            "fs/xfs/scrub/rtbitmap_repair.c",
            "fs/xfs/scrub/rtrefcount_repair.c",
            "fs/xfs/scrub/rtrmap_repair.c",
            "fs/xfs/scrub/rtsummary.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "versions": [
            {
              "version": "6.10",
              "status": "affected"
            },
            {
              "version": "0",
              "lessThan": "6.10",
              "versionType": "semver",
              "status": "unaffected"
            },
            {
              "version": "6.12.78",
              "lessThanOrEqual": "6.12.*",
              "versionType": "semver",
              "status": "unaffected"
            },
            {
              "version": "6.18.16",
              "lessThanOrEqual": "6.18.*",
              "versionType": "semver",
              "status": "unaffected"
            },
            {
              "version": "6.19.6",
              "lessThanOrEqual": "6.19.*",
              "versionType": "semver",
              "status": "unaffected"
            },
            {
              "version": "7.0",
              "lessThanOrEqual": "*",
              "versionType": "original_commit_for_fix",
              "status": "unaffected"
            }
          ]
        }
      ]
    }
  ],
  "metrics": {
    "cvssMetricV31": [
      {
        "source": "[email protected]",
        "type": "Primary",
        "cvssData": {
          "version": "3.1",
          "vectorString": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H",
          "baseScore": 5.5,
          "baseSeverity": "MEDIUM",
          "attackVector": "LOCAL",
          "attackComplexity": "LOW",
          "privilegesRequired": "LOW",
          "userInteraction": "NONE",
          "scope": "UNCHANGED",
          "confidentialityImpact": "NONE",
          "integrityImpact": "NONE",
          "availabilityImpact": "HIGH"
        },
        "exploitabilityScore": 1.8,
        "impactScore": 3.6
      }
    ],
    "ssvcV203": [
      {
        "source": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
        "ssvcData": {
          "timestamp": "2026-11-05T21:23:36.372228Z",
          "id": "CVE-2026-23252",
          "options": [
            {
              "exploitation": "none"
            },
            {
              "automatable": "no"
            },
            {
              "technicalImpact": "partial"
            }
          ],
          "role": "CISA Coordinator",
          "version": "2.0.3"
        }
      }
    ]
  },
  "weaknesses": [
    {
      "source": "[email protected]",
      "type": "Primary",
      "description": [
        {
          "lang": "en",
          "value": "NVD-CWE-noinfo"
        }
      ]
    }
  ],
  "configurations": [
    {
      "nodes": [
        {
          "operator": "OR",
          "negate": false,
          "cpeMatch": [
            {
              "vulnerable": true,
              "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
              "versionStartIncluding": "6.10",
              "versionEndExcluding": "6.12.78",
              "matchCriteriaId": "DA007D53-8D99-404A-8E76-341B5D45F5B3"
            },
            {
              "vulnerable": true,
              "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
              "versionStartIncluding": "6.13",
              "versionEndExcluding": "6.18.16",
              "matchCriteriaId": "B4B8CDA9-BADF-4CF5-8B3B-702DE8EEA40B"
            },
            {
              "vulnerable": true,
              "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
              "versionStartIncluding": "6.19",
              "versionEndExcluding": "6.19.6",
              "matchCriteriaId": "373EEEDA-FAA1-4FB4-B6ED-DB4DD99DBE67"
            }
          ]
        }
      ]
    }
  ],
  "references": [
    {
      "url": "https://git.kernel.org/stable/c/18e9cf2259b4157fd282b323514375f2f6a59edb",
      "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
      "tags": [
        "Patch"
      ]
    },
    {
      "url": "https://git.kernel.org/stable/c/2d8afee89262762fe0e5547772708c75f320c957",
      "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
      "tags": [
        "Patch"
      ]
    },
    {
      "url": "https://git.kernel.org/stable/c/60382993a2e18041f88c7969f567f168cd3b4de3",
      "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
      "tags": [
        "Patch"
      ]
    },
    {
      "url": "https://git.kernel.org/stable/c/695455fbc49053cbf555f2f302a5dcd600f412ff",
      "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
      "tags": [
        "Patch"
      ]
    }
  ]
}