Use-after-free in Linux kernel - CVE-2026-31589

 

Use-after-free in Linux kernel - CVE-2026-31589

Published: April 25, 2026


Vulnerability identifier: #VU127808
CSH Severity: Low
CVSS v4: 6.8 [CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N]
CVE-ID: CVE-2026-31589
CWE-ID: CWE-416
Exploitation vector: Local access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a local user to cause a denial of service.

The vulnerability exists due to use-after-free in folio_unmap_invalidate() when accessing mapping->a_ops after the folio has been removed from the mapping and the mapping can be removed. A local user can trigger the vulnerable code path to cause a denial of service.


Affected software

Linux kernel
Ubuntu
linux (Ubuntu package)
linux-azure (Ubuntu package)
linux-nvidia (Ubuntu package)
linux-raspi (Ubuntu package)

How to mitigate CVE-2026-31589

Install security update from vendor's repository.

linux (Ubuntu package) - update to 7.0.0-27.27
linux-azure (Ubuntu package) - addressed in versions 7.0.0-1009.9, 7.0.0-1010.10
linux-nvidia (Ubuntu package) - update to 7.0.0-1013.13
linux-raspi (Ubuntu package) - update to 7.0.0-1014.14

External References

Related Security Bulletins