CVE-2026-43153
xfs: remove xfs_attr_leaf_hasname
Reported by linux · Published May 6, 2026
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.
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| kernel6.12-libbpf-devel | Amazon Linux | 1:6.12.77-99.140.amzn2023 |
| kernel6.12 | Amazon Linux | 1:6.12.77-99.140.amzn2023 |
| perf6.18 | Amazon Linux | 1:6.18.16-18.222.amzn2023 |
| kernel6.18-headers | Amazon Linux | 1:6.18.16-18.222.amzn2023 |
| kernel6.12-libbpf | Amazon Linux | 1:6.12.77-99.140.amzn2023 |
| kernel6.18-modules-extra | Amazon Linux | 1:6.18.16-18.222.amzn2023 |
| perf6.12 | Amazon Linux | 1:6.12.77-99.140.amzn2023 |
| kernel6.18-devel | Amazon Linux | 1:6.18.16-18.222.amzn2023 |
| Linux | Linux | 530082df991903f3330354e99e0cb7b05debfa86, 457121c01f609b9934addbb04d5c1ef638c71c61 |
Risk scores
Affected products
| Vendor | Product | Versions |
|---|---|---|
| Linux | Linux | 07120f1abdff80f3d1351f733661abe28d609535, 07120f1abdff80f3d1351f733661abe28d609535, 07120f1abdff80f3d1351f733661abe28d609535 |
| Linux | Linux | 5.9, 0, 6.1.191 |
| amazon:2023 | kernel6.12-libbpf-devel | 0 |
| amazon:2023 | kernel6.12 | 0 |
| amazon:2023 | perf6.18 | 0 |
| amazon:2023 | kernel6.18-headers | 0 |
| amazon:2023 | kernel6.12-libbpf | 0 |
| amazon:2023 | kernel6.18-modules-extra | 0 |
| amazon:2023 | perf6.12 | 0 |
| amazon:2023 | kernel6.18-devel | 0 |
| amazon:2023 | kernel6.18-libbpf-static | 0 |
| amazon:2023 | kernel6.12-modules-extra | 0 |
| amazon:2023 | bpftool6.18 | 0 |
| amazon:2023 | kernel-livepatch-6.18.16-18.222 | 0 |
| amazon:2023 | kernel6.12-headers | 0 |
| amazon:2023 | kernel6.18 | 0 |
| amazon:2023 | kernel6.12-devel | 0 |
| amazon:2023 | kernel6.12-modules-extra-common | 0 |
| amazon:2023 | python3-perf6.12 | 0 |
| amazon:2023 | kernel6.18-modules-extra-common | 0 |
…and 12 more
Timeline
- May 6, 2026 CVE Published
- May 6, 2026 Security Advisory (96 in total, the first dated here)
- May 18, 2026 EPSS Score (27 in total, the first dated here)
- Aug 4, 2026 Coalition ESS Score
- Aug 11, 2026 Distribution Patch (91 in total, the first dated here)
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2026-43153
vulnetix vdb fixes CVE-2026-43153
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2026-43153/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart