Junglewise Threat Intelligence

CVE-2026-46005: Linux Kernel resource leak in XFS xfs_alloc_buftarg

CVE-2026-46005 · Severity: info · CVSS 2.1 · Published 2026-05-27

Technologies: Linux Kernel. Vendors: Linux.

Executive brief

A resource leak was identified in the XFS file system component of the Linux kernel. This occurs when the system fails to properly release a reference to a Direct Access (DAX) device during certain error conditions. While primarily a technical stability issue, such leaks can eventually lead to system resource exhaustion if triggered repeatedly.

Technical details

A resource leak exists in the XFS file system's buffer target allocation logic. Specifically, in the `xfs_alloc_buftarg()` function within `fs/xfs/xfs_buf.c`, the error handling path fails to call `fs_put_dax()` to decrement the reference count of the DAX device. This vulnerability was introduced by the implementation of the `->notify_failure()` handler. An attacker or a failing system process could potentially trigger this error path to cause a slow exhaustion of kernel resources. The issue has been resolved by ensuring `fs_put_dax()` is called before freeing the buffer target structure.

Affected products

  • Linux Linux kernel All versions prior to the fix in XFS component

Timeline

  • 2026-05-27: disclosed: Initial publication of the CVE record
  • 2026-05-27: patched: Fixes merged into various stable kernel branches

References

Related threats