ci2 starts bisection 2024-07-08 04:03:38.459722374 +0000 UTC m=+241165.120211319 bisecting fixing commit since 5d96939590c0122be2138255c921e57e3f78b7bd building syzkaller on 610f2a54d02f8cf4f2454c03bf679b602e6e59b6 ensuring issue is reproducible on original commit 5d96939590c0122be2138255c921e57e3f78b7bd testing commit 5d96939590c0122be2138255c921e57e3f78b7bd gcc compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 46d81ea17fef16ce9724741b74fff591b44889b890d66077f46524f3ed7f6654 run #0: crashed: BUG: soft lockup in mld_ifc_work run #1: crashed: BUG: soft lockup in inet_release run #2: crashed: BUG: soft lockup in ipv6_rcv run #3: crashed: BUG: soft lockup in sys_mkdirat run #4: crashed: BUG: soft lockup in inet_release run #5: crashed: BUG: soft lockup in inet_release run #6: crashed: BUG: soft lockup in linkwatch_event run #7: crashed: BUG: soft lockup in inet_release run #8: crashed: BUG: soft lockup in inet_release run #9: crashed: BUG: soft lockup in sys_socket run #10: crashed: BUG: soft lockup in inet_release run #11: crashed: BUG: soft lockup in tcp_setsockopt run #12: crashed: BUG: soft lockup in inet_release run #13: crashed: BUG: soft lockup in rcu_core_si run #14: crashed: BUG: soft lockup in sys_syslog run #15: crashed: BUG: soft lockup in ipv6_rcv run #16: crashed: BUG: soft lockup in tun_chr_read_iter run #17: crashed: BUG: soft lockup in inet_release run #18: crashed: BUG: soft lockup in rtnl_newlink run #19: crashed: no output from test machine representative crash: BUG: soft lockup in mld_ifc_work, types: [HANG] check whether we can drop unnecessary instrumentation disabling configs for [LEAK UBSAN BUG KASAN LOCKDEP ATOMIC_SLEEP], they are not needed testing commit 5d96939590c0122be2138255c921e57e3f78b7bd gcc compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 68b18003cdffcb51a1d4d4e2de47737ce3c77447338122230bc29f422d2a6842 run #0: crashed: BUG: soft lockup in inet_release run #1: crashed: BUG: soft lockup in mld_ifc_work run #2: crashed: BUG: soft lockup in sys_syslog run #3: crashed: BUG: soft lockup in sys_bpf run #4: crashed: BUG: soft lockup in sys_getsockopt run #5: crashed: BUG: soft lockup in inet_release run #6: crashed: BUG: soft lockup in inet_release run #7: crashed: BUG: soft lockup in linkwatch_event run #8: crashed: BUG: soft lockup in net_rx_action run #9: crashed: no output from test machine representative crash: BUG: soft lockup in inet_release, types: [HANG] the bug reproduces without the instrumentation disabling configs for [LEAK UBSAN BUG KASAN LOCKDEP ATOMIC_SLEEP], they are not needed kconfig minimization: base=4920 full=6158 leaves diff=242 split chunks (needed=false): <242> split chunk #0 of len 242 into 5 parts testing without sub-chunk 1/5 disabling configs for [ATOMIC_SLEEP LEAK UBSAN BUG KASAN LOCKDEP], they are not needed testing commit 5d96939590c0122be2138255c921e57e3f78b7bd gcc compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 5a9f98e570f4a22812057feb108117212a2191ac4b1f353d370cc6a70e59e15e run #0: crashed: BUG: soft lockup in inet_release run #1: crashed: BUG: soft lockup in inet_release run #2: crashed: BUG: soft lockup in ipv6_rcv run #3: crashed: BUG: soft lockup in sys_bpf run #4: crashed: BUG: soft lockup in inet_release run #5: crashed: BUG: soft lockup in inet_rtm_newaddr run #6: crashed: BUG: soft lockup in kernfs_fop_write_iter run #7: crashed: BUG: soft lockup in kauditd_thread run #8: crashed: BUG: soft lockup in inet_release run #9: crashed: no output from test machine representative crash: BUG: soft lockup in inet_release, types: [HANG] the chunk can be dropped testing without sub-chunk 2/5 disabling configs for [ATOMIC_SLEEP LEAK UBSAN BUG KASAN LOCKDEP], they are not needed testing commit 5d96939590c0122be2138255c921e57e3f78b7bd gcc compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: c0ca1af3bd4d3057c7f259237731188fbd0f58bfef72ee086318bdd781e1a742 run #0: crashed: BUG: soft lockup in linkwatch_event run #1: crashed: BUG: soft lockup in sys_syslog run #2: crashed: BUG: soft lockup in linkwatch_event run #3: crashed: BUG: soft lockup in ip_rcv run #4: crashed: BUG: soft lockup in inet_release run #5: crashed: BUG: soft lockup in rcu_core_si run #6: crashed: BUG: soft lockup in linkwatch_event run #7: crashed: BUG: soft lockup in rcu_core_si run #8: crashed: BUG: soft lockup in ipv6_rcv run #9: crashed: BUG: soft lockup in ipv6_list_rcv representative crash: BUG: soft lockup in linkwatch_event, types: [HANG] the chunk can be dropped testing without sub-chunk 3/5 disabling configs for [LEAK UBSAN BUG KASAN LOCKDEP ATOMIC_SLEEP], they are not needed testing commit 5d96939590c0122be2138255c921e57e3f78b7bd gcc compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 54c403353481d8532e0c852aef0bfce2f1774d226d7657ec47374c7478428a96 run #0: crashed: BUG: soft lockup in rcu_core_si run #1: crashed: BUG: soft lockup in inet_rtm_newaddr run #2: crashed: BUG: soft lockup in sys_syslog run #3: crashed: BUG: soft lockup in linkwatch_event run #4: crashed: BUG: soft lockup in linkwatch_event run #5: crashed: BUG: soft lockup in inet_release run #6: crashed: BUG: soft lockup in sys_syslog run #7: crashed: BUG: soft lockup in rtnl_newlink run #8: crashed: BUG: soft lockup in addrconf_dad_work run #9: crashed: BUG: soft lockup in sys_socket representative crash: BUG: soft lockup in rcu_core_si, types: [HANG] the chunk can be dropped testing without sub-chunk 4/5 disabling configs for [LEAK UBSAN BUG KASAN LOCKDEP ATOMIC_SLEEP], they are not needed testing commit 5d96939590c0122be2138255c921e57e3f78b7bd gcc compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: e7ab2376f41b732b19c97a1da0ad4f4ba7c029b8b981b740041659ebafc6be6c run #0: crashed: BUG: soft lockup in linkwatch_event run #1: crashed: BUG: soft lockup in inet_release run #2: crashed: BUG: soft lockup in sock_read_iter run #3: crashed: BUG: soft lockup in rtnl_newlink run #4: crashed: BUG: soft lockup in sys_sendto run #5: crashed: BUG: soft lockup in sys_openat run #6: crashed: BUG: soft lockup in inet_release run #7: crashed: BUG: soft lockup in linkwatch_event run #8: crashed: BUG: soft lockup in sys_socket run #9: crashed: BUG: soft lockup in ipv6_rcv representative crash: BUG: soft lockup in linkwatch_event, types: [HANG] the chunk can be dropped testing without sub-chunk 5/5 disabling configs for [LEAK UBSAN BUG KASAN LOCKDEP ATOMIC_SLEEP], they are not needed testing commit 5d96939590c0122be2138255c921e57e3f78b7bd gcc compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.40 failed building 5d96939590c0122be2138255c921e57e3f78b7bd: net/socket.c:1191: undefined reference to `wext_handle_ioctl' net/socket.c:3385: undefined reference to `compat_wext_handle_ioctl' net/core/net-procfs.c:343: undefined reference to `wext_proc_exit' net/core/net-procfs.c:327: undefined reference to `wext_proc_init' minimized to 46 configs; suspects: [HID_ZEROPLUS USB_NET_GL620A USB_NET_MCS7830 USB_NET_NET1080 USB_NET_PLUSB USB_NET_RNDIS_HOST USB_NET_SMSC75XX USB_NET_SMSC95XX USB_NET_SR9700 USB_NET_SR9800 USB_NET_ZAURUS USB_OHCI_HCD USB_OHCI_HCD_PCI USB_OHCI_HCD_PLATFORM USB_OTG USB_OTG_FSM USB_PRINTER USB_SERIAL USB_SERIAL_FTDI_SIO USB_SERIAL_GENERIC USB_SERIAL_PL2303 USB_STORAGE_ALAUDA USB_STORAGE_CYPRESS_ATACB USB_STORAGE_DATAFAB USB_STORAGE_FREECOM USB_STORAGE_ISD200 USB_STORAGE_JUMPSHOT USB_STORAGE_KARMA USB_STORAGE_ONETOUCH USB_STORAGE_SDDR09 USB_STORAGE_SDDR55 USB_STORAGE_USBAT USB_TRANCEVIBRATOR USB_U_AUDIO USB_U_ETHER USB_U_SERIAL USB_WDM WLAN WLAN_VENDOR_ATH WLAN_VENDOR_ATMEL WLAN_VENDOR_BROADCOM WLAN_VENDOR_INTERSIL WLAN_VENDOR_MARVELL WLAN_VENDOR_MEDIATEK WLAN_VENDOR_MICROCHIP WLAN_VENDOR_RALINK WLAN_VENDOR_REALTEK WLAN_VENDOR_RSI WLAN_VENDOR_ZYDAS X86_X32 ZEROPLUS_FF] disabling configs for [ATOMIC_SLEEP LEAK UBSAN BUG KASAN LOCKDEP], they are not needed testing current HEAD 9044d25b8ff5cb55bf57542a8457cd1e4e37646d testing commit 9044d25b8ff5cb55bf57542a8457cd1e4e37646d gcc compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 95a955e0bfe4b2f638bcb8dc071af630a11e12a2969e34901f23035a83c521c9 run #0: crashed: BUG: soft lockup in inet_release run #1: crashed: BUG: soft lockup in inet_release run #2: crashed: BUG: soft lockup in sys_symlinkat run #3: crashed: BUG: soft lockup in sys_syslog run #4: crashed: BUG: soft lockup in inet_release run #5: crashed: BUG: soft lockup in ipv6_rcv run #6: crashed: BUG: soft lockup in addrconf_dad_work run #7: crashed: BUG: soft lockup in inet_release run #8: crashed: BUG: soft lockup in sys_socket run #9: crashed: BUG: soft lockup in unix_release representative crash: BUG: soft lockup in inet_release, types: [HANG] crash still not fixed/happens on the oldest tested release revisions tested: 7, total time: 1h5m5.268097849s (build: 12m26.097155478s, test: 51m7.898651569s) crash still not fixed or there were kernel test errors commit msg: Revert "net: dev: Convert sa_data to flexible array in struct sockaddr" crash: BUG: soft lockup in inet_release watchdog: BUG: soft lockup - CPU#0 stuck for 144s! [syz-executor.0:408] Modules linked in: CPU: 0 PID: 408 Comm: syz-executor.0 Not tainted 5.15.150-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 06/07/2024 RIP: 0010:arch_safe_halt arch/x86/include/asm/irqflags.h:90 [inline] RIP: 0010:kvm_wait arch/x86/kernel/kvm.c:918 [inline] RIP: 0010:kvm_wait+0x3e/0x40 arch/x86/kernel/kvm.c:900 Code: 0b fa 0f b6 07 40 38 f0 74 15 fb c3 0f b6 07 40 38 c6 75 f7 66 90 0f 00 2d 1d 02 35 01 f4 c3 66 90 0f 00 2d 12 02 35 01 fb f4 90 8b 05 0a 3f d7 01 83 f8 ff 74 06 85 c0 0f 95 c0 c3 55 48 89 RSP: 0018:ffffc900004bbd08 EFLAGS: 00000246 RAX: 0000000000000003 RBX: ffff888237c2cb00 RCX: 0000000000000008 RDX: 0000000000000000 RSI: 0000000000000003 RDI: ffff888114297e90 RBP: ffffc900004bbd48 R08: ffff88823fff0940 R09: 0000000000000000 R10: 0000000000000001 R11: ffff888237c2cb00 R12: ffff888114297e90 R13: 0000000000000000 R14: 0000000000000001 R15: 0000000000000100 FS: 0000555556550480(0000) GS:ffff888237c00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fffd609df78 CR3: 000000010f8ff000 CR4: 00000000003506b0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: pv_queued_spin_lock_slowpath arch/x86/include/asm/paravirt.h:585 [inline] queued_spin_lock_slowpath arch/x86/include/asm/qspinlock.h:51 [inline] queued_spin_lock include/asm-generic/qspinlock.h:85 [inline] do_raw_spin_lock include/linux/spinlock.h:187 [inline] __raw_spin_lock_bh include/linux/spinlock_api_smp.h:136 [inline] _raw_spin_lock_bh+0x39/0x40 kernel/locking/spinlock.c:178 spin_lock_bh include/linux/spinlock.h:368 [inline] sk_psock_link_pop+0x1b/0x80 net/core/skmsg.c:753 sock_map_remove_links+0x22/0x180 net/core/sock_map.c:1504 sock_map_close+0xab/0x120 net/core/sock_map.c:1546 inet_release+0x3d/0x80 net/ipv4/af_inet.c:434 __sock_release+0x37/0xa0 net/socket.c:649 sock_close+0x10/0x20 net/socket.c:1336 __fput+0xd5/0x260 fs/file_table.c:280 ____fput+0x9/0x10 fs/file_table.c:308 task_work_run+0x5c/0x90 kernel/task_work.c:164 tracehook_notify_resume include/linux/tracehook.h:189 [inline] exit_to_user_mode_loop kernel/entry/common.c:175 [inline] exit_to_user_mode_prepare+0x140/0x150 kernel/entry/common.c:208 __syscall_exit_to_user_mode_work kernel/entry/common.c:290 [inline] syscall_exit_to_user_mode+0x21/0x40 kernel/entry/common.c:301 do_syscall_64+0x42/0xb0 arch/x86/entry/common.c:86 entry_SYSCALL_64_after_hwframe+0x61/0xcb RIP: 0033:0x7f3f55e5ab9a Code: 48 3d 00 f0 ff ff 77 48 c3 0f 1f 80 00 00 00 00 48 83 ec 18 89 7c 24 0c e8 03 7f 02 00 8b 7c 24 0c 89 c2 b8 03 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 36 89 d7 89 44 24 0c e8 63 7f 02 00 8b 44 24 RSP: 002b:00007ffd0ef49410 EFLAGS: 00000293 ORIG_RAX: 0000000000000003 RAX: 0000000000000000 RBX: 0000000000000005 RCX: 00007f3f55e5ab9a RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000004 RBP: 00007ffd0ef494e8 R08: 00007f3f55dde000 R09: 0000000000000001 R10: 0000000000000001 R11: 0000000000000293 R12: 0000000000011aa4 R13: 00007f3f55f89f8c R14: 00007f3f55f89f80 R15: 0000000000000226 Sending NMI from CPU 0 to CPUs 1: NMI backtrace for cpu 1 CPU: 1 PID: 325 Comm: kworker/1:3 Not tainted 5.15.150-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 06/07/2024 Workqueue: mld mld_ifc_work RIP: 0010:arch_safe_halt arch/x86/include/asm/irqflags.h:90 [inline] RIP: 0010:kvm_wait arch/x86/kernel/kvm.c:918 [inline] RIP: 0010:kvm_wait+0x3e/0x40 arch/x86/kernel/kvm.c:900 Code: 0b fa 0f b6 07 40 38 f0 74 15 fb c3 0f b6 07 40 38 c6 75 f7 66 90 0f 00 2d 1d 02 35 01 f4 c3 66 90 0f 00 2d 12 02 35 01 fb f4 90 8b 05 0a 3f d7 01 83 f8 ff 74 06 85 c0 0f 95 c0 c3 55 48 89 RSP: 0018:ffffc900000ecbd8 EFLAGS: 00000246 RAX: 0000000000000003 RBX: ffff888237d2cb00 RCX: 0000000000000008 RDX: 0000000000000000 RSI: 0000000000000003 RDI: ffff88810f913438 RBP: ffffc900000ecc18 R08: ffff88823fff0300 R09: 0000000000000000 R10: 0000000000000001 R11: ffff888237d2cb00 R12: ffff88810f913438 R13: 0000000000000000 R14: 0000000000000001 R15: 0000000000000100 FS: 0000000000000000(0000) GS:ffff888237d00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00005573bd3eeca8 CR3: 00000001019af000 CR4: 00000000003506a0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: pv_queued_spin_lock_slowpath arch/x86/include/asm/paravirt.h:585 [inline] queued_spin_lock_slowpath arch/x86/include/asm/qspinlock.h:51 [inline] queued_spin_lock include/asm-generic/qspinlock.h:85 [inline] do_raw_spin_lock include/linux/spinlock.h:187 [inline] __raw_spin_lock_bh include/linux/spinlock_api_smp.h:136 [inline] _raw_spin_lock_bh+0x39/0x40 kernel/locking/spinlock.c:178 sock_hash_delete_elem+0x51/0x100 net/core/sock_map.c:937 bpf_prog_2c29ac5cdc6b1842+0x3a/0x1f8 bpf_dispatcher_nop_func include/linux/bpf.h:785 [inline] __bpf_prog_run include/linux/filter.h:625 [inline] bpf_prog_run include/linux/filter.h:632 [inline] __bpf_trace_run kernel/trace/bpf_trace.c:1880 [inline] bpf_trace_run2+0x37/0x90 kernel/trace/bpf_trace.c:1917 __bpf_trace_kfree+0x9/0x10 include/trace/events/kmem.h:118 trace_kfree include/trace/events/kmem.h:118 [inline] kfree+0x1ff/0x2a0 mm/slub.c:4569 sk_psock_free_link include/linux/skmsg.h:420 [inline] sock_map_del_link+0x111/0x1c0 net/core/sock_map.c:160 sock_map_unref+0x2f/0x70 net/core/sock_map.c:182 sock_hash_delete_elem+0xc6/0x100 net/core/sock_map.c:941 bpf_prog_2c29ac5cdc6b1842+0x3a/0x1f8 bpf_dispatcher_nop_func include/linux/bpf.h:785 [inline] __bpf_prog_run include/linux/filter.h:625 [inline] bpf_prog_run include/linux/filter.h:632 [inline] __bpf_trace_run kernel/trace/bpf_trace.c:1880 [inline] bpf_trace_run2+0x37/0x90 kernel/trace/bpf_trace.c:1917 __bpf_trace_kfree+0x9/0x10 include/trace/events/kmem.h:118 trace_kfree include/trace/events/kmem.h:118 [inline] kfree+0x1ff/0x2a0 mm/slub.c:4569 fib6_info_destroy_rcu+0x5d/0xb0 net/ipv6/ip6_fib.c:178 rcu_do_batch+0x177/0x4a0 kernel/rcu/tree.c:2523 rcu_core+0x261/0x390 kernel/rcu/tree.c:2763 rcu_core_si+0x9/0x10 kernel/rcu/tree.c:2776 __do_softirq+0xff/0x2fc kernel/softirq.c:565 do_softirq kernel/softirq.c:452 [inline] do_softirq+0x6f/0x90 kernel/softirq.c:439 __local_bh_enable_ip+0x5a/0x60 kernel/softirq.c:379 local_bh_enable include/linux/bottom_half.h:32 [inline] ip6t_do_table+0x2dc/0x680 net/ipv6/netfilter/ip6_tables.c:377 ip6t_mangle_out net/ipv6/netfilter/ip6table_mangle.c:49 [inline] ip6table_mangle_hook+0x88/0x120 net/ipv6/netfilter/ip6table_mangle.c:71 nf_hook_entry_hookfn include/linux/netfilter.h:143 [inline] nf_hook_slow+0x3b/0xb0 net/netfilter/core.c:590 nf_hook include/linux/netfilter.h:260 [inline] NF_HOOK include/linux/netfilter.h:303 [inline] mld_sendpack+0x1f6/0x2d0 net/ipv6/mcast.c:1820 mld_send_cr net/ipv6/mcast.c:2121 [inline] mld_ifc_work+0x18f/0x470 net/ipv6/mcast.c:2653 process_one_work+0x199/0x340 kernel/workqueue.c:2325 worker_thread+0x4e/0x340 kernel/workqueue.c:2472 kthread+0x13a/0x160 kernel/kthread.c:337 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:298