From: patchwork-bot+netdevbpf@kernel.org
To: Eric Dumazet <edumazet@google.com>
Cc: davem@davemloft.net, kuba@kernel.org, pabeni@redhat.com,
horms@kernel.org, netdev@vger.kernel.org, eric.dumazet@gmail.com,
syzbot+d4dda070f833dc5dc89a@syzkaller.appspotmail.com
Subject: Re: [PATCH net] ip6_tunnel: use skb_vlan_inet_prepare() in __ip6_tnl_rcv()
Date: Sat, 10 Jan 2026 02:20:10 +0000 [thread overview]
Message-ID: <176801161029.454777.2817823539150562515.git-patchwork-notify@kernel.org> (raw)
In-Reply-To: <20260107163109.4188620-1-edumazet@google.com>
Hello:
This patch was applied to netdev/net.git (main)
by Jakub Kicinski <kuba@kernel.org>:
On Wed, 7 Jan 2026 16:31:09 +0000 you wrote:
> Blamed commit did not take care of VLAN encapsulations
> as spotted by syzbot [1].
>
> Use skb_vlan_inet_prepare() instead of pskb_inet_may_pull().
>
> [1]
> BUG: KMSAN: uninit-value in __INET_ECN_decapsulate include/net/inet_ecn.h:253 [inline]
> BUG: KMSAN: uninit-value in INET_ECN_decapsulate include/net/inet_ecn.h:275 [inline]
> BUG: KMSAN: uninit-value in IP6_ECN_decapsulate+0x7a8/0x1fa0 include/net/inet_ecn.h:321
> __INET_ECN_decapsulate include/net/inet_ecn.h:253 [inline]
> INET_ECN_decapsulate include/net/inet_ecn.h:275 [inline]
> IP6_ECN_decapsulate+0x7a8/0x1fa0 include/net/inet_ecn.h:321
> ip6ip6_dscp_ecn_decapsulate+0x16f/0x1b0 net/ipv6/ip6_tunnel.c:729
> __ip6_tnl_rcv+0xed9/0x1b50 net/ipv6/ip6_tunnel.c:860
> ip6_tnl_rcv+0xc3/0x100 net/ipv6/ip6_tunnel.c:903
> gre_rcv+0x1529/0x1b90 net/ipv6/ip6_gre.c:-1
> ip6_protocol_deliver_rcu+0x1c89/0x2c60 net/ipv6/ip6_input.c:438
> ip6_input_finish+0x1f4/0x4a0 net/ipv6/ip6_input.c:489
> NF_HOOK include/linux/netfilter.h:318 [inline]
> ip6_input+0x9c/0x330 net/ipv6/ip6_input.c:500
> ip6_mc_input+0x7ca/0xc10 net/ipv6/ip6_input.c:590
> dst_input include/net/dst.h:474 [inline]
> ip6_rcv_finish+0x958/0x990 net/ipv6/ip6_input.c:79
> NF_HOOK include/linux/netfilter.h:318 [inline]
> ipv6_rcv+0xf1/0x3c0 net/ipv6/ip6_input.c:311
> __netif_receive_skb_one_core net/core/dev.c:6139 [inline]
> __netif_receive_skb+0x1df/0xac0 net/core/dev.c:6252
> netif_receive_skb_internal net/core/dev.c:6338 [inline]
> netif_receive_skb+0x57/0x630 net/core/dev.c:6397
> tun_rx_batched+0x1df/0x980 drivers/net/tun.c:1485
> tun_get_user+0x5c0e/0x6c60 drivers/net/tun.c:1953
> tun_chr_write_iter+0x3e9/0x5c0 drivers/net/tun.c:1999
> new_sync_write fs/read_write.c:593 [inline]
> vfs_write+0xbe2/0x15d0 fs/read_write.c:686
> ksys_write fs/read_write.c:738 [inline]
> __do_sys_write fs/read_write.c:749 [inline]
> __se_sys_write fs/read_write.c:746 [inline]
> __x64_sys_write+0x1fb/0x4d0 fs/read_write.c:746
> x64_sys_call+0x30ab/0x3e70 arch/x86/include/generated/asm/syscalls_64.h:2
> do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline]
> do_syscall_64+0xd3/0xf80 arch/x86/entry/syscall_64.c:94
> entry_SYSCALL_64_after_hwframe+0x77/0x7f
>
> [...]
Here is the summary with links:
- [net] ip6_tunnel: use skb_vlan_inet_prepare() in __ip6_tnl_rcv()
https://git.kernel.org/netdev/net/c/81c734dae203
You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html
next prev parent reply other threads:[~2026-01-10 2:23 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-01-07 16:31 [PATCH net] ip6_tunnel: use skb_vlan_inet_prepare() in __ip6_tnl_rcv() Eric Dumazet
2026-01-10 2:20 ` patchwork-bot+netdevbpf [this message]
-- strict thread matches above, loose matches on Subject: below --
2026-01-30 4:15 Hirokazu MORIKAWA
2026-01-30 12:00 ` Eric Dumazet
2026-02-03 0:43 ` Gary Guo
2026-02-10 12:41 ` Ricardo B. Marlière
2026-02-10 12:56 ` Eric Dumazet
2026-02-10 13:21 ` Greg Kroah-Hartman
2026-01-30 23:53 Hirokazu MORIKAWA
2026-01-31 1:28 hammer065
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=176801161029.454777.2817823539150562515.git-patchwork-notify@kernel.org \
--to=patchwork-bot+netdevbpf@kernel.org \
--cc=davem@davemloft.net \
--cc=edumazet@google.com \
--cc=eric.dumazet@gmail.com \
--cc=horms@kernel.org \
--cc=kuba@kernel.org \
--cc=netdev@vger.kernel.org \
--cc=pabeni@redhat.com \
--cc=syzbot+d4dda070f833dc5dc89a@syzkaller.appspotmail.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