summaryrefslogtreecommitdiff
path: root/net/rds/message.c
diff options
context:
space:
mode:
authorPablo Neira Ayuso <pablo@netfilter.org>2024-04-09 14:47:33 +0300
committerPablo Neira Ayuso <pablo@netfilter.org>2024-04-11 13:13:11 +0300
commit87b3593bed1868b2d9fe096c01bcdf0ea86cbebf (patch)
tree9664c43f10f6a39e0e47919b2e5774dac890cdac /net/rds/message.c
parent3cfc9ec039af60dbd8965ae085b2c2ccdcfbe1cc (diff)
downloadlinux-87b3593bed1868b2d9fe096c01bcdf0ea86cbebf.tar.xz
netfilter: flowtable: validate pppoe header
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: syzbot+b6f07e1c07ef40199081@syzkaller.appspotmail.com Fixes: 72efd585f714 ("netfilter: flowtable: add pppoe support") Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'net/rds/message.c')
0 files changed, 0 insertions, 0 deletions