summaryrefslogtreecommitdiffstats
path: root/security
diff options
context:
space:
mode:
authorPablo Neira Ayuso <pablo@netfilter.org>2021-05-05 22:25:24 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2021-05-22 10:59:44 +0200
commite11924b7513ceacd7e9a0ed9f8db60629eefbf12 (patch)
treeaffa95405bf620a627784e0de8caa34a0dd73ea8 /security
parentbb101fb44caa73a7ff5bc24df2fd49d9602d88f1 (diff)
downloadlinux-stable-e11924b7513ceacd7e9a0ed9f8db60629eefbf12.tar.gz
linux-stable-e11924b7513ceacd7e9a0ed9f8db60629eefbf12.tar.bz2
linux-stable-e11924b7513ceacd7e9a0ed9f8db60629eefbf12.zip
netfilter: nfnetlink_osf: Fix a missing skb_header_pointer() NULL check
[ Upstream commit 5e024c325406470d1165a09c6feaf8ec897936be ] 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> Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'security')
0 files changed, 0 insertions, 0 deletions