Files
i2som-imx-linux/include/linux
Cong Wang 5460d62d66 netfilter: clear skb->next in NF_HOOK_LIST()
NF_HOOK_LIST() uses list_del() to remove skb from the linked list,
however, it is not sufficient as skb->next still points to other
skb. We should just call skb_list_del_init() to clear skb->next,
like the rest places which using skb list.

This has been fixed in upstream by commit ca58fbe06c
("netfilter: add and use nf_hook_slow_list()").

Fixes: 9f17dbf04d ("netfilter: fix use-after-free in NF_HOOK_LIST")
Reported-by: liuzx@knownsec.com
Tested-by: liuzx@knownsec.com
Cc: Florian Westphal <fw@strlen.de>
Cc: Edward Cree <ecree@solarflare.com>
Cc: stable@vger.kernel.org # between 4.19 and 5.4
Signed-off-by: Cong Wang <cong.wang@bytedance.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2020-12-02 08:48:07 +01:00
..
2020-09-03 11:24:28 +02:00
2020-03-25 08:06:14 +01:00
2020-07-29 10:16:52 +02:00
2020-04-17 10:48:47 +02:00
2020-04-02 15:28:22 +02:00
2020-05-20 08:18:45 +02:00
2020-04-02 15:28:23 +02:00