diff options
author | Pablo Neira Ayuso <pablo@netfilter.org> | 2021-05-05 22:25:24 +0200 |
---|---|---|
committer | Pablo Neira Ayuso <pablo@netfilter.org> | 2021-05-05 22:26:09 +0200 |
commit | 5e024c325406470d1165a09c6feaf8ec897936be (patch) | |
tree | f0c342e641912b5e6e41e0965971f1410bc2a44c /net/unix/sysctl_net_unix.c | |
parent | 7072a355ba191c08b0579f0f66e3eba0e28bf818 (diff) | |
download | lwn-5e024c325406470d1165a09c6feaf8ec897936be.tar.gz lwn-5e024c325406470d1165a09c6feaf8ec897936be.zip |
netfilter: nfnetlink_osf: Fix a missing skb_header_pointer() NULL check
Do not assume that the tcph->doff field is correct when parsing for TCP
options, skb_header_pointer() might fail to fetch these bits.
Fixes: 11eeef41d5f6 ("netfilter: passive OS fingerprint xtables match")
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'net/unix/sysctl_net_unix.c')
0 files changed, 0 insertions, 0 deletions