# xfs: fix a resource leak in xfs_alloc_buftarg()

CVE record · `CVE-2026-46005`

- **Identifiers:** `CVE-2026-46005`
- **State:** Confirmed
- **Severity:** No CVSS score
- **Critical:** No
- **CNA:** Linux
- **Technologies:** [Linux kernel](https://agentprime.io/advisories/technology/linux-kernel.md)
- **Published:** 27 May 2026
- **Updated:** 6 Nov 2026
- **Reviewed by a person:** No

Published by the CVE Program (CNA: Linux) at 27 May 2026, 12:56 UTC. agentprime has not analysed this yet, so whether it affects any app is not known. This CVE names a vendor and product rather than a package, so the lockfile check doesn’t match it.

## Affected products, as the CNA wrote them

- Vendor: Linux. Product: Linux.
  - affected: `6f643c57d57c56d4677bc05f1fca2ef3f249797c to before ed2d6442e61169e565727ba15c4f6a0cb5ce16df` (git)
  - affected: `6f643c57d57c56d4677bc05f1fca2ef3f249797c to before 82fb9da6477d08bdab954dc7bc081a41f2f9cae6` (git)
  - affected: `6f643c57d57c56d4677bc05f1fca2ef3f249797c to before 28a6c132b8c6e5eeefa889c4fb43d65b12989d48` (git)
  - affected: `6f643c57d57c56d4677bc05f1fca2ef3f249797c to before 5c293a1e1ef0f838772d20ae8afae4cbd87cd3f9` (git)
  - affected: `6f643c57d57c56d4677bc05f1fca2ef3f249797c to before 5804cb507233ed767a83ac70527b2f6c4566ec75` (git)
  - affected: `6f643c57d57c56d4677bc05f1fca2ef3f249797c to before 29a7b2614357393b176ef06ba5bc3ff5afc8df69` (git)
  - Other versions: unaffected
- Vendor: Linux. Product: Linux.
  - affected: `6.0`
  - unaffected: `before 6.0` (semver)
  - unaffected: `6.1.176 to 6.1.*, inclusive` (semver)
  - unaffected: `6.6.140 to 6.6.*, inclusive` (semver)
  - unaffected: `6.12.86 to 6.12.*, inclusive` (semver)
  - unaffected: `6.18.27 to 6.18.*, inclusive` (semver)
  - unaffected: `7.0.4 to 7.0.*, inclusive` (semver)
  - unaffected: `7.1 to *, inclusive` (original_commit_for_fix)
  - Other versions: affected

## Machine-written summary

Summary written by Claude Haiku from the source advisory. Not reviewed by a person.

> The Linux kernel XFS code in xfs_alloc_buftarg() leaks a DAX device reference on an error path, affecting version 6.0 and later builds before their fixes. Fixed stable releases include 6.1.176, 6.6.140, 6.12.86 and 6.18.27. The source gives few details on attacker access or impact. Upgrade to the fixed release for your branch, as no workaround is listed.

Written 17 Nov 2026.

## Not analysed yet

We haven’t published our own analysis of this CVE. If a person reviews it, this page will say what’s affected and what has to be true for it to matter.

## Severity and exploitation

No source has published a CVSS score for this record yet.

- **CISA KEV:** Not listed.
- **EPSS:** 0.0013, the 2nd percentile, on 17 Nov 2026: FIRST’s estimate of the chance of exploitation in the next 30 days.

## Timeline

- 27 May 2026, 12:56 UTC: [Confirmed by the CVE List](https://www.cve.org/CVERecord?id=CVE-2026-46005)
- 27 May 2026, 14:17 UTC: [Confirmed by NVD](https://nvd.nist.gov/vuln/detail/CVE-2026-46005)

## Sources

- [CVE List: CVE-2026-46005](https://www.cve.org/CVERecord?id=CVE-2026-46005)
- [NVD: CVE-2026-46005](https://nvd.nist.gov/vuln/detail/CVE-2026-46005)

### References from the CNA

- <https://git.kernel.org/stable/c/ed2d6442e61169e565727ba15c4f6a0cb5ce16df>
- <https://git.kernel.org/stable/c/82fb9da6477d08bdab954dc7bc081a41f2f9cae6>
- <https://git.kernel.org/stable/c/28a6c132b8c6e5eeefa889c4fb43d65b12989d48>
- <https://git.kernel.org/stable/c/5c293a1e1ef0f838772d20ae8afae4cbd87cd3f9>
- <https://git.kernel.org/stable/c/5804cb507233ed767a83ac70527b2f6c4566ec75>
- <https://git.kernel.org/stable/c/29a7b2614357393b176ef06ba5bc3ff5afc8df69>

Facts on this page come from the CVE List as the CNA published them, with CVSS from the sources named above, CISA KEV and FIRST EPSS. Vendors, products and versions are shown as the CNA wrote them. We don’t reproduce the CVE’s description.

## Check whether this affects you

This CVE names a vendor and product rather than a package, so the lockfile check doesn’t match it. Compare the affected versions above with what you run.

- With the agentprime MCP server (<https://api.agentprime.io/mcp>), `get_advisory` returns this record and `search_advisories` finds related ones. Setup: <https://agentprime.io/mcp.md>
- As JSON: <https://api.agentprime.io/v1/advisories/CVE-2026-46005>
- Everything that needs attention now: <https://agentprime.io/advisories/critical.md>

---

The web page: <https://agentprime.io/advisories/CVE-2026-46005/>. Everything for agents: <https://agentprime.io/llms.txt>.
