CVE-2026-23072
kernel: l2tp: Fix memleak in l2tp_udp_encap_recv()
Severity
LowRed Hat Product Security
CVSS 3.1
Review impact separately from score.
Published · February 4, 2026
Updated · June 28, 2026
Description
A memory leak vulnerability was found in the Linux kernel's L2TP (Layer 2 Tunneling Protocol) implementation. After a code refactoring that moved protocol version validation in l2tp_udp_encap_recv(), the error handling path fails to call l2tp_session_put() to release the session reference. This causes l2tp_session, l2tp_tunnel, and associated socket structures to leak on each failed validation.
Statement
This memory leak was discovered by syzkaller and affects systems using L2TP tunneling. Repeated triggering of the error path through malformed L2TP packets can gradually exhaust kernel memory, leading to denial of service. The leak requires the ability to send L2TP traffic to the affected system.
CVSS score applicability
The CVSS score(s) listed for this vulnerability do not reflect the associated product's status, and are included for informational purposes to better understand the severity of this vulnerability.
Mitigation
To mitigate this issue, prevent the l2tp_core module from being loaded if L2TP tunneling is not required. See https://access.redhat.com/solutions/41278 for instructions on how to blacklist a kernel module.
CVSS / CWE
CVSS 3.1 · 5.5CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
CWE-911 · Improper Update of Reference Count