Re: [PATCH ipsec] xfrm: iptfs: report the too big error to the frame's own socket
From: Kyuwon Cho
Date: Thu Dec 03 2026 - 11:34:36 EST
On Fri, Nov 27, 2026 at 09:25:50PM +0700, Rustam Mustafin wrote:
> iptfs_is_too_big() calls xfrm_local_error() when its sk argument is set,
> but xfrm_local_error() reports to skb->sk and dereferences it.
I hit the same oops independently and sent it to Steffen and Herbert
privately on 2026-11-18, with a patch that checked skb->sk in
xfrm_local_error() instead. My reproducer, an unowned skb on an IP-TFS
SA with dont-frag, oopses in xfrm_local_error() on v7.4-rc5 and runs
clean with this patch, so please take this one rather than mine.
Tested-by: Kyuwon Cho <kyuwoncho18@xxxxxxxxx>