syzbot


WARNING in nsim_udp_tunnel_unset_port

Status: upstream: reported on 2025/01/15 14:42
Subsystems: net
[Documentation on labels]
Reported-by: syzbot+a04efb7a2949bb2484cf@syzkaller.appspotmail.com
First crash: 58d, last: 21d
Discussions (1)
Title Replies (including bot) Last reply
[syzbot] [net?] WARNING in nsim_udp_tunnel_unset_port 0 (1) 2025/01/15 14:42

Sample crash report:
------------[ cut here ]------------
entry not installed 17c10002 vs 0
WARNING: CPU: 1 PID: 11 at drivers/net/netdevsim/udp_tunnels.c:58 nsim_udp_tunnel_unset_port+0x303/0x3f0 drivers/net/netdevsim/udp_tunnels.c:58
Modules linked in:
CPU: 1 UID: 0 PID: 11 Comm: kworker/u8:0 Not tainted 6.13.0-syzkaller-08291-g805ba04cb7cc #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 12/27/2024
Workqueue: netns cleanup_net
RIP: 0010:nsim_udp_tunnel_unset_port+0x303/0x3f0 drivers/net/netdevsim/udp_tunnels.c:58
Code: 08 e8 41 30 c3 fa 90 49 83 fc 03 8b 4c 24 08 8b 44 24 10 0f 87 d8 00 00 00 89 ca 89 c6 48 c7 c7 c0 d4 2b 8c e8 1e 18 84 fa 90 <0f> 0b 90 90 41 bf fe ff ff ff e9 e0 fe ff ff 4c 89 f7 e8 d6 0e 26
RSP: 0018:ffffc900001073d0 EFLAGS: 00010282
RAX: 0000000000000000 RBX: ffffc900001074d0 RCX: ffffffff8179c4f9
RDX: ffff88801d2c3c00 RSI: ffffffff8179c506 RDI: 0000000000000001
RBP: ffff88806385c000 R08: 0000000000000001 R09: 0000000000000000
R10: 0000000000000001 R11: 0000000000000001 R12: 0000000000000000
R13: 0000000000000000 R14: ffffc900001074d4 R15: 0000000000000000
FS:  0000000000000000(0000) GS:ffff8880b8700000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000001b300e4ff8 CR3: 00000000261cc000 CR4: 00000000003526f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 <TASK>
 udp_tunnel_nic_device_sync_one net/ipv4/udp_tunnel_nic.c:225 [inline]
 udp_tunnel_nic_device_sync_by_port net/ipv4/udp_tunnel_nic.c:246 [inline]
 __udp_tunnel_nic_device_sync.part.0+0x935/0xed0 net/ipv4/udp_tunnel_nic.c:289
 __udp_tunnel_nic_device_sync net/ipv4/udp_tunnel_nic.c:283 [inline]
 udp_tunnel_nic_flush+0x2af/0x5e0 net/ipv4/udp_tunnel_nic.c:670
 udp_tunnel_nic_unregister net/ipv4/udp_tunnel_nic.c:864 [inline]
 udp_tunnel_nic_netdevice_event+0x6a0/0x18e0 net/ipv4/udp_tunnel_nic.c:904
 notifier_call_chain+0xb7/0x410 kernel/notifier.c:85
 call_netdevice_notifiers_info+0xbe/0x140 net/core/dev.c:2141
 call_netdevice_notifiers_extack net/core/dev.c:2179 [inline]
 call_netdevice_notifiers net/core/dev.c:2193 [inline]
 unregister_netdevice_many_notify+0xd06/0x21a0 net/core/dev.c:11809
 unregister_netdevice_many net/core/dev.c:11875 [inline]
 unregister_netdevice_queue+0x307/0x3f0 net/core/dev.c:11741
 unregister_netdevice include/linux/netdevice.h:3329 [inline]
 nsim_destroy+0x135/0x710 drivers/net/netdevsim/netdev.c:1021
 __nsim_dev_port_del+0x189/0x240 drivers/net/netdevsim/dev.c:1428
 nsim_dev_port_del_all drivers/net/netdevsim/dev.c:1440 [inline]
 nsim_dev_reload_destroy+0x108/0x4d0 drivers/net/netdevsim/dev.c:1661
 nsim_dev_reload_down+0x6e/0xd0 drivers/net/netdevsim/dev.c:968
 devlink_reload+0x17f/0x760 net/devlink/dev.c:461
 devlink_pernet_pre_exit+0x1a1/0x2b0 net/devlink/core.c:509
 ops_pre_exit_list net/core/net_namespace.c:162 [inline]
 cleanup_net+0x497/0xbf0 net/core/net_namespace.c:632
 process_one_work+0x958/0x1b30 kernel/workqueue.c:3236
 process_scheduled_works kernel/workqueue.c:3317 [inline]
 worker_thread+0x6c8/0xf00 kernel/workqueue.c:3398
 kthread+0x3af/0x750 kernel/kthread.c:464
 ret_from_fork+0x45/0x80 arch/x86/kernel/process.c:148
 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:244
 </TASK>

Crashes (3):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2025/01/29 13:46 upstream 805ba04cb7cc 08fa8553 .config console log report info [disk image] [vmlinux] [kernel image] ci-qemu-gce-upstream-auto WARNING in nsim_udp_tunnel_unset_port
2025/01/22 08:12 upstream c4b9570cfb63 da72ac06 .config console log report info [disk image] [vmlinux] [kernel image] ci-qemu-gce-upstream-auto WARNING in nsim_udp_tunnel_unset_port
2024/12/22 22:53 upstream bcde95ce32b6 b4fbdbd4 .config console log report info [disk image] [vmlinux] [kernel image] ci-qemu-gce-upstream-auto WARNING in nsim_udp_tunnel_unset_port
* Struck through repros no longer work on HEAD.