Executive brief
A vulnerability in the Linux kernel's networking subsystem could allow a local user to crash the system. The issue occurs when specific network tunneling configurations (TEQL with gretap) are used, leading to a system "Oops" or kernel panic. This primarily impacts the availability of the server or device, potentially causing a denial-of-service.
Technical details
A NULL pointer dereference exists in net/sched/sch_teql.c within the teql_master_xmit() function. When a gretap tunnel is configured as a TEQL slave, the transmit path reaches iptunnel_xmit(), which attempts to access per-CPU statistics (tstats) on the master device. Because the TEQL master device does not allocate these statistics, the kernel attempts to access a NULL pointer, resulting in a page fault and kernel oops. The fix involves correctly updating the skb->dev pointer to the slave device before transmission. This vulnerability is reachable by a local user with sufficient privileges to configure or trigger network traffic over affected interfaces.
Affected products
- Linux Linux Kernel 4.5 to 5.10.253, 5.11 to 5.15.203, 5.16 to 6.1.167, 6.2 to 6.6.130, 6.7 to 6.12.78, 6.13 to 6.18.19, 6.19 to 6.19.9
Timeline
- 2026-03-04: patched: Initial patch authored
- 2026-03-20: advisory: CVE-2026-23277 published
References
- https://git.kernel.org/stable/c/0bad9c86edd22dec4df83c2b29872d66fd8a2ff4
- https://git.kernel.org/stable/c/0cc0c2e661af418bbf7074179ea5cfffc0a5c466
- https://git.kernel.org/stable/c/21ea283c2750c8307aa35ee832b0951cc993c27d
- https://git.kernel.org/stable/c/383493b9940e3d1b5517424081b3e072e20ec43c
- https://git.kernel.org/stable/c/57c153249143333bbf4ecf927bdf8aa2696ee397
- https://git.kernel.org/stable/c/59b06d8b9bdb6b64b3c534c18da68bce5ccd31be
- https://git.kernel.org/stable/c/6b1f563d670162e188a0f2aec39c24b67b106e17