Skip to contentSkip to conversation

CVE-2026-53003: pppoe: drop PFC frames

DISCUSSION Greg Kroah-Hartman 1 participant 1 message Jun 24

lore
Share & tools
lore
#0 lore raw

From: Greg Kroah-Hartman <[email protected]>

Description
===========

In the Linux kernel, the following vulnerability has been resolved:

pppoe: drop PFC frames

RFC 2516 Section 7 states that Protocol Field Compression (PFC) is NOT RECOMMENDED for PPPoE. In practice, pppd does not support negotiating PFC for PPPoE sessions, and the current PPPoE driver assumes an uncompressed (2-byte) protocol field. However, the generic PPP layer function ppp_input() is not aware of the negotiation result, and still accepts PFC frames.

If a peer with a broken implementation or an attacker sends a frame with a compressed (1-byte) protocol field, the subsequent PPP payload is shifted by one byte. This causes the network header to be 4-byte misaligned, which may trigger unaligned access exceptions on some architectures.

To reduce the attack surface, drop PPPoE PFC frames. Introduce ppp_skb_is_compressed_proto() helper function to be used in both ppp_generic.c and pppoe.c to avoid open-coding.

The Linux kernel CVE team has assigned CVE-2026-53003 to this issue.

Affected and fixed versions
===========================

	Issue introduced in 5.0 with commit 7fb1b8ca8fa1ee34ffc328f17f78da68c7cc04e6 and fixed in 5.10.258 with commit cb3beef35ab5e0c1afca9fd7648c6ae499786377
	Issue introduced in 5.0 with commit 7fb1b8ca8fa1ee34ffc328f17f78da68c7cc04e6 and fixed in 5.15.209 with commit ba758fdf1399f310b30098b6faa3fd043de47dd2
	Issue introduced in 5.0 with commit 7fb1b8ca8fa1ee34ffc328f17f78da68c7cc04e6 and fixed in 6.1.175 with commit fcca1df05322bb04e344dd1178b54b76a08eb7c3
	Issue introduced in 5.0 with commit 7fb1b8ca8fa1ee34ffc328f17f78da68c7cc04e6 and fixed in 6.6.141 with commit 8a5e840babc5c0fbd10c73728a13192347771ec6
	Issue introduced in 5.0 with commit 7fb1b8ca8fa1ee34ffc328f17f78da68c7cc04e6 and fixed in 6.12.91 with commit 49e41b60ccd1bdbe9e218420f716dd5f9a2f9c71
	Issue introduced in 5.0 with commit 7fb1b8ca8fa1ee34ffc328f17f78da68c7cc04e6 and fixed in 6.18.33 with commit 0cab5d077dd1efd2bd1a47271acc35894f945b4f
	Issue introduced in 5.0 with commit 7fb1b8ca8fa1ee34ffc328f17f78da68c7cc04e6 and fixed in 7.0.10 with commit 2b5c3c040d020e3ab3b9a8887031202d96843b1e
	Issue introduced in 5.0 with commit 7fb1b8ca8fa1ee34ffc328f17f78da68c7cc04e6 and fixed in 7.1 with commit cc1ff87bce1ccd38410ab10960f576dcd17db679

Please see https://www.kernel.org for a full list of currently supported kernel versions by the kernel community.

Unaffected versions might change over time as fixes are backported to older supported kernel versions. The official CVE entry at

	https://cve.org/CVERecord/?id=CVE-2026-53003

will be updated if fixes are backported, please check that for the most up to date information about this issue.

Affected files
==============

The file(s) affected by this issue are:
drivers/net/ppp/ppp_generic.c
drivers/net/ppp/pppoe.c
include/linux/ppp_defs.h

Mitigation
==========

The Linux kernel CVE team recommends that you update to the latest stable kernel version for this, and many other bugfixes. Individual changes are never tested alone, but rather are part of a larger kernel release. Cherry-picking individual commits is not recommended or supported by the Linux kernel community at all. If however, updating to the latest release is impossible, the individual changes to resolve this issue can be found at these commits:

	https://git.kernel.org/stable/c/cb3beef35ab5e0c1afca9fd7648c6ae499786377
	https://git.kernel.org/stable/c/ba758fdf1399f310b30098b6faa3fd043de47dd2
	https://git.kernel.org/stable/c/fcca1df05322bb04e344dd1178b54b76a08eb7c3
	https://git.kernel.org/stable/c/8a5e840babc5c0fbd10c73728a13192347771ec6
	https://git.kernel.org/stable/c/49e41b60ccd1bdbe9e218420f716dd5f9a2f9c71
	https://git.kernel.org/stable/c/0cab5d077dd1efd2bd1a47271acc35894f945b4f
	https://git.kernel.org/stable/c/2b5c3c040d020e3ab3b9a8887031202d96843b1e
	https://git.kernel.org/stable/c/cc1ff87bce1ccd38410ab10960f576dcd17db679