syzbot


KMSAN: uninit-value in neigh_parms_release (2)

Status: upstream: reported on 2025/05/26 12:09
Subsystems: net
[Documentation on labels]
Reported-by: syzbot+e92e583f97128c407c8f@syzkaller.appspotmail.com
First crash: 7d22h, last: 7d22h
Discussions (1)
Title Replies (including bot) Last reply
[syzbot] [net?] KMSAN: uninit-value in neigh_parms_release (2) 0 (1) 2025/05/26 12:09
Similar bugs (1)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream KMSAN: uninit-value in neigh_parms_release net 13 119d 122d 0/28 closed as invalid on 2025/02/20 20:55

Sample crash report:
team0 (unregistering): Port device team_slave_1 removed
team0 (unregistering): Port device team_slave_0 removed
=====================================================
BUG: KMSAN: uninit-value in ref_tracker_free+0x4fa/0xe80 lib/ref_tracker.c:228
 ref_tracker_free+0x4fa/0xe80 lib/ref_tracker.c:228
 netdev_tracker_free include/linux/netdevice.h:4351 [inline]
 netdev_put include/linux/netdevice.h:4368 [inline]
 neigh_parms_release+0x20d/0x3e0 net/core/neighbour.c:1709
 addrconf_ifdown+0x2e39/0x32e0 net/ipv6/addrconf.c:4011
 addrconf_notify+0x183/0x1d10 net/ipv6/addrconf.c:3780
 notifier_call_chain kernel/notifier.c:85 [inline]
 raw_notifier_call_chain+0xe0/0x410 kernel/notifier.c:453
 call_netdevice_notifiers_info+0x1ac/0x2b0 net/core/dev.c:2176
 call_netdevice_notifiers_extack net/core/dev.c:2214 [inline]
 call_netdevice_notifiers net/core/dev.c:2228 [inline]
 unregister_netdevice_many_notify+0x2cc8/0x4980 net/core/dev.c:11972
 unregister_netdevice_many net/core/dev.c:12036 [inline]
 default_device_exit_batch+0x1186/0x1250 net/core/dev.c:12530
 ops_exit_list net/core/net_namespace.c:177 [inline]
 cleanup_net+0x1218/0x1de0 net/core/net_namespace.c:654
 process_one_work kernel/workqueue.c:3238 [inline]
 process_scheduled_works+0xb9a/0x1d90 kernel/workqueue.c:3319
 worker_thread+0xedf/0x1590 kernel/workqueue.c:3400
 kthread+0xd5c/0xf00 kernel/kthread.c:464
 ret_from_fork+0x71/0x90 arch/x86/kernel/process.c:153
 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:245

Uninit was created at:
 __alloc_frozen_pages_noprof+0x689/0xf00 mm/page_alloc.c:4989
 alloc_pages_mpol+0x328/0x860 mm/mempolicy.c:2301
 alloc_frozen_pages_noprof+0xf7/0x200 mm/mempolicy.c:2372
 alloc_slab_page mm/slub.c:2450 [inline]
 allocate_slab+0x24d/0x1210 mm/slub.c:2618
 new_slab mm/slub.c:2672 [inline]
 ___slab_alloc+0xfec/0x3480 mm/slub.c:3858
 __slab_alloc mm/slub.c:3948 [inline]
 __slab_alloc_node mm/slub.c:4023 [inline]
 slab_alloc_node mm/slub.c:4184 [inline]
 __do_kmalloc_node mm/slub.c:4326 [inline]
 __kmalloc_noprof+0xa96/0x1310 mm/slub.c:4339
 kmalloc_noprof include/linux/slab.h:909 [inline]
 kzalloc_noprof include/linux/slab.h:1039 [inline]
 new_dir fs/proc/proc_sysctl.c:963 [inline]
 get_subdir fs/proc/proc_sysctl.c:1007 [inline]
 sysctl_mkdir_p fs/proc/proc_sysctl.c:1317 [inline]
 __register_sysctl_table+0x1988/0x2b90 fs/proc/proc_sysctl.c:1392
 register_net_sysctl_sz+0x3dc/0x3f0 net/sysctl_net.c:171
 neigh_sysctl_register+0x18bb/0x1b30 net/core/neighbour.c:3793
 devinet_sysctl_register+0x164/0x420 net/ipv4/devinet.c:2715
 inetdev_init+0x5f8/0x970 net/ipv4/devinet.c:291
 inetdev_event+0x1162/0x25e0 net/ipv4/devinet.c:1591
 notifier_call_chain kernel/notifier.c:85 [inline]
 raw_notifier_call_chain+0xe0/0x410 kernel/notifier.c:453
 call_netdevice_notifiers_info+0x1ac/0x2b0 net/core/dev.c:2176
 call_netdevice_notifiers_extack net/core/dev.c:2214 [inline]
 call_netdevice_notifiers net/core/dev.c:2228 [inline]
 register_netdevice+0x22d4/0x2610 net/core/dev.c:11037
 ipvlan_link_new+0x619/0x1090 drivers/net/ipvlan/ipvlan_main.c:592
 rtnl_newlink_create+0x416/0x1230 net/core/rtnetlink.c:3833
 __rtnl_newlink net/core/rtnetlink.c:3950 [inline]
 rtnl_newlink+0x2f13/0x3a90 net/core/rtnetlink.c:4065
 rtnetlink_rcv_msg+0x106c/0x14b0 net/core/rtnetlink.c:6955
 netlink_rcv_skb+0x54a/0x680 net/netlink/af_netlink.c:2534
 rtnetlink_rcv+0x35/0x40 net/core/rtnetlink.c:6982
 netlink_unicast_kernel net/netlink/af_netlink.c:1313 [inline]
 netlink_unicast+0xed5/0x1290 net/netlink/af_netlink.c:1339
 netlink_sendmsg+0x10b3/0x1250 net/netlink/af_netlink.c:1883
 sock_sendmsg_nosec net/socket.c:712 [inline]
 __sock_sendmsg+0x333/0x3d0 net/socket.c:727
 __sys_sendto+0x590/0x710 net/socket.c:2180
 __do_sys_sendto net/socket.c:2187 [inline]
 __se_sys_sendto net/socket.c:2183 [inline]
 __x64_sys_sendto+0x130/0x200 net/socket.c:2183
 x64_sys_call+0x3c0b/0x3db0 arch/x86/include/generated/asm/syscalls_64.h:45
 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline]
 do_syscall_64+0xd9/0x1b0 arch/x86/entry/syscall_64.c:94
 entry_SYSCALL_64_after_hwframe+0x77/0x7f

CPU: 0 UID: 0 PID: 4200 Comm: kworker/u8:17 Not tainted 6.15.0-rc7-syzkaller-00014-gd608703fcdd9 #0 PREEMPT(undef) 
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/07/2025
Workqueue: netns cleanup_net
=====================================================

Crashes (1):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2025/05/22 12:02 upstream d608703fcdd9 0919b50b .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kmsan-gce-root KMSAN: uninit-value in neigh_parms_release
* Struck through repros no longer work on HEAD.