From: David S. Miller Date: Tue, 2 Jul 2019 18:53:03 +0000 (-0700) Subject: Merge branch 'bridge-stale-ptrs' X-Git-Url: http://git.cdn.openwrt.org/?a=commitdiff_plain;h=f2f1717592d4790790bdcc73dbbe4958d2d33198;p=openwrt%2Fstaging%2Fblogic.git Merge branch 'bridge-stale-ptrs' Nikolay Aleksandrov says: ==================== net: bridge: fix possible stale skb pointers In the bridge driver we have a couple of places which call pskb_may_pull but we've cached skb pointers before that and use them after which can lead to out-of-bounds/stale pointer use. I've had these in my "to fix" list for some time and now we got a report (patch 01) so here they are. Patches 02-04 are fixes based on code inspection. Also patch 01 was tested by Martin Weinelt, Martin if you don't mind please add your tested-by tag to it by replying with Tested-by: name . I've also briefly tested the set by trying to exercise those code paths. ==================== Signed-off-by: David S. Miller --- f2f1717592d4790790bdcc73dbbe4958d2d33198