Skip to content
Commit d06977b9 authored by Pablo Neira Ayuso's avatar Pablo Neira Ayuso Committed by Greg Kroah-Hartman
Browse files

netfilter: flowtable: validate pppoe header

[ Upstream commit 87b3593b

 ]

Ensure there is sufficient room to access the protocol field of the
PPPoe header. Validate it once before the flowtable lookup, then use a
helper function to access protocol field.

Reported-by: default avatar <syzbot+b6f07e1c07ef40199081@syzkaller.appspotmail.com>
Fixes: 72efd585

 ("netfilter: flowtable: add pppoe support")
Signed-off-by: default avatarPablo Neira Ayuso <pablo@netfilter.org>
Signed-off-by: default avatarSasha Levin <sashal@kernel.org>
parent 5345d78a
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment