Netdev List
 help / color / mirror / Atom feed
From: Kyuwon Cho <kyuwoncho18@gmail.com>
To: Rustam Mustafin <rmustafin@cloudlinux.com>
Cc: Steffen Klassert <steffen.klassert@secunet.com>,
	Herbert Xu <herbert@gondor.apana.org.au>,
	"David S. Miller" <davem@davemloft.net>,
	Eric Dumazet <edumazet@kernel.org>,
	Jakub Kicinski <kuba@kernel.org>, Paolo Abeni <pabeni@redhat.com>,
	Willem de Bruijn <willemb@google.com>,
	Simon Horman <horms@kernel.org>,
	Christian Hopps <chopps@labn.net>,
	netdev@vger.kernel.org, ipsec@lists.linux.dev,
	linux-kernel@vger.kernel.org, stable@vger.kernel.org
Subject: Re: [PATCH ipsec] xfrm: iptfs: report the too big error to the frame's own socket
Date: Thu, 03 Dec 2026 08:34:22 -0800 (PST)	[thread overview]
Message-ID: <179607493115.673138.3309220324418518327@gmail.com> (raw)
In-Reply-To: <20261127142550.66326-1-rmustafin@cloudlinux.com>

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@gmail.com>

      parent reply	other threads:[~2026-12-03 16:34 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-11-27 14:25 [PATCH ipsec] xfrm: iptfs: report the too big error to the frame's own socket Rustam Mustafin
2026-11-28 14:56 ` netdev-bot+sashiko
2026-11-30 13:33   ` Rustam Mustafin
2026-12-03 16:34 ` Kyuwon Cho [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=179607493115.673138.3309220324418518327@gmail.com \
    --to=kyuwoncho18@gmail.com \
    --cc=chopps@labn.net \
    --cc=davem@davemloft.net \
    --cc=edumazet@kernel.org \
    --cc=herbert@gondor.apana.org.au \
    --cc=horms@kernel.org \
    --cc=ipsec@lists.linux.dev \
    --cc=kuba@kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=netdev@vger.kernel.org \
    --cc=pabeni@redhat.com \
    --cc=rmustafin@cloudlinux.com \
    --cc=stable@vger.kernel.org \
    --cc=steffen.klassert@secunet.com \
    --cc=willemb@google.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox