Medium [CVE-2026-80531] avoid UAF on sc->tempip in xrep_tempfile_create
This medium-severity Red Hat Linux advisory covers CVE-2026-80531.
Aggregated and source-linked by VulniPulse. Data sources, validation and limitations.
VulniPulse record published Record updated
Android app · Google Play
Monitor future Red Hat Linux CVEs from your phone.
Choose a whole vendor or a precise platform, then receive matching security advisories by phone notification, email, or both. Coverage follows 34 official vendor sources and 160+ reviewed platform categories.
Summary
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.
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.
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.
Red Hat severity: Moderate — CVSS 4.4 (CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:N/I:N/A:H). Weakness: CWE-825.
Affected versions
No affected-version range was extracted from the source record. The vendor advisory is authoritative — check it before change work.
Official advisory · high-confidence parse· fetched 11 days ago·verify at source
Fixed versions
No fixed release is recorded yet. That does not prove no patch exists — confirm against the vendor advisory.
Official advisory · high-confidence parse· fetched 11 days ago·verify at source
Mitigation checklist
- Mitigation for this issue is either not available or the currently available options do not meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base, or stability.
Official advisory · high-confidence parse· fetched 11 days ago·verify at source
Discussion(0)
No comments yet. Share field notes, upgrade gotchas, or questions — verify against the vendor advisory before acting on community advice.
Sign in to join the discussion.