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-ibm (Ubuntu package)
linux-azure (Ubuntu package)
linux-aws (Ubuntu package)
linux-nvidia (Ubuntu package)
linux-nvidia-bos (Ubuntu package)
How to mitigate CVE-2026-63918
linux-ibm (Ubuntu package) - addressed in versions 7.0.0-1008.8, 7.0.0-1010.10
linux-azure (Ubuntu package) - addressed in versions 7.0.0-1009.9, 7.0.0-1010.10
linux-aws (Ubuntu package) - addressed in versions 7.0.0-1009.9, 7.0.0-1015.15
linux-nvidia (Ubuntu package) - addressed in versions 7.0.0-1016.16, 7.0.0-1016.16~24.04.1
linux-nvidia-bos (Ubuntu package) - update to 7.0.0-2016.16