ci2 starts bisection 2024-08-23 20:40:19.894500277 +0000 UTC m=+33548.784640577
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: 1cd22bf2301526743a56d0614b158f180c86e09dc021a7e013320e255e1b99d4
run #0: crashed: BUG: soft lockup in sys_openat
run #1: crashed: BUG: soft lockup in sys_socket
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 unix_release
run #5: crashed: BUG: soft lockup in linkwatch_event
run #6: crashed: BUG: soft lockup in sys_syslog
run #7: crashed: BUG: soft lockup in mld_ifc_work
run #8: crashed: BUG: soft lockup in rcu_core_si
run #9: crashed: BUG: soft lockup in inet_release
run #10: crashed: BUG: soft lockup in inet_release
run #11: crashed: BUG: soft lockup in inet_release
run #12: crashed: BUG: soft lockup in inet_release
run #13: crashed: BUG: soft lockup in inotify_read
run #14: crashed: BUG: soft lockup in inet_release
run #15: crashed: BUG: soft lockup in inet_release
run #16: crashed: BUG: soft lockup in inet_release
run #17: crashed: BUG: soft lockup in inotify_read
run #18: crashed: BUG: soft lockup in rtnl_newlink
run #19: crashed: BUG: soft lockup in rcu_core_si
representative crash: BUG: soft lockup in sys_openat, types: [HANG]
check whether we can drop unnecessary instrumentation
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
kernel signature: ba55365315415549dbe43c21faf4c8f7bb27c689727131481de834abfd4542df
run #0: crashed: BUG: soft lockup in inet_release
run #1: crashed: BUG: soft lockup in sys_lsetxattr
run #2: crashed: BUG: soft lockup in net_rx_action
run #3: crashed: BUG: soft lockup in inet_release
run #4: crashed: BUG: soft lockup in sys_sendto
run #5: crashed: BUG: soft lockup in inet_release
run #6: crashed: BUG: soft lockup in sock_read_iter
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 ipv6_rcv
representative crash: BUG: soft lockup in inet_release, types: [HANG]
the bug reproduces without the instrumentation
disabling configs for [UBSAN BUG KASAN LOCKDEP ATOMIC_SLEEP LEAK], 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 [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: 09bfca5cacdf329fbfa1a02ff9012d72f8aab429295c678d09aba559a0934dfd
run #0: crashed: BUG: soft lockup in kernfs_fop_read_iter
run #1: crashed: BUG: soft lockup in inet_release
run #2: crashed: BUG: soft lockup in addrconf_rs_timer
run #3: crashed: BUG: soft lockup in sys_recvfrom
run #4: crashed: BUG: soft lockup in inet_release
run #5: crashed: BUG: soft lockup in linkwatch_event
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: no output from test machine
representative crash: BUG: soft lockup in kernfs_fop_read_iter, types: [HANG]
the chunk can be dropped
testing without sub-chunk 2/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
kernel signature: 69c4200b2edc6f244cad6f5654b3b1ff131f229a9524386b57d671bc078fd513
run #0: crashed: BUG: soft lockup in rcu_core_si
run #1: crashed: BUG: soft lockup in sock_read_iter
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 inet_release
run #5: crashed: BUG: soft lockup in linkwatch_event
run #6: crashed: BUG: soft lockup in bpf_prog_free_deferred
run #7: crashed: BUG: soft lockup in linkwatch_event
run #8: crashed: BUG: soft lockup in linkwatch_event
run #9: crashed: BUG: soft lockup in rtnl_newlink
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 [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: 2c53a1b212595efba37bb255a996df86b7986cf93ba3edebdde00823c1b0f64b
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 sock_read_iter
run #3: crashed: BUG: soft lockup in ip_rcv
run #4: crashed: BUG: soft lockup in net_rx_action
run #5: crashed: BUG: soft lockup in dev_ioctl
run #6: crashed: BUG: soft lockup in inet_release
run #7: crashed: BUG: soft lockup in sys_lsetxattr
run #8: crashed: BUG: soft lockup in ipv6_rcv
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 4/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: 147f9c90ed461eb1de86bd894dc053100eb68137283d682b2921941dca81f1b9
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 linkwatch_event
run #3: crashed: BUG: soft lockup in inet_release
run #4: crashed: BUG: soft lockup in kernfs_fop_open
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 ipv6_rcv
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 [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 [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: 28bbb0f7641d1df8e5ac3b8546cd870e67b7c0a7c8df20a3e5829083cf326c00
run #0: crashed: BUG: soft lockup in inet_release
run #1: crashed: BUG: soft lockup in x64_sys_call
run #2: crashed: BUG: soft lockup in sock_read_iter
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 inet_release
run #6: crashed: BUG: soft lockup in unix_release
run #7: crashed: BUG: soft lockup in x64_sys_call
run #8: crashed: BUG: soft lockup in mld_ifc_work
run #9: crashed: BUG: soft lockup in x64_sys_call
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: 1h20m14.809057204s (build: 12m20.038673735s, test: 1h6m29.887218938s)
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
watchdog: BUG: soft lockup - CPU#0 stuck for 143s! [syz-executor.4:403]
Modules linked in:
CPU: 0 PID: 403 Comm: syz-executor.4 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:ffffc900004d3d10 EFLAGS: 00000206
RAX: 0000000000000003 RBX: ffff888237c2cb00 RCX: 0000000000000008
RDX: 0000000000007a21 RSI: 0000000000000003 RDI: ffff888114605690
RBP: ffffc900004d3d48 R08: ffff88823fff01c0 R09: 0000000000000000
R10: 0000000000000001 R11: ffff888237c2cb00 R12: ffff888114605690
R13: 0000000000000000 R14: 0000000000000001 R15: 0000000000000100
FS: 00005555567ca480(0000) GS:ffff888237c00000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 000055fab36a1fc8 CR3: 0000000112aed000 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:0x7f9fb008fd9a
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:00007ffc3049f6f0 EFLAGS: 00000293 ORIG_RAX: 0000000000000003
RAX: 0000000000000000 RBX: 0000000000000005 RCX: 00007f9fb008fd9a
RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000004
RBP: 00007f9fb01c0980 R08: 00007f9fb0013000 R09: 0000000000000001
R10: 0000000000000001 R11: 0000000000000293 R12: 000000000000f263
R13: 000000000000f03d R14: 00007ffc3049f8b0 R15: 00007f9fb0047cb0
Sending NMI from CPU 0 to CPUs 1:
NMI backtrace for cpu 1
CPU: 1 PID: 325 Comm: kworker/1:2 Not tainted 5.15.156-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 06/27/2024
Workqueue: events linkwatch_event
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:ffffc9000038b6d8 EFLAGS: 00000246
RAX: 0000000000000003 RBX: ffff888237d2cb00 RCX: 0000000000000008
RDX: 0000000000000000 RSI: 0000000000000003 RDI: ffff8881129687d8
RBP: ffffc9000038b718 R08: ffff88823fff0c00 R09: 0000000000000000
R10: 0000000000000001 R11: ffff888237d2cb00 R12: ffff8881129687d8
R13: 0000000000000000 R14: 0000000000000001 R15: 0000000000000100
FS: 0000000000000000(0000) GS:ffff888237d00000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f9fb01bb0c0 CR3: 0000000112830000 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/0x838
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/0x838
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]
consume_skb net/core/skbuff.c:930 [inline]
consume_skb+0x3a/0xc0 net/core/skbuff.c:924
netlink_broadcast_filtered+0x11f/0x4b0 net/netlink/af_netlink.c:1540
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+0x2f/0x40 net/core/rtnetlink.c:730
inet6_rt_notify+0xda/0x120 net/ipv6/route.c:6171
fib6_add_rt2node net/ipv6/ip6_fib.c:1251 [inline]
fib6_add+0xcd9/0x1020 net/ipv6/ip6_fib.c:1480
__ip6_ins_rt net/ipv6/route.c:1303 [inline]
ip6_route_add+0x4d/0xc0 net/ipv6/route.c:3873
addrconf_add_mroute+0x9c/0xc0 net/ipv6/addrconf.c:2530
addrconf_add_dev+0x61/0x70 net/ipv6/addrconf.c:2548
addrconf_dev_config net/ipv6/addrconf.c:3428 [inline]
addrconf_init_auto_addrs+0x121/0x1f0 net/ipv6/addrconf.c:3515
addrconf_notify.cold+0x7b/0x80 net/ipv6/addrconf.c:3684
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]
netdev_state_change net/core/dev.c:1416 [inline]
netdev_state_change+0xa3/0xb0 net/core/dev.c:1409
linkwatch_do_dev+0x33/0x70 net/core/link_watch.c:167
__linkwatch_run_queue+0xf2/0x250 net/core/link_watch.c:213
linkwatch_event+0x20/0x30 net/core/link_watch.c:252
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:300