Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 0cab694a authored by Debabrata Banerjee's avatar Debabrata Banerjee Committed by Greg Kroah-Hartman
Browse files

Fix handling of verdicts after NF_QUEUE



[This fix is only needed for v4.9 stable since v4.10+ does not have the issue]

A verdict of NF_STOLEN after NF_QUEUE will cause an incorrect return value
and a potential kernel panic via double free of skb's

This was broken by commit 7034b566 ("netfilter: fix nf_queue handling")
and subsequently fixed in v4.10 by commit c63cbc460419 ("netfilter:
use switch() to handle verdict cases from nf_hook_slow()"). However that
commit cannot be cleanly cherry-picked to v4.9

Signed-off-by: default avatarDebabrata Banerjee <dbanerje@akamai.com>
Acked-by: default avatarPablo Neira Ayuso <pablo@netfilter.org>
parent cf00fd3d
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment