# CVE-2026-80531: xfs: avoid UAF on sc->tempip in xrep_tempfile_create

- Severity: High 7.8 (CVSS:3.1, scored by Linux) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.13%, higher than 2% of CVEs (2026-12-01)
- Published: 2026-08-26T14:37:08.594Z
- Modified: 2026-08-27T06:17:33.500Z
- Assigned by: Linux

## 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.

(As written by CVE List.)

## Affected

- Linux Linux: from 84c14ee39dd388d73054181c70b3f42af7ddc238 before 08a20776ce33a2a52d856911e447c59424f0465a; from 84c14ee39dd388d73054181c70b3f42af7ddc238 before cd1f876d1bc2e94f271e07c606cacd85b109108a; from 84c14ee39dd388d73054181c70b3f42af7ddc238 before 96246a3200d32a43766152e56bc7ae2d93604d74; from 84c14ee39dd388d73054181c70b3f42af7ddc238 before 0c88e10d12de9ca7cbed1467bb1b52310101bff8; 6.10 (not affected: before 6.10; from 6.12.105 up to 6.12.*; from 6.18.46 up to 6.18.*; from 7.1.10 up to 7.1.*; from 7.2 up to *)

## References

- <https://git.kernel.org/stable/c/08a20776ce33a2a52d856911e447c59424f0465a>
- <https://git.kernel.org/stable/c/cd1f876d1bc2e94f271e07c606cacd85b109108a>
- <https://git.kernel.org/stable/c/96246a3200d32a43766152e56bc7ae2d93604d74>
- <https://git.kernel.org/stable/c/0c88e10d12de9ca7cbed1467bb1b52310101bff8>

## Sources

- CVE List: [CVE-2026-80531](https://www.cve.org/CVERecord?id=CVE-2026-80531), CVE Terms of Use, modified 2026-08-27
- NVD: [CVE-2026-80531](https://nvd.nist.gov/vuln/detail/CVE-2026-80531), Public domain, modified 2026-08-27

---

Page: https://cve.day/CVE-2026-80531 · Whole record: https://cve.day/CVE-2026-80531.json · Rebuilt by cve.day 2026-11-25T22:59:35.385Z
