Use-after-free in Linux kernel - CVE-2026-98995
Published: October 23, 2026
Vulnerability details
The vulnerability allows a local user to cause kernel memory corruption that may result in a denial of service.
The vulnerability exists due to use-after-free in the Linux kernel mount namespace code in fs/namespace.c when mnt_change_mountpoint() reparents a mount without clearing the old parent's overmount pointer. A local user can trigger a sequence of mount reparenting and unmounting operations while retaining a file descriptor to the old parent, then use that mount as the target of a mount-beneath operation to make topmost_overmount() follow the dangling pointer and do_lock_mount() take references on freed memory, potentially causing kernel memory corruption and a denial of service.
Affected software
Ubuntu
linux (Ubuntu package)
linux-realtime (Ubuntu package)
linux-oracle (Ubuntu package)
linux-aws (Ubuntu package)
linux-gcp (Ubuntu package)
linux-azure (Ubuntu package)
linux-raspi (Ubuntu package)
linux-ibm (Ubuntu package)
linux-oracle-7.0 (Ubuntu package)
linux-gcp-7.0 (Ubuntu package)
linux-azure-fde-7.0 (Ubuntu package)
linux-oem-7.0 (Ubuntu package)
linux-gke (Ubuntu package)
linux-azure-fde (Ubuntu package)
linux-aws-7.0 (Ubuntu package)
How to mitigate CVE-2026-98995
linux (Ubuntu package) - update to 7.0.0-43.43
linux-realtime (Ubuntu package) - update to 7.0.0-43.43.1
linux-oracle (Ubuntu package) - update to 7.0.0-1016.18
linux-aws (Ubuntu package) - update to 7.0.0-1017.18
linux-gcp (Ubuntu package) - update to 7.0.0-1017.19
linux-azure (Ubuntu package) - update to 7.0.0-1020.21
linux-raspi (Ubuntu package) - update to 7.0.0-1023.23
linux-ibm (Ubuntu package) - update to 7.0.0-1018.18
linux-oracle-7.0 (Ubuntu package) - update to 7.0.0-1016.18~24.04.1
linux-gcp-7.0 (Ubuntu package) - update to 7.0.0-1017.19~24.04.1
linux-azure-fde-7.0 (Ubuntu package) - update to 7.0.0-1019.19~24.04.1
linux-oem-7.0 (Ubuntu package) - update to 7.0.0-1018.18
linux-gke (Ubuntu package) - update to 7.0.0-1010.11
linux-azure-fde (Ubuntu package) - update to 7.0.0-1019.19
linux-aws-7.0 (Ubuntu package) - update to 7.0.0-1017.18~24.04.1