ci2 starts bisection 2024-08-19 21:52:41.876079479 +0000 UTC m=+44612.124808453 bisecting fixing commit since 5d96939590c0122be2138255c921e57e3f78b7bd building syzkaller on 3ba885bcb66dec1678d8842ddeb6805786d32a3f 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: c09b62765ee27ce45e001cfa6e535a124af2e087ae5567db8f110a5001757b08 run #0: crashed: BUG: soft lockup in inet_release run #1: crashed: BUG: soft lockup in rcu_core_si run #2: crashed: BUG: soft lockup in inet_release run #3: crashed: BUG: soft lockup in bpf_map_free_deferred run #4: crashed: BUG: soft lockup in sk_psock_destroy run #5: crashed: BUG: soft lockup in rcu_core_si run #6: crashed: BUG: soft lockup in inet_release 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 inet_release run #10: crashed: BUG: soft lockup in kauditd_thread run #11: crashed: BUG: soft lockup in sys_recvmsg 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 rcu_core_si run #16: crashed: BUG: soft lockup in bpf_map_free_deferred run #17: crashed: BUG: soft lockup in ipv6_rcv run #18: crashed: BUG: soft lockup in inet_release run #19: crashed: BUG: soft lockup in sock_read_iter representative crash: BUG: soft lockup in inet_release, 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: 0646b5d1cd220c1ecb8c3fd880c5dabe87941f00ea22b9e1ba2b426a3264bc01 run #0: crashed: BUG: soft lockup in bpf_map_free_deferred run #1: crashed: BUG: soft lockup in inet_release run #2: crashed: BUG: soft lockup in addrconf_dad_work run #3: crashed: BUG: soft lockup in inet_release run #4: crashed: BUG: soft lockup in ipv6_rcv 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 inet_release run #8: crashed: BUG: soft lockup in rcu_core_si run #9: crashed: no output from test machine representative crash: BUG: soft lockup in bpf_map_free_deferred, 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 [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: 7214a23bb94aca6c1057cf4fdd95f073e822d022aef81d5159cb4e954bcec922 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 inet_release run #3: crashed: BUG: soft lockup in inet_release run #4: crashed: BUG: soft lockup in ipv6_rcv run #5: crashed: BUG: soft lockup in inet_release run #6: crashed: BUG: soft lockup in sys_unlink run #7: crashed: BUG: soft lockup in sys_unlink run #8: crashed: BUG: soft lockup in bpf_map_free_deferred 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 [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: 0024b0f2cc6b0e95c363bc50ab3e56936ec5877d100ebbce6de754a48a71509b run #0: crashed: BUG: soft lockup in bpf_map_free_deferred run #1: crashed: BUG: soft lockup in sk_psock_destroy run #2: crashed: BUG: soft lockup in inet_release run #3: crashed: BUG: soft lockup in rcu_core_si run #4: crashed: BUG: soft lockup in inet_release run #5: crashed: BUG: soft lockup in sock_read_iter run #6: crashed: BUG: soft lockup in inet_release 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 inet_release representative crash: BUG: soft lockup in bpf_map_free_deferred, types: [HANG] the chunk can be dropped testing without sub-chunk 3/5 disabling configs for [UBSAN BUG KASAN LOCKDEP ATOMIC_SLEEP LEAK], 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: a266a5a18e8e89d07ee6ce8c92200e495be2c50a62aff253a2bb52812a45f6cf 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 rcu_core_si run #3: crashed: BUG: soft lockup in bpf_map_free_deferred run #4: crashed: BUG: soft lockup in inotify_read run #5: crashed: BUG: soft lockup in rcu_core_si run #6: crashed: BUG: soft lockup in rcu_core_si run #7: crashed: BUG: soft lockup in inet_release run #8: crashed: BUG: soft lockup in kauditd_thread run #9: crashed: BUG: soft lockup in ipv6_rcv representative crash: BUG: soft lockup in inet_release, types: [HANG] the chunk can be dropped testing without sub-chunk 4/5 disabling configs for [LOCKDEP ATOMIC_SLEEP LEAK UBSAN BUG KASAN], 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: afc454a05ec2eb54fb3a01a6164ab7a3812f3a7c948ca7b2f53bfae4b1c12e81 run #0: crashed: BUG: soft lockup in destroy_list_workfn run #1: crashed: BUG: soft lockup in inet_release run #2: crashed: BUG: soft lockup in rcu_core_si run #3: crashed: BUG: soft lockup in ipv6_rcv run #4: crashed: BUG: soft lockup in ipv6_rcv run #5: crashed: BUG: soft lockup in inet_release run #6: crashed: BUG: soft lockup in rcu_core_si run #7: crashed: BUG: soft lockup in ipv6_rcv run #8: crashed: BUG: soft lockup in kauditd_thread run #9: crashed: no output from test machine representative crash: BUG: soft lockup in destroy_list_workfn, types: [HANG] the chunk can be dropped testing without sub-chunk 5/5 disabling configs for [LOCKDEP ATOMIC_SLEEP LEAK UBSAN BUG KASAN], 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 [LEAK UBSAN BUG KASAN LOCKDEP ATOMIC_SLEEP], they are not needed testing current HEAD 29d153aabd54226781d6165592fbcfa1e00e571c testing commit 29d153aabd54226781d6165592fbcfa1e00e571c gcc compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: bdac83ea39aeafed69c2995405fcee18d76c2fe643e6bc51d86303706104fafc run #0: crashed: BUG: soft lockup in inet_release run #1: crashed: BUG: soft lockup in ipv6_rcv run #2: crashed: BUG: soft lockup in kauditd_thread run #3: crashed: BUG: soft lockup in wg_packet_handshake_receive_worker run #4: crashed: BUG: soft lockup in kauditd_thread run #5: crashed: BUG: soft lockup in kauditd_thread run #6: crashed: BUG: soft lockup in x64_sys_call 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 mld_ifc_work 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: 1h42m40.551336239s (build: 45m33.800931484s, test: 55m25.156352567s) crash still not fixed or there were kernel test errors commit msg: Merge 5.15.156 into android13-5.15-lts crash: BUG: soft lockup in inet_release RBP: 00007f22b4b43980 R08: 00007f22b4996000 R09: 0000000000000001 R10: 0000000000000001 R11: 0000000000000293 R12: 000000000000d1ec R13: 000000000000cfc6 R14: 00007ffff2fd6c60 R15: 00007f22b49cacb0 watchdog: BUG: soft lockup - CPU#0 stuck for 225s! [syz-executor.0:366] Modules linked in: CPU: 0 PID: 366 Comm: syz-executor.0 Not tainted 5.15.156-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 06/27/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 ad f3 34 01 f4 c3 66 90 0f 00 2d a2 f3 34 01 fb f4 90 8b 05 3a 21 d7 01 83 f8 ff 74 06 85 c0 0f 95 c0 c3 55 48 89 RSP: 0018:ffffc9000033bd08 EFLAGS: 00000246 RAX: 0000000000000003 RBX: ffff888237c2cb00 RCX: 0000000000000008 RDX: 0000000000000000 RSI: 0000000000000003 RDI: ffff88810daeaa90 RBP: ffffc9000033bd48 R08: ffff88823fff0e40 R09: 0000000000000000 R10: 0000000000000001 R11: ffff888237c2cb00 R12: ffff88810daeaa90 R13: 0000000000000000 R14: 0000000000000001 R15: 0000000000000100 FS: 0000555557075480(0000) GS:ffff888237c00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f22b4b3e0c0 CR3: 000000010fd71000 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/0x150 net/core/sock_map.c:1510 sock_map_close+0xab/0x120 net/core/sock_map.c:1552 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:181 [inline] exit_to_user_mode_prepare+0x143/0x150 kernel/entry/common.c:214 __syscall_exit_to_user_mode_work kernel/entry/common.c:296 [inline] syscall_exit_to_user_mode+0x21/0x40 kernel/entry/common.c:307 do_syscall_64+0x40/0xb0 arch/x86/entry/common.c:86 entry_SYSCALL_64_after_hwframe+0x66/0xd0 RIP: 0033:0x7f22b4a12d9a 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:00007ffff2fd6aa0 EFLAGS: 00000293 ORIG_RAX: 0000000000000003 RAX: 0000000000000000 RBX: 0000000000000005 RCX: 00007f22b4a12d9a RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000004 RBP: 00007f22b4b43980 R08: 00007f22b4996000 R09: 0000000000000001 R10: 0000000000000001 R11: 0000000000000293 R12: 000000000000d1ec R13: 000000000000cfc6 R14: 00007ffff2fd6c60 R15: 00007f22b49cacb0 Sending NMI from CPU 0 to CPUs 1: NMI backtrace for cpu 1 CPU: 1 PID: 30 Comm: kauditd Not tainted 5.15.156-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 06/27/2024 RIP: 0010:pv_wait_head_or_lock kernel/locking/qspinlock_paravirt.h:434 [inline] RIP: 0010:__pv_queued_spin_lock_slowpath+0xfa/0x2e0 kernel/locking/qspinlock.c:508 Code: be 01 00 00 00 41 bf 00 01 00 00 3c 02 0f 94 c0 0f b6 c0 48 89 45 c8 c6 43 14 00 ba 00 80 00 00 41 c6 44 24 01 01 eb 0b f3 90 <83> ea 01 0f 84 74 01 00 00 41 0f b6 04 24 84 c0 75 ec 44 89 f8 f0 RSP: 0018:ffffc90000103ac0 EFLAGS: 00000206 RAX: 0000000000000003 RBX: ffff888237d2cb00 RCX: 0000000000000008 RDX: 0000000000003587 RSI: 0000000000000003 RDI: ffff888110f5c9f8 RBP: ffffc90000103af8 R08: ffff88823fff0f40 R09: 0000000000000000 R10: 0000000000000001 R11: ffff888237d2cb00 R12: ffff888110f5c9f8 R13: 0000000000000000 R14: 0000000000000001 R15: 0000000000000100 FS: 0000000000000000(0000) GS:ffff888237d00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00005579fc8974a0 CR3: 00000001023e0000 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+0x5f/0x120 net/core/sock_map.c:943 bpf_prog_2c29ac5cdc6b1842+0x3a/0x8cc bpf_dispatcher_nop_func include/linux/bpf.h:785 [inline] __bpf_prog_run include/linux/filter.h:628 [inline] bpf_prog_run include/linux/filter.h:635 [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+0xd4/0x120 net/core/sock_map.c:947 bpf_prog_2c29ac5cdc6b1842+0x3a/0x8cc bpf_dispatcher_nop_func include/linux/bpf.h:785 [inline] __bpf_prog_run include/linux/filter.h:628 [inline] bpf_prog_run include/linux/filter.h:635 [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 skb_free_head+0x64/0x80 net/core/skbuff.c:656 skb_release_data+0x12a/0x140 net/core/skbuff.c:678 skb_release_all net/core/skbuff.c:743 [inline] __kfree_skb net/core/skbuff.c:757 [inline] kfree_skb_reason.part.0+0x31/0xe0 net/core/skbuff.c:778 kfree_skb_reason+0x19/0x50 include/linux/refcount.h:279 kfree_skb+0xb/0x10 net/core/skbuff.c:792 kauditd_hold_skb+0x69/0xc0 kernel/audit.c:614 kauditd_send_queue+0x109/0x150 kernel/audit.c:769 kauditd_thread+0x255/0x2f0 kernel/audit.c:893 kthread+0x13a/0x160 kernel/kthread.c:337 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:300