CVE-2026-46005

xfs: fix a resource leak in xfs_alloc_buftarg()

Published May 27, 2026 CVSS 3.1 · 5.5 Medium EPSS < 1% KEV · Not listed
Description
In the Linux kernel, the following vulnerability has been resolved:

xfs: fix a resource leak in xfs_alloc_buftarg()

In the error path, call fs_put_dax() to drop the DAX
device reference.

Analysis

AI-generated

Technical impact

The flaw originates from a missing fs_put_dax() call in the error handling path of xfs_alloc_buftarg(). The missing release of the DAX device reference causes a persistent resource hold, which can accumulate over time and exhaust the kernel’s reference count or memory space associated with direct-access devices. While it does not expose data directly, the accumulation can degrade or halt system responsiveness, effectively creating a denial-of-service condition. The CVE description does not provide an explicit attack vector; it is inferred that an attacker must trigger the error path repeatedly, for example by performing numerous XFS operations that provoke allocation failures or by manipulating the filesystem in a way that causes errors. No network-based attack is described, and only local privilege or the ability to repeatedly induce errors can lead to exploitation.

Affected Systems

Any Linux kernel build that predates the inclusion of the commit identified by 28a6c132b8c6e5eeefa889c4fb43d65b12989d48 is affected. That includes all distributions that ship kernels without this patch. The CNA listing simply notes "Linux:Linux" for affected products.

Risk and Exploitability

The CVSS score of 5.5 indicates moderate severity. The EPSS score of 0.00127 (less than 1%) indicates a very low but non-zero probability of exploitation, and the vulnerability is not listed in CISA’s KEV catalog. Because the defect is confined to kernel operations and requires the ability to repeatedly trigger the error path, exploitation is limited to locally privileged users or those who can influence XFS usage. The primary risk is availability: as the resource leak grows, system performance may degrade or the kernel may become unresponsive. Confidentiality and integrity risks are low, given the absence of data disclosure or modification paths.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade the kernel to a version that incorporates the fix (any commit following 28a6c132b8c6e5eeefa889c4fb43d65b12989d48).
  • If immediate kernel upgrade is not possible, disable DAX for the affected XFS filesystems or restrict access to functions that can trigger the error path as a temporary mitigation.
  • For custom or out-of-tree kernels, apply the patch that adds the missing fs_put_dax() call to the error path and verify the change with a git diff of commit 28a6c132b8c6e5eeefa889c4fb43d65b12989d48.

Generated by OpenCVE AI on June 18, 2026 at 04:00 UTC.

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Debian DLA Debian DLA DLA-4665-1 linux security update
Debian DLA Debian DLA DLA-4671-1 linux-6.1 security update
Ubuntu USN Ubuntu USN USN-8488-1 Linux kernel vulnerabilities
Ubuntu USN Ubuntu USN USN-8489-1 Linux kernel (OEM) vulnerabilities
Ubuntu USN Ubuntu USN USN-8488-2 Linux kernel (Raspberry Pi) vulnerabilities
Ubuntu USN Ubuntu USN USN-8507-1 Linux kernel (NVIDIA) vulnerabilities
Ubuntu USN Ubuntu USN USN-8567-1 Linux kernel vulnerabilities
Ubuntu USN Ubuntu USN USN-8569-1 Linux kernel (HWE) vulnerabilities
Ubuntu USN Ubuntu USN USN-8574-1 Linux kernel (GCP FIPS) vulnerabilities
Ubuntu USN Ubuntu USN USN-8574-2 Linux kernel vulnerabilities
Ubuntu USN Ubuntu USN USN-8595-1 Linux kernel (Oracle) vulnerabilities
Ubuntu USN Ubuntu USN USN-8596-1 Linux kernel (NVIDIA) vulnerabilities
Ubuntu USN Ubuntu USN USN-8595-2 Linux kernel (AWS) vulnerabilities
Ubuntu USN Ubuntu USN USN-8603-1 Linux kernel (Azure) vulnerabilities
Ubuntu USN Ubuntu USN USN-8606-1 Linux kernel (Azure) vulnerabilities
Ubuntu USN Ubuntu USN USN-8607-1 Linux kernel (Azure CVM) vulnerabilities
Ubuntu USN Ubuntu USN USN-8608-1 Linux kernel (Azure FIPS) vulnerabilities
Ubuntu USN Ubuntu USN USN-8609-1 Linux kernel (Azure CVM) vulnerabilities
Ubuntu USN Ubuntu USN USN-8574-3 Linux kernel vulnerabilities
Ubuntu USN Ubuntu USN USN-8595-3 Linux kernel (AWS) vulnerabilities
Ubuntu USN Ubuntu USN USN-8619-1 Linux kernel (HWE) vulnerabilities
Ubuntu USN Ubuntu USN USN-8665-1 Linux kernel (Raspberry Pi) vulnerabilities
History
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
Weaknesses CWE-401
Type Values Removed Values Added
Weaknesses CWE-911
References
Metrics threat_severity

None

cvssV3_1

{'score': 5.5, 'vector': 'CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H'}

threat_severity

Low

Type Values Removed Values Added
Description In the Linux kernel, the following vulnerability has been resolved: xfs: fix a resource leak in xfs_alloc_buftarg() In the error path, call fs_put_dax() to drop the DAX device reference.
Title xfs: fix a resource leak in xfs_alloc_buftarg()
First Time appeared Linux
Linux linux Kernel
CPEs cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
Vendors & Products Linux
Linux linux Kernel
References
Weaknesses
  • CWE-401

    Missing Release of Memory after Effective Lifetime

  • CWE-911

    Improper Update of Reference Count

Sources

Status
PUBLISHED
Assigner
Linux
Published
Updated
Nov 6, 2026, 4:13 PM
Reserved
May 13, 2026, 3:03 PM
Status
Modified
Published
May 27, 2026, 2:17 PM
Modified
Nov 6, 2026, 5:17 PM
Severity
Low
Public date
May 27, 2026, 12:00 AM