CVE-2026-80531

xfs: avoid UAF on sc->tempip in xrep_tempfile_create

Published Aug 26, 2026 CVSS 3.1 · 7.8 High EPSS < 1% KEV · Not listed
Description
In the Linux kernel, the following vulnerability has been resolved:

xfs: avoid UAF on sc->tempip in xrep_tempfile_create

LOLLM noticed a potential UAF if the tempfile creation code fails after
it set sc->tempip. Fix that.

Analysis

AI-generated

Technical impact

A use‑after‑free occurs in the XFS filesystem when a temporary file is created and the sc->tempip pointer is set, but the creation subsequently fails and the pointer remains dangling. If the kernel later dereferences this freed memory, it can result in arbitrary code execution in kernel mode or cause the kernel to crash, thereby compromising system confidentiality, integrity, or availability.

Affected Systems

All Linux systems running a kernel version prior to the fixing commit are affected; the flaw resides in the XFS filesystem layer of the Linux kernel.

Risk and Exploitability

The CVSS score is 7.8, the EPSS score is not available, and the vulnerability is not listed in the CISA KEV catalog. Exploitation would require influencing filesystem operations to trigger the dangling pointer being dereferenced. No public exploits are known, but the potential for local privilege elevation or denial of service remains if the flaw is triggered.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade the kernel to a release that contains the commit fixing the use‑after‑free in XFS.
  • Configure the affected XFS filesystem as read‑only or restrict write permissions to limit temporary file creation until the patch is applied.
  • Monitor the system for abnormal temporary file activity, unexpected kernel crashes, and investigate promptly if an anomaly is detected.

Generated by OpenCVE AI on August 27, 2026 at 10:41 UTC.

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Debian DLA Debian DLA DLA-4788-1 linux-6.12 security update
Ubuntu USN Ubuntu USN USN-9019-1 Linux kernel (Azure) vulnerabilities
Ubuntu USN Ubuntu USN USN-9020-1 Linux kernel vulnerabilities
History
Type Values Removed Values Added
Weaknesses CWE-416
Type Values Removed Values Added
Metrics 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'}

cvssV3_1

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

Type Values Removed Values Added
Weaknesses CWE-825
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

Moderate

Type Values Removed Values Added
Weaknesses CWE-416
Type Values Removed Values Added
Description In the Linux kernel, the following vulnerability has been resolved: xfs: avoid UAF on sc->tempip in xrep_tempfile_create LOLLM noticed a potential UAF if the tempfile creation code fails after it set sc->tempip. Fix that.
Title xfs: avoid UAF on sc->tempip in xrep_tempfile_create
First Time appeared Linux
Linux linux Kernel
CPEs cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
Vendors & Products Linux
Linux linux Kernel
References
Weaknesses
  • CWE-825

    Expired Pointer Dereference

Sources

Status
PUBLISHED
Assigner
Linux
Published
Updated
Aug 27, 2026, 5:01 AM
Reserved
Aug 26, 2026, 2:34 PM
Status
Received
Published
Aug 26, 2026, 3:17 PM
Modified
Aug 27, 2026, 6:17 AM
Severity
Moderate
Public date
Aug 26, 2026, 12:00 AM