Skip to contentSkip to conversation

stable regression: revert request for netfilter ipv6 defrag bug

DISCUSSION Applied Florian Westphal 2 participants 2 messages Oct 24, 2018 – Oct 31, 2018

Subsystems (2)
lore
Share & tools
lore

Florian Westphal

author maintainer
#0 lore raw

Hi,

please consider reverting

commit 84379c9afe011020e797e3f50a662b08a6355dcf
netfilter: ipv6: nf_defrag: drop skb dst before queueing

It causes kernel crash for locally generated ipv6 fragments when netfilter ipv6 defragmentation is used.

The faulty commit is not essential for -stable, it only delays netns teardown for longer than needed when that netns still has ipv6 frags queued. Much better than crash :-/

commit ids are:
4.4.y: not affected (not backported)
4.9.y: backported as ad8b1ffc3efae2f65080bdb11145c87d299b8f9a 4.14.y: backported as 28c74ff85efd192aeca9005499ca50c24d795f61 4.18.y: (first affected kernel): 84379c9afe011020e797e3f50a662b08a6355dcf

For 4.19.y, you could also wait for a bug fix to hit Linus tree, I can ping you again once its in:
https://patchwork.ozlabs.org/patch/988233/

Thanks,
Florian

maintainer Applied
#1 lore raw
Quoted 20 lines · Florian Westphal

Hi,

please consider reverting

commit 84379c9afe011020e797e3f50a662b08a6355dcf
netfilter: ipv6: nf_defrag: drop skb dst before queueing

It causes kernel crash for locally generated ipv6 fragments when netfilter ipv6 defragmentation is used.

The faulty commit is not essential for -stable, it only delays netns teardown for longer than needed when that netns still has ipv6 frags queued. Much better than crash :-/

commit ids are:
4.4.y: not affected (not backported)
4.9.y: backported as ad8b1ffc3efae2f65080bdb11145c87d299b8f9a 4.14.y: backported as 28c74ff85efd192aeca9005499ca50c24d795f61 4.18.y: (first affected kernel): 84379c9afe011020e797e3f50a662b08a6355dcf

Quoted 3 lines

For 4.19.y, you could also wait for a bug fix to hit Linus tree, I can ping you again once its in:
https://patchwork.ozlabs.org/patch/988233/

I've queued a revert for 4.18, 4.14, and 4.9. Thank you.