Use-after-free in Linux kernel - CVE-2026-98507
Published: October 22, 2026
Vulnerability details
The vulnerability allows a local user to cause a denial of service by leaving tasks indefinitely blocked on anonymous memory locks.
The vulnerability exists due to use-after-free caused by a missing memory barrier in __anon_vma_prepare() in mm/rmap.c when publishing an anon_vma during concurrent page faults. A local user can trigger concurrent faults on compatible adjacent memory mappings to cause a stale anon_vma->root pointer to be used, resulting in locking and unlocking different locks and leaving tasks blocked.
The adjacent virtual memory areas must be unmerged but anon_vma-compatible, for example because they differ in access flags that can be changed with mprotect().
Affected software
Ubuntu
linux (Ubuntu package)
linux-aws (Ubuntu package)
linux-gcp (Ubuntu package)
linux-oracle (Ubuntu package)
linux-ibm (Ubuntu package)
linux-hwe-7.0 (Ubuntu package)
linux-oem-7.0 (Ubuntu package)
How to mitigate CVE-2026-98507
linux (Ubuntu package) - update to 7.0.0-42.42
linux-aws (Ubuntu package) - update to 7.0.0-1016.17
linux-gcp (Ubuntu package) - update to 7.0.0-1016.18
linux-oracle (Ubuntu package) - update to 7.0.0-1015.16
linux-ibm (Ubuntu package) - update to 7.0.0-1017.17
linux-hwe-7.0 (Ubuntu package) - update to 7.0.0-42.42~24.04.1
linux-oem-7.0 (Ubuntu package) - update to 7.0.0-1017.17
External References
- https://git.kernel.org/stable/c/465e222815c8839445d09028fa4c77e70f7f1c7d
- https://git.kernel.org/stable/c/4cef512a955e4008ae4436a4fc97726976df1fdf
- https://git.kernel.org/stable/c/a500df43cde075f6ea4b8bae495d89f2c35b3e16
- https://git.kernel.org/stable/c/b6ac0b3f6013c168f22cad97e79967accacb08e1
- https://git.kernel.org/stable/c/d348a715380bfcc6a611bdf722169d53fd01e735