xfs: remove xfs_attr_leaf_hasname
CVE-2026-43153 · published 6 May 2026
How serious is it
- Severity: high, CVSS score 7.8 out of 10.
- No exploit prediction (EPSS) score yet.
- Not on the CISA list of exploited vulnerabilities.
- No public exploit in Exploit-DB.
Is your app affected by CVE-2026-43153?
Paste this prompt into Claude Code, Cursor or any AI coding tool: it runs a free Shippable scan of your project and fixes what it finds. Built with Lovable, Bolt or v0? Scan your live app. Or upload your package file.
Who is affected
- Linux Linux: 07120f1abdff80f3d1351f733661abe28d609535 to < 759e44a6cba8e81d945ffc269a326ec39e7f54f5, 07120f1abdff80f3d1351f733661abe28d609535 to < 2fbc8421d1db102c0e5458607e042a23a03648b1, 07120f1abdff80f3d1351f733661abe28d609535 to < 457121c01f609b9934addbb04d5c1ef638c71c61, 07120f1abdff80f3d1351f733661abe28d609535 to < 530082df991903f3330354e99e0cb7b05debfa86
- Linux Linux: 5.9
How to check
- Find out whether you run the affected product and which version, then compare it with the versions above.
How to fix
Copies a prompt for Claude Code, Cursor or Codex that asks it to check whether you run this product.
- Apply the vendor's update or mitigation from the references below. If there is none yet, limit exposure of the affected service until there is.
- If a vulnerable version was live, check your logs and rotate the secrets that server could read.
The advisory
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.
Check your whole app
Dependencies are only half of it. Free and read-only: before you push, run npx shippable-dev scan localhost:3000 in your project folder, no account needed. For your live app, you prove it's yours with a one-line tag first.
References
- git.kernel.org/stable/c/759e44a6cba8e81d945ffc269a326ec39e7f54f5
- git.kernel.org/stable/c/2fbc8421d1db102c0e5458607e042a23a03648b1
- git.kernel.org/stable/c/457121c01f609b9934addbb04d5c1ef638c71c61
- git.kernel.org/stable/c/530082df991903f3330354e99e0cb7b05debfa86
- git.kernel.org/stable/c/3a65ea768b8094e4699e72f9ab420eb9e0f3f568
Merged from CVE List. Last updated 25 Oct 2026. All vulnerabilities · RSS · JSON