Linux
pppoe: drop PFC frames
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.
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
- >= 7fb1b8ca8fa1ee34ffc328f17f78da68c7cc04e6, < cb3beef35ab5e0c1afca9fd7648c6ae499786377
- >= 7fb1b8ca8fa1ee34ffc328f17f78da68c7cc04e6, < ba758fdf1399f310b30098b6faa3fd043de47dd2
- >= 7fb1b8ca8fa1ee34ffc328f17f78da68c7cc04e6, < fcca1df05322bb04e344dd1178b54b76a08eb7c3
- >= 7fb1b8ca8fa1ee34ffc328f17f78da68c7cc04e6, < 8a5e840babc5c0fbd10c73728a13192347771ec6
- >= 7fb1b8ca8fa1ee34ffc328f17f78da68c7cc04e6, < 49e41b60ccd1bdbe9e218420f716dd5f9a2f9c71
- >= 7fb1b8ca8fa1ee34ffc328f17f78da68c7cc04e6, < 0cab5d077dd1efd2bd1a47271acc35894f945b4f
- >= 7fb1b8ca8fa1ee34ffc328f17f78da68c7cc04e6, < 2b5c3c040d020e3ab3b9a8887031202d96843b1e
- >= 7fb1b8ca8fa1ee34ffc328f17f78da68c7cc04e6, < cc1ff87bce1ccd38410ab10960f576dcd17db679
Fixed in cb3beef35ab5e0c1afca9fd7648c6ae499786377, ba758fdf1399f310b30098b6faa3fd043de47dd2, fcca1df05322bb04e344dd1178b54b76a08eb7c3, 8a5e840babc5c0fbd10c73728a13192347771ec6, 49e41b60ccd1bdbe9e218420f716dd5f9a2f9c71, 0cab5d077dd1efd2bd1a47271acc35894f945b4f, 2b5c3c040d020e3ab3b9a8887031202d96843b1e, cc1ff87bce1ccd38410ab10960f576dcd17db679
- 5.0
Fixed in 0, 5.10.258, 5.15.209, 6.1.175, 6.6.141, 6.12.91, 6.18.33, 7.0.10, 7.1
Mitigation
Upgrade Linux to cb3beef35ab5e0c1afca9fd7648c6ae499786377 or ba758fdf1399f310b30098b6faa3fd043de47dd2 or fcca1df05322bb04e344dd1178b54b76a08eb7c3 or 8a5e840babc5c0fbd10c73728a13192347771ec6 or 49e41b60ccd1bdbe9e218420f716dd5f9a2f9c71 or 0cab5d077dd1efd2bd1a47271acc35894f945b4f or 2b5c3c040d020e3ab3b9a8887031202d96843b1e or cc1ff87bce1ccd38410ab10960f576dcd17db679 or later.
Upgrade Linux to 0 or 5.10.258 or 5.15.209 or 6.1.175 or 6.6.141 or 6.12.91 or 6.18.33 or 7.0.10 or 7.1 or later.
Timeline
Days relative to CVE publicationNo public PoC found yet; not in CISA KEV.
PoC repositories
Found on GitHub.No PoC repositories found yet.