Linux
xfs: avoid UAF on sc->tempip in xrep_tempfile_create
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.
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
- >= 84c14ee39dd388d73054181c70b3f42af7ddc238, < 08a20776ce33a2a52d856911e447c59424f0465a
- >= 84c14ee39dd388d73054181c70b3f42af7ddc238, < cd1f876d1bc2e94f271e07c606cacd85b109108a
- >= 84c14ee39dd388d73054181c70b3f42af7ddc238, < 96246a3200d32a43766152e56bc7ae2d93604d74
- >= 84c14ee39dd388d73054181c70b3f42af7ddc238, < 0c88e10d12de9ca7cbed1467bb1b52310101bff8
Fixed in 08a20776ce33a2a52d856911e447c59424f0465a, cd1f876d1bc2e94f271e07c606cacd85b109108a, 96246a3200d32a43766152e56bc7ae2d93604d74, 0c88e10d12de9ca7cbed1467bb1b52310101bff8
- 6.10
Fixed in 0, 6.12.105, 6.18.46, 7.1.10, 7.2
Mitigation
Upgrade Linux to 08a20776ce33a2a52d856911e447c59424f0465a or cd1f876d1bc2e94f271e07c606cacd85b109108a or 96246a3200d32a43766152e56bc7ae2d93604d74 or 0c88e10d12de9ca7cbed1467bb1b52310101bff8 or later.
Upgrade Linux to 0 or 6.12.105 or 6.18.46 or 7.1.10 or 7.2 or later.
Timeline
Days relative to CVE publicationNo public PoC found yet; not in CISA KEV.
PoC repositories
Found on GitHub.No PoC repositories found yet.