CVE-2026-80531 xfs: avoid UAF on sc->tempip in xrep_tempfile_create
A use-after-free vulnerability in the Linux kernel's XFS filesystem allows attackers to potentially execute code or escalate privileges.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Local or same network only
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2026-80531?
CVE-2026-80531 is a high-severity use after free vulnerability in Linux, published on 26 Aug 2026. It can only be exploited from the same machine or local network, with no action from the victim.
Official 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.
Which versions are affected by CVE-2026-80531?
How do I fix CVE-2026-80531?
Apply the vendor's patch.
Upgrade to the fixed version. These bugs are found with fuzzing and sanitisers and avoided by memory-safe languages. More about Use after free.
Is CVE-2026-80531 being exploited?
There is no known exploitation of CVE-2026-80531 in the wild and no public exploit code.
Sources
Also known as BELL-CVE-2026-80531, DEBIAN-CVE-2026-80531, GHSA-2jf4-529g-mpwh, UBUNTU-CVE-2026-80531.