ci2 starts bisection 2024-07-14 14:06:51.924813961 +0000 UTC m=+245336.472445417
bisecting fixing commit since 5d96939590c0122be2138255c921e57e3f78b7bd
building syzkaller on 07b455f928ae5c2cd07f4d61c1b499f56ea3dd08
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: e65324eb8295c11916acbe2947b6b36a761e5cdba01a6c5548ee51df5150d11a
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 sys_bpf
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 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 linkwatch_event
run #10: crashed: BUG: soft lockup in inet_release
run #11: crashed: BUG: soft lockup in linkwatch_event
run #12: crashed: BUG: soft lockup in rcu_core_si
run #13: crashed: BUG: soft lockup in inet_release
run #14: crashed: BUG: soft lockup in inet_release
run #15: crashed: BUG: soft lockup in sys_symlinkat
run #16: crashed: BUG: soft lockup in ipv6_rcv
run #17: crashed: BUG: soft lockup in inet_release
run #18: crashed: BUG: soft lockup in sock_read_iter
run #19: crashed: BUG: soft lockup in inet_release
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: e831da05a3c722590fd637a40826d29975f1263f647f119dca439db51fa7ff1b
run #0: crashed: BUG: soft lockup in linkwatch_event
run #1: crashed: BUG: soft lockup in sys_recvfrom
run #2: crashed: BUG: soft lockup in kernfs_fop_read_iter
run #3: crashed: BUG: soft lockup in inet_release
run #4: crashed: BUG: soft lockup in rtnl_newlink
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 ipv6_rcv
run #8: crashed: BUG: soft lockup in inet_release
run #9: crashed: BUG: soft lockup in sys_socket
representative crash: BUG: soft lockup in linkwatch_event, types: [HANG]
the bug reproduces without the instrumentation
disabling configs for [BUG KASAN LOCKDEP ATOMIC_SLEEP LEAK UBSAN], 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: 44956f1372cbe306abb421689da52cd26240e2c16c1f4597141eb64479fb3350
run #0: crashed: BUG: soft lockup in rcu_core_si
run #1: crashed: BUG: soft lockup in linkwatch_event
run #2: crashed: BUG: soft lockup in sys_getsockopt
run #3: crashed: BUG: soft lockup in inet_release
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 sys_symlinkat
run #7: crashed: BUG: soft lockup in inet6_rtm_newaddr
run #8: crashed: BUG: soft lockup in inet_release
run #9: crashed: BUG: soft lockup in inet_release
representative crash: BUG: soft lockup in rcu_core_si, types: [HANG]
the chunk can be dropped
testing without sub-chunk 2/5
disabling configs for [BUG KASAN LOCKDEP ATOMIC_SLEEP LEAK UBSAN], 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: 9c3317536c0d8f70d04c2e8289de788aa3f171aabf5a766a2dc2131863f04bea
run #0: crashed: BUG: soft lockup in rcu_core_si
run #1: crashed: BUG: soft lockup in inet_release
run #2: crashed: BUG: soft lockup in sys_sendto
run #3: crashed: BUG: soft lockup in rcu_core_si
run #4: crashed: BUG: soft lockup in sys_syslog
run #5: crashed: BUG: soft lockup in kauditd_thread
run #6: crashed: BUG: soft lockup in rtnl_newlink
run #7: crashed: BUG: soft lockup in sock_read_iter
run #8: crashed: BUG: soft lockup in inet_release
run #9: crashed: BUG: soft lockup in inet_release
representative crash: BUG: soft lockup in rcu_core_si, types: [HANG]
the chunk can be dropped
testing without sub-chunk 3/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: cc19f726f649b5f6a2710adee853a2bd4140b633dd7aff2414a00f63b8d20508
run #0: crashed: BUG: soft lockup in inet_release
run #1: crashed: BUG: soft lockup in linkwatch_event
run #2: crashed: BUG: soft lockup in sys_socket
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 kernfs_fop_open
run #6: crashed: BUG: soft lockup in net_rx_action
run #7: crashed: BUG: soft lockup in inet_release
run #8: crashed: BUG: soft lockup in sock_read_iter
run #9: crashed: BUG: soft lockup in wg_packet_handshake_receive_worker
representative crash: BUG: soft lockup in inet_release, types: [HANG]
the chunk can be dropped
testing without sub-chunk 4/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: 10b5ddd426d90e8aa87117ea7fb0523aa6cbebd08273778d2f2f44468b105a5f
run #0: crashed: BUG: soft lockup in rcu_core_si
run #1: crashed: BUG: soft lockup in linkwatch_event
run #2: crashed: BUG: soft lockup in bpf_map_free_deferred
run #3: crashed: BUG: soft lockup in rcu_core_si
run #4: crashed: BUG: soft lockup in rtnl_newlink
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 rcu_core_si
run #8: crashed: BUG: soft lockup in inet_release
run #9: crashed: BUG: soft lockup in inet_release
representative crash: BUG: soft lockup in rcu_core_si, types: [HANG]
the chunk can be dropped
testing without sub-chunk 5/5
disabling configs for [KASAN LOCKDEP ATOMIC_SLEEP LEAK UBSAN BUG], 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 db06c48ab67eb5db1ac64a0210d77742e335537a
testing commit db06c48ab67eb5db1ac64a0210d77742e335537a gcc
compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.40
kernel signature: d8e06fc93d31c9d4237dec80f39224c5cd12cadb72a06dde7547644141bcc2ec
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 rcu_core_si
run #5: crashed: BUG: soft lockup in sys_readlink
run #6: crashed: BUG: soft lockup in sock_read_iter
run #7: crashed: BUG: soft lockup in sock_read_iter
run #8: crashed: BUG: soft lockup in inet_release
run #9: crashed: BUG: soft lockup in inet_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: 1h52m9.948068159s (build: 1h0m2.782438785s, test: 50m5.072589837s)
crash still not fixed or there were kernel test errors
commit msg: Merge 5.15.151 into android13-5.15-lts
crash: BUG: soft lockup in inet_release
watchdog: BUG: soft lockup - CPU#0 stuck for 143s! [syz-executor.0:390]
Modules linked in:
CPU: 0 PID: 390 Comm: syz-executor.0 Not tainted 5.15.151-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 06/07/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:ffffc900004c3d10 EFLAGS: 00000206
RAX: 0000000000000003 RBX: ffff888237c2cb00 RCX: 0000000000000008
RDX: 0000000000006084 RSI: 0000000000000003 RDI: ffff888117221490
RBP: ffffc900004c3d48 R08: ffff88823fff0b40 R09: 0000000000000000
R10: 0000000000000001 R11: ffff888237c2cb00 R12: ffff888117221490
R13: 0000000000000000 R14: 0000000000000001 R15: 0000000000000100
FS: 0000555555971480(0000) GS:ffff888237c00000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007ff6d4f980c0 CR3: 0000000117252000 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:0x7ff6d4e6cd9a
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:00007ffc55667ff0 EFLAGS: 00000293 ORIG_RAX: 0000000000000003
RAX: 0000000000000000 RBX: 0000000000000005 RCX: 00007ff6d4e6cd9a
RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000004
RBP: 00007ff6d4f9d980 R08: 00007ff6d4df0000 R09: 0000000000000001
R10: 0000000000000001 R11: 0000000000000293 R12: 000000000000d147
R13: 000000000000cf21 R14: 00007ffc556681b0 R15: 00007ff6d4e24cb0
Sending NMI from CPU 0 to CPUs 1:
NMI backtrace for cpu 1
CPU: 1 PID: 365 Comm: syz-executor.3 Not tainted 5.15.151-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 fd 01 35 01 f4 c3 66 90 0f 00 2d f2 01 35 01 fb f4 90 8b 05 ea 3e d7 01 83 f8 ff 74 06 85 c0 0f 95 c0 c3 55 48 89
RSP: 0018:ffffc900003eb1a0 EFLAGS: 00000246
RAX: 0000000000000003 RBX: ffff888237d2cb00 RCX: 0000000000000008
RDX: 0000000000000000 RSI: 0000000000000003 RDI: ffff888116ef86b8
RBP: ffffc900003eb1e0 R08: ffff88823fff0880 R09: 0000000000000000
R10: 0000000000000001 R11: ffff888237d2cb00 R12: ffff888116ef86b8
R13: 0000000000000000 R14: 0000000000000001 R15: 0000000000000100
FS: 00005555558b4480(0000) GS:ffff888237d00000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000558bfe3e7750 CR3: 000000010199e000 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/0xb0c
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/0xb0c
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
skb_free_head+0x64/0x80 net/core/skbuff.c:656
pskb_expand_head+0x1bb/0x310 net/core/skbuff.c:1760
netlink_trim+0x84/0xb0 net/netlink/af_netlink.c:1312
netlink_broadcast_filtered+0x31/0x4b0 net/netlink/af_netlink.c:1517
netlink_broadcast net/netlink/af_netlink.c:1562 [inline]
nlmsg_multicast include/net/netlink.h:1033 [inline]
nlmsg_notify+0x35/0x130 net/netlink/af_netlink.c:2548
rtnl_notify net/core/rtnetlink.c:730 [inline]
rtmsg_ifinfo_send net/core/rtnetlink.c:3887 [inline]
rtmsg_ifinfo_event net/core/rtnetlink.c:3902 [inline]
rtmsg_ifinfo_event net/core/rtnetlink.c:3890 [inline]
rtnetlink_event+0x8e/0x90 net/core/rtnetlink.c:5680
notifier_call_chain kernel/notifier.c:83 [inline]
raw_notifier_call_chain+0x41/0x60 kernel/notifier.c:391
call_netdevice_notifiers_info net/core/dev.c:2025 [inline]
call_netdevice_notifiers_info net/core/dev.c:2010 [inline]
call_netdevice_notifiers_extack net/core/dev.c:2037 [inline]
call_netdevice_notifiers net/core/dev.c:2051 [inline]
dev_set_mac_address+0x154/0x180 net/core/dev.c:9078
dev_set_mac_address_user+0x2d/0x50 net/core/dev.c:9092
do_setlink+0x6e6/0x1020 net/core/rtnetlink.c:2696
__rtnl_newlink+0x584/0xa30 net/core/rtnetlink.c:3429
rtnl_newlink+0x44/0x70 net/core/rtnetlink.c:3549
rtnetlink_rcv_msg+0x13e/0x380 net/core/rtnetlink.c:5629
netlink_rcv_skb+0x4e/0xf0 net/netlink/af_netlink.c:2505
rtnetlink_rcv+0x10/0x20 net/core/rtnetlink.c:5647
netlink_unicast_kernel net/netlink/af_netlink.c:1330 [inline]
netlink_unicast+0x250/0x340 net/netlink/af_netlink.c:1356
netlink_sendmsg+0x241/0x490 net/netlink/af_netlink.c:1924
sock_sendmsg_nosec net/socket.c:704 [inline]
__sock_sendmsg+0x35/0x40 net/socket.c:716
__sys_sendto+0x10e/0x190 net/socket.c:2058
__do_sys_sendto net/socket.c:2070 [inline]
__se_sys_sendto net/socket.c:2066 [inline]
__x64_sys_sendto+0x24/0x30 net/socket.c:2066
do_syscall_x64 arch/x86/entry/common.c:50 [inline]
do_syscall_64+0x35/0xb0 arch/x86/entry/common.c:80
entry_SYSCALL_64_after_hwframe+0x61/0xcb
RIP: 0033:0x7f244cd48b43
Code: 64 89 02 48 c7 c0 ff ff ff ff eb b7 66 2e 0f 1f 84 00 00 00 00 00 90 80 3d c1 03 10 00 00 41 89 ca 74 14 b8 2c 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 75 c3 0f 1f 40 00 55 48 83 ec 30 44 89 4c 24
RSP: 002b:00007fff0715e278 EFLAGS: 00000202 ORIG_RAX: 000000000000002c
RAX: ffffffffffffffda RBX: 00007f244d99d620 RCX: 00007f244cd48b43
RDX: 000000000000002c RSI: 00007f244d99d670 RDI: 0000000000000003
RBP: 0000000000000001 R08: 00007fff0715e294 R09: 000000000000000c
R10: 0000000000000000 R11: 0000000000000202 R12: 0000000000000003
R13: 0000000000000000 R14: 00007f244d99d670 R15: 0000000000000000