In the Linux kernel, the following vulnerability has been resolved: pppoe: drop discovery frames with no MAC header Commit 8540827ebac6 ("pppoe: fix reception of frames with no mac header") drops PPPoE session frames with no MAC header to avoid reading uninitialized memory. Apply the same to PPPoE discovery frames, as both functions read eth_hdr(skb)->h_source. Found by LLM static analysis, and reproduced using the same TUN injection as described in the mentioned commit.
https://git.kernel.org/stable/c/d299ec8dd1a79f1aed7967404fff79f0606c67fc
https://git.kernel.org/stable/c/c22199cc98f760729cd8d618eb3dd7b79c2b5141
https://git.kernel.org/stable/c/448f9858d2761598cea7cfb71bb2c82e6c89f021
https://git.kernel.org/stable/c/415b2dc9bceaffa6e631ed09789721804f8f90d3
https://git.kernel.org/stable/c/406bf2dc8d6d3e93fdae0b66d2ae99b6b62e479c
https://git.kernel.org/stable/c/4007716042732e2fd6b356bd8c9032fb899fc3b4
https://git.kernel.org/stable/c/0dfaa6748ee695f1389dff54d6b338d25d1ce6fc
https://git.kernel.org/stable/c/096c263e91e324d46c2c0cc6789081015819eaaa