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.
Published: 2026-08-26
Score: n/a
EPSS: n/a
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

A use‑after‑free condition is triggered in the XFS filesystem when a temporary file is created, the sc->tempip pointer is set, but the creation fails and the pointer remains dangling. If an attacker can cause the kernel to dereference this freed memory, arbitrary code could be executed or the kernel could crash, leading to loss of confidentiality, integrity, or availability.

Affected Systems

All Linux systems running the Linux kernel before the fix are impacted. The vulnerability is present in the xfs filesystem implementation across all mainstream Linux distributions that ship the affected kernel version.

Risk and Exploitability

The CVSS score and EPSS are not provided, and the vulnerability is not listed in the CISA KEV catalog, but the use‑after‑free flaw is inherently severe. Exploitation requires an attacker to influence filesystem operations or supply crafted data that forces the kernel to use the freed pointer. No public exploits are known at this time, but the potential for remote code execution or denial of service remains high if the flaw is triggered.

Generated by OpenCVE AI on August 26, 2026 at 15:43 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Apply a Linux kernel update that contains the commit resolving the use‑after‑free in XFS.
  • If an immediate kernel upgrade is not possible, restrict write access to the XFS filesystem and monitor for any anomalous creation of temporary files.
  • Keep the system’s security patches current and subscribe to kernel mailing lists for notification of any additional mitigations.

Generated by OpenCVE AI on August 26, 2026 at 15:43 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Wed, 26 Aug 2026 16:00:00 +0000

Type Values Removed Values Added
Weaknesses CWE-416

Wed, 26 Aug 2026 14:45:00 +0000

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

Subscriptions

Linux Linux Kernel
cve-icon MITRE

Status: PUBLISHED

Assigner: Linux

Published:

Updated: 2026-08-26T14:37:08.594Z

Reserved: 2026-08-26T14:34:25.764Z

Link: CVE-2026-80531

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

Published: 2026-08-26T15:17:07.140

Modified: 2026-08-26T15:17:07.140

Link: CVE-2026-80531

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-08-26T17:30:09Z

Weaknesses