syzbot


KMSAN: uninit-value in nsim_udp_tunnel_unset_port

Status: auto-closed as invalid on 2022/09/27 06:37
Reported-by: syzbot+@syzkaller.appspotmail.com
First crash: 436d, last: 357d
similar bugs (8):
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream KMSAN: uninit-value in snd_pcm_hw_rule_add (2) 18 224d 491d 0/24 auto-closed as invalid on 2022/09/15 02:38
upstream KMSAN: uninit-value in seq_printf (2) C 99 226d 492d 0/24 auto-closed as invalid on 2022/09/30 02:43
upstream KMSAN: uninit-value in number (4) C 7189 65d 443d 0/24 closed as invalid on 2022/11/28 10:01
upstream KMSAN: uninit-value in p9pdu_vwritef 544 155d 385d 0/24 auto-obsoleted due to no activity on 2022/11/22 23:51
upstream KMSAN: uninit-value in __vmalloc_node_range 5 374d 419d 0/24 auto-closed as invalid on 2022/04/17 19:38
upstream KMSAN: uninit-value in ptr_to_id C 5 381d 402d 0/24 auto-closed as invalid on 2022/09/27 03:12
upstream KMSAN: kernel-infoleak in _copy_to_iter (6) C 748 325d 414d 22/24 fixed on 2022/03/08 16:11
upstream KMSAN: uninit-value in esp6_init_state 2 375d 424d 0/24 auto-closed as invalid on 2022/04/16 22:31
Last patch testing requests:
Created Duration User Patch Repo Result
2022/09/27 05:30 22m retest repro https://github.com/google/kmsan.git master OK log

Sample crash report:
netdevsim netdevsim0 netdevsim2: set [0, 0] type 1 family 0 port 8472 - 0
netdevsim netdevsim0 netdevsim3: set [0, 0] type 1 family 0 port 8472 - 0
device vxlan0 entered promiscuous mode
=====================================================
BUG: KMSAN: uninit-value in check_pointer lib/vsprintf.c:705 [inline]
BUG: KMSAN: uninit-value in string+0x3cf/0x6f0 lib/vsprintf.c:717
 check_pointer lib/vsprintf.c:705 [inline]
 string+0x3cf/0x6f0 lib/vsprintf.c:717
 vsnprintf+0x2222/0x3650 lib/vsprintf.c:2805
 vprintk_store+0x537/0x2150 kernel/printk/printk.c:2135
 vprintk_emit+0x25c/0x950 kernel/printk/printk.c:2229
 dev_vprintk_emit+0x5ef/0x6d0 drivers/base/core.c:4594
 dev_printk_emit+0x1dd/0x21f drivers/base/core.c:4605
 __netdev_printk+0x7e9/0xae0 net/core/dev.c:11447
 netdev_info+0x1ea/0x22f net/core/dev.c:11502
 nsim_udp_tunnel_unset_port+0x582/0x620 drivers/net/netdevsim/udp_tunnels.c:64
 udp_tunnel_nic_device_sync_by_port net/ipv4/udp_tunnel_nic.c:246 [inline]
 __udp_tunnel_nic_device_sync+0x1060/0x1e40 net/ipv4/udp_tunnel_nic.c:289
 udp_tunnel_nic_device_sync net/ipv4/udp_tunnel_nic.c:312 [inline]
 __udp_tunnel_nic_del_port+0x630/0x7b0 net/ipv4/udp_tunnel_nic.c:548
 udp_tunnel_nic_del_port include/net/udp_tunnel.h:341 [inline]
 udp_tunnel_notify_del_rx_port+0x2d1/0x440 net/ipv4/udp_tunnel_core.c:146
 __vxlan_sock_release_prep+0x444/0x510 drivers/net/vxlan.c:1583
 vxlan_sock_release+0x560/0x700 drivers/net/vxlan.c:1606
 vxlan_stop+0x1654/0x1750 drivers/net/vxlan.c:3146
 __dev_close_many+0x640/0x850 net/core/dev.c:1574
 dev_close_many+0x43f/0xb20 net/core/dev.c:1599
 unregister_netdevice_many+0x8cd/0x3160 net/core/dev.c:11057
 __rtnl_newlink net/core/rtnetlink.c:3489 [inline]
 rtnl_newlink+0x408e/0x43a0 net/core/rtnetlink.c:3506
 rtnetlink_rcv_msg+0x148d/0x18d0 net/core/rtnetlink.c:5571
 netlink_rcv_skb+0x40c/0x7e0 net/netlink/af_netlink.c:2496
 rtnetlink_rcv+0x50/0x60 net/core/rtnetlink.c:5589
 netlink_unicast_kernel net/netlink/af_netlink.c:1319 [inline]
 netlink_unicast+0x1075/0x1340 net/netlink/af_netlink.c:1345
 netlink_sendmsg+0x14cf/0x1710 net/netlink/af_netlink.c:1921
 sock_sendmsg_nosec net/socket.c:704 [inline]
 sock_sendmsg net/socket.c:724 [inline]
 ____sys_sendmsg+0xe11/0x12c0 net/socket.c:2409
 ___sys_sendmsg net/socket.c:2463 [inline]
 __sys_sendmmsg+0xac2/0xf60 net/socket.c:2549
 __do_sys_sendmmsg net/socket.c:2578 [inline]
 __se_sys_sendmmsg net/socket.c:2575 [inline]
 __x64_sys_sendmmsg+0x11c/0x170 net/socket.c:2575
 do_syscall_x64 arch/x86/entry/common.c:51 [inline]
 do_syscall_64+0x54/0xd0 arch/x86/entry/common.c:82
 entry_SYSCALL_64_after_hwframe+0x44/0xae

Local variable sample.i created at:
 perf_log_itrace_start kernel/events/core.c:9069 [inline]
 event_sched_in+0x132b/0x35c0 kernel/events/core.c:2557
 group_sched_in kernel/events/core.c:2595 [inline]
 merge_sched_in kernel/events/core.c:3746 [inline]
 visit_groups_merge+0x2919/0x7460 kernel/events/core.c:3696

CPU: 1 PID: 3707 Comm: syz-executor659 Not tainted 5.16.0-rc5-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
=====================================================

Crashes (114):
Manager Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets Title
ci-upstream-kmsan-gce 2022/01/20 07:04 https://github.com/google/kmsan.git master fa3879a274df 5da9499f .config console log report syz C KMSAN: uninit-value in nsim_udp_tunnel_unset_port
ci-upstream-kmsan-gce 2022/02/04 07:32 https://github.com/google/kmsan.git master 85cfd6e539bd 30646bfe .config console log report info KMSAN: uninit-value in nsim_udp_tunnel_unset_port
ci-upstream-kmsan-gce 2022/02/03 20:07 https://github.com/google/kmsan.git master 85cfd6e539bd 4ebb2798 .config console log report info KMSAN: uninit-value in nsim_udp_tunnel_unset_port
ci-upstream-kmsan-gce 2022/02/03 16:11 https://github.com/google/kmsan.git master 85cfd6e539bd 4ebb2798 .config console log report info KMSAN: uninit-value in nsim_udp_tunnel_unset_port
ci-upstream-kmsan-gce 2022/02/03 11:07 https://github.com/google/kmsan.git master 85cfd6e539bd 4ebb2798 .config console log report info KMSAN: uninit-value in nsim_udp_tunnel_unset_port
ci-upstream-kmsan-gce 2022/02/03 08:45 https://github.com/google/kmsan.git master 85cfd6e539bd 4ebb2798 .config console log report info KMSAN: uninit-value in nsim_udp_tunnel_unset_port
ci-upstream-kmsan-gce 2022/02/03 05:47 https://github.com/google/kmsan.git master 85cfd6e539bd 4ebb2798 .config console log report info KMSAN: uninit-value in nsim_udp_tunnel_unset_port
ci-upstream-kmsan-gce 2022/02/03 02:28 https://github.com/google/kmsan.git master 85cfd6e539bd 4ebb2798 .config console log report info KMSAN: uninit-value in nsim_udp_tunnel_unset_port
ci-upstream-kmsan-gce 2022/02/02 22:34 https://github.com/google/kmsan.git master 85cfd6e539bd 4ebb2798 .config console log report info KMSAN: uninit-value in nsim_udp_tunnel_unset_port
ci-upstream-kmsan-gce 2022/02/02 01:37 https://github.com/google/kmsan.git master 85cfd6e539bd 4ebb2798 .config console log report info KMSAN: uninit-value in nsim_udp_tunnel_unset_port
ci-upstream-kmsan-gce 2022/02/01 22:35 https://github.com/google/kmsan.git master 85cfd6e539bd 4ebb2798 .config console log report info KMSAN: uninit-value in nsim_udp_tunnel_unset_port
ci-upstream-kmsan-gce 2022/02/01 18:09 https://github.com/google/kmsan.git master 85cfd6e539bd c1c1631d .config console log report info KMSAN: uninit-value in nsim_udp_tunnel_unset_port
ci-upstream-kmsan-gce 2022/02/01 16:06 https://github.com/google/kmsan.git master 85cfd6e539bd c1c1631d .config console log report info KMSAN: uninit-value in nsim_udp_tunnel_unset_port
ci-upstream-kmsan-gce 2022/02/01 11:02 https://github.com/google/kmsan.git master 85cfd6e539bd c1c1631d .config console log report info KMSAN: uninit-value in nsim_udp_tunnel_unset_port
ci-upstream-kmsan-gce 2022/02/01 01:41 https://github.com/google/kmsan.git master 85cfd6e539bd 6b7c57fe .config console log report info KMSAN: uninit-value in nsim_udp_tunnel_unset_port
ci-upstream-kmsan-gce 2022/01/31 03:08 https://github.com/google/kmsan.git master 85cfd6e539bd 495e00c5 .config console log report info KMSAN: uninit-value in nsim_udp_tunnel_unset_port
ci-upstream-kmsan-gce 2022/01/30 20:38 https://github.com/google/kmsan.git master 85cfd6e539bd 495e00c5 .config console log report info KMSAN: uninit-value in nsim_udp_tunnel_unset_port
ci-upstream-kmsan-gce 2022/01/30 09:21 https://github.com/google/kmsan.git master 85cfd6e539bd 495e00c5 .config console log report info KMSAN: uninit-value in nsim_udp_tunnel_unset_port
ci-upstream-kmsan-gce 2022/01/30 05:48 https://github.com/google/kmsan.git master 85cfd6e539bd 495e00c5 .config console log report info KMSAN: uninit-value in nsim_udp_tunnel_unset_port
ci-upstream-kmsan-gce 2022/01/29 13:03 https://github.com/google/kmsan.git master 85cfd6e539bd 495e00c5 .config console log report info KMSAN: uninit-value in nsim_udp_tunnel_unset_port
ci-upstream-kmsan-gce 2022/01/29 10:03 https://github.com/google/kmsan.git master 85cfd6e539bd 495e00c5 .config console log report info KMSAN: uninit-value in nsim_udp_tunnel_unset_port
ci-upstream-kmsan-gce 2022/01/29 06:57 https://github.com/google/kmsan.git master 85cfd6e539bd 495e00c5 .config console log report info KMSAN: uninit-value in nsim_udp_tunnel_unset_port
ci-upstream-kmsan-gce 2022/01/29 02:37 https://github.com/google/kmsan.git master 85cfd6e539bd 495e00c5 .config console log report info KMSAN: uninit-value in nsim_udp_tunnel_unset_port
ci-upstream-kmsan-gce 2022/01/28 19:21 https://github.com/google/kmsan.git master 85cfd6e539bd 495e00c5 .config console log report info KMSAN: uninit-value in nsim_udp_tunnel_unset_port
ci-upstream-kmsan-gce 2022/01/28 10:11 https://github.com/google/kmsan.git master 85cfd6e539bd 495e00c5 .config console log report info KMSAN: uninit-value in nsim_udp_tunnel_unset_port
ci-upstream-kmsan-gce 2022/01/28 02:54 https://github.com/google/kmsan.git master 85cfd6e539bd 64a8e201 .config console log report info KMSAN: uninit-value in nsim_udp_tunnel_unset_port
ci-upstream-kmsan-gce 2022/01/27 19:05 https://github.com/google/kmsan.git master 85cfd6e539bd 64a8e201 .config console log report info KMSAN: uninit-value in nsim_udp_tunnel_unset_port
ci-upstream-kmsan-gce 2022/01/27 16:55 https://github.com/google/kmsan.git master 85cfd6e539bd 64a8e201 .config console log report info KMSAN: uninit-value in nsim_udp_tunnel_unset_port
ci-upstream-kmsan-gce 2022/01/27 12:37 https://github.com/google/kmsan.git master 85cfd6e539bd 2cbffd88 .config console log report info KMSAN: uninit-value in nsim_udp_tunnel_unset_port
ci-upstream-kmsan-gce 2022/01/27 05:06 https://github.com/google/kmsan.git master 85cfd6e539bd 2cbffd88 .config console log report info KMSAN: uninit-value in nsim_udp_tunnel_unset_port
ci-upstream-kmsan-gce 2022/01/27 02:56 https://github.com/google/kmsan.git master 85cfd6e539bd 2cbffd88 .config console log report info KMSAN: uninit-value in nsim_udp_tunnel_unset_port
ci-upstream-kmsan-gce 2022/01/26 08:37 https://github.com/google/kmsan.git master 85cfd6e539bd 2cbffd88 .config console log report info KMSAN: uninit-value in nsim_udp_tunnel_unset_port
ci-upstream-kmsan-gce 2022/01/25 21:56 https://github.com/google/kmsan.git master 85cfd6e539bd 2cbffd88 .config console log report info KMSAN: uninit-value in nsim_udp_tunnel_unset_port
ci-upstream-kmsan-gce 2022/01/25 14:22 https://github.com/google/kmsan.git master 85cfd6e539bd 2cbffd88 .config console log report info KMSAN: uninit-value in nsim_udp_tunnel_unset_port
ci-upstream-kmsan-gce 2022/01/25 06:09 https://github.com/google/kmsan.git master 85cfd6e539bd 2cbffd88 .config console log report info KMSAN: uninit-value in nsim_udp_tunnel_unset_port
ci-upstream-kmsan-gce 2022/01/24 03:24 https://github.com/google/kmsan.git master 85cfd6e539bd 214351e1 .config console log report info KMSAN: uninit-value in nsim_udp_tunnel_unset_port
ci-upstream-kmsan-gce 2022/01/24 00:25 https://github.com/google/kmsan.git master 85cfd6e539bd 214351e1 .config console log report info KMSAN: uninit-value in nsim_udp_tunnel_unset_port
ci-upstream-kmsan-gce 2022/01/23 22:48 https://github.com/google/kmsan.git master 85cfd6e539bd 214351e1 .config console log report info KMSAN: uninit-value in nsim_udp_tunnel_unset_port
ci-upstream-kmsan-gce 2022/01/23 02:43 https://github.com/google/kmsan.git master 85cfd6e539bd 214351e1 .config console log report info KMSAN: uninit-value in nsim_udp_tunnel_unset_port
ci-upstream-kmsan-gce-386 2022/02/04 01:15 https://github.com/google/kmsan.git master 85cfd6e539bd 30646bfe .config console log report info KMSAN: uninit-value in nsim_udp_tunnel_unset_port
ci-upstream-kmsan-gce-386 2022/02/03 21:43 https://github.com/google/kmsan.git master 85cfd6e539bd 30646bfe .config console log report info KMSAN: uninit-value in nsim_udp_tunnel_unset_port
ci-upstream-kmsan-gce-386 2022/02/02 02:17 https://github.com/google/kmsan.git master 85cfd6e539bd 4ebb2798 .config console log report info KMSAN: uninit-value in nsim_udp_tunnel_unset_port
ci-upstream-kmsan-gce-386 2022/02/01 13:29 https://github.com/google/kmsan.git master 85cfd6e539bd c1c1631d .config console log report info KMSAN: uninit-value in nsim_udp_tunnel_unset_port
ci-upstream-kmsan-gce-386 2022/01/28 05:43 https://github.com/google/kmsan.git master 85cfd6e539bd 495e00c5 .config console log report info KMSAN: uninit-value in nsim_udp_tunnel_unset_port
ci-upstream-kmsan-gce-386 2022/01/25 00:06 https://github.com/google/kmsan.git master 85cfd6e539bd 2cbffd88 .config console log report info KMSAN: uninit-value in nsim_udp_tunnel_unset_port
ci-upstream-kmsan-gce-386 2022/01/21 17:25 https://github.com/google/kmsan.git master 85cfd6e539bd 214351e1 .config console log report info KMSAN: uninit-value in nsim_udp_tunnel_unset_port
ci-upstream-kmsan-gce-386 2021/11/16 22:44 https://github.com/google/kmsan.git master 6a4b0eb32d37 cafff8b6 .config console log report info KMSAN: uninit-value in nsim_udp_tunnel_unset_port
* Struck through repros no longer work on HEAD.