CVE Database›Document archive›CVE-2026-80531

CVE-2026-80531

kernel: xfs: avoid UAF on sc->tempip in xrep_tempfile_create

Loading…

Severity

Moderate

Red Hat Product Security

4.4

CVSS 3.1

Review impact separately from score.

Published · August 26, 2026

Updated · September 3, 2026

Description

A flaw was found in the xfs filesystem component of the Linux kernel. This vulnerability is a Use-After-Free (UAF) issue, which means that the system attempts to use memory after it has been freed, potentially leading to unpredictable behavior. This specific UAF occurs during the creation of temporary files if an error occurs after a memory address has been assigned. An attacker could potentially exploit this flaw to cause a system crash (Denial of Service) or, in more severe scenarios, execute unauthorized code.

Statement

A potential use-after-free exists in the XFS online repair temporary file creation path because sc tempip can keep referencing a temporary inode after xchk_irele releases it on an error path. If later cleanup or repair logic uses sc tempip again, the kernel may dereference a stale inode pointer and crash, with a worst case possibility of memory corruption depending on object lifetime and reuse.The direct online repair invocation normally requires CAP_SYS_ADMIN.

CVSS score applicability

The CVSS score(s) listed for this vulnerability do not reflect the associated product's status, and are included for informational purposes to better understand the severity of this vulnerability.

Mitigation

No mitigation is specified in collected source.

CVSS / CWE

CVSS 3.1 · 4.4
CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:N/I:N/A:H

CWE-825 · Expired Pointer Dereference