diff options
| author | Qingfang Deng <qingfang.deng@linux.dev> | 2026-10-23 16:00:00 +0800 |
|---|---|---|
| committer | Jakub Kicinski <kuba@kernel.org> | 2026-10-26 16:55:10 -0700 |
| commit | 406bf2dc8d6d3e93fdae0b66d2ae99b6b62e479c (patch) | |
| tree | 52e2302d6c6f583d7ce48f586dda2547f52c307f /include/linux | |
| parent | 850a7225bc61cdfaf0c4b02ff341ae7cb54902f5 (diff) | |
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.
Fixes: 8540827ebac6 ("pppoe: fix reception of frames with no mac header")
Signed-off-by: Qingfang Deng <qingfang.deng@linux.dev>
Reviewed-by: Simon Horman <horms@kernel.org>
Link: https://patch.msgid.link/20261023080002.221332-1-qingfang.deng@linux.dev
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions
