Use-after-free in Linux kernel - CVE-2026-63918
Published: July 20, 2026
Vulnerability details
The vulnerability allows a local user to cause a use-after-free.
The vulnerability exists due to a use-after-free in l2tp_session_get_by_ifname() in the l2tp core when looking up a session by interface name during an RCU-protected list walk. A local user can trigger a race condition that returns a session pointer after its reference count has reached zero to cause a use-after-free.
On PREEMPT_RT kernels, the preemption window is real between the interface name comparison and reference count increment.
Affected software
Ubuntu
linux-oracle (Ubuntu package)
linux-aws (Ubuntu package)
linux-raspi (Ubuntu package)
linux-azure (Ubuntu package)
linux-nvidia (Ubuntu package)
linux-ibm (Ubuntu package)
linux-nvidia-bos (Ubuntu package)
linux-azure-7.0 (Ubuntu package)
linux-gcp-7.0 (Ubuntu package)
linux-oracle-7.0 (Ubuntu package)
linux-azure-fde (Ubuntu package)
linux-nvidia-7.0 (Ubuntu package)
How to mitigate CVE-2026-63918
linux-oracle (Ubuntu package) - update to 7.0.0-1008.8
linux-aws (Ubuntu package) - update to 7.0.0-1009.9
linux-raspi (Ubuntu package) - update to 7.0.0-1015.15
linux-azure (Ubuntu package) - update to 7.0.0-1010.10
linux-nvidia (Ubuntu package) - update to 7.0.0-1016.16
linux-ibm (Ubuntu package) - update to 7.0.0-1010.10
linux-nvidia-bos (Ubuntu package) - update to 7.0.0-2016.16
linux-azure-7.0 (Ubuntu package) - update to 7.0.0-1014.14~24.04.1
linux-gcp-7.0 (Ubuntu package) - update to 7.0.0-1011.11~24.04.1
linux-oracle-7.0 (Ubuntu package) - update to 7.0.0-1011.11~24.04.1
linux-azure-fde (Ubuntu package) - update to 7.0.0-1009.9
linux-nvidia-7.0 (Ubuntu package) - update to 7.0.0-1016.16~24.04.1