ci2 starts bisection 2024-09-12 00:43:33.379357078 +0000 UTC m=+21103.298441953
bisecting fixing commit since 993bed180178156a70afdafe8aaf23a117107352
building syzkaller on 7a239ce75709b01083336e0f2f44aa8a01734543
ensuring issue is reproducible on original commit 993bed180178156a70afdafe8aaf23a117107352
testing commit 993bed180178156a70afdafe8aaf23a117107352 gcc
compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.40
kernel signature: 38be80c571e9487ffe2b88ba79e3b633309b41035b3ca4179fccb9b5b78ee822
run #0: crashed: BUG: soft lockup in sock_setsockopt
run #1: crashed: BUG: soft lockup in sys_sendmsg
run #2: crashed: BUG: soft lockup in tipc_release
run #3: crashed: BUG: soft lockup in sys_sendmsg
run #4: crashed: BUG: soft lockup in sock_setsockopt
run #5: crashed: BUG: soft lockup in sys_sendmsg
run #6: crashed: BUG: soft lockup in tipc_release
run #7: crashed: BUG: soft lockup in sock_setsockopt
run #8: crashed: BUG: soft lockup in sock_setsockopt
run #9: crashed: BUG: soft lockup in sock_setsockopt
run #10: crashed: BUG: soft lockup in sock_setsockopt
run #11: crashed: BUG: soft lockup in sock_setsockopt
run #12: crashed: BUG: soft lockup in sock_setsockopt
run #13: crashed: BUG: soft lockup in sock_setsockopt
run #14: crashed: BUG: soft lockup in sys_sendmsg
run #15: crashed: BUG: soft lockup in sock_setsockopt
run #16: crashed: BUG: soft lockup in sock_setsockopt
run #17: crashed: BUG: soft lockup in sock_setsockopt
run #18: crashed: BUG: soft lockup in sock_setsockopt
run #19: crashed: BUG: soft lockup in sock_setsockopt
representative crash: BUG: soft lockup in sock_setsockopt, types: [HANG]
check whether we can drop unnecessary instrumentation
disabling configs for [LOCKDEP ATOMIC_SLEEP LEAK UBSAN BUG KASAN], they are not needed
testing commit 993bed180178156a70afdafe8aaf23a117107352 gcc
compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.40
kernel signature: 5840f88fe425082afa9ca86ad8581ed829d47f280d24b0336ab9c6c438e00f48
run #0: crashed: BUG: soft lockup in sock_setsockopt
run #1: crashed: BUG: soft lockup in sock_setsockopt
run #2: crashed: BUG: soft lockup in sys_sendmsg
run #3: crashed: BUG: soft lockup in sock_setsockopt
run #4: crashed: BUG: soft lockup in sys_sendmsg
run #5: crashed: BUG: soft lockup in sys_sendmsg
run #6: crashed: BUG: soft lockup in sock_setsockopt
run #7: crashed: BUG: soft lockup in sys_sendmsg
run #8: crashed: BUG: soft lockup in sock_setsockopt
run #9: crashed: BUG: soft lockup in sock_setsockopt
representative crash: BUG: soft lockup in sock_setsockopt, types: [HANG]
the bug reproduces without the instrumentation
disabling configs for [KASAN LOCKDEP ATOMIC_SLEEP LEAK UBSAN BUG], they are not needed
kconfig minimization: base=4920 full=6159 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 [BUG KASAN LOCKDEP ATOMIC_SLEEP LEAK UBSAN], they are not needed
testing commit 993bed180178156a70afdafe8aaf23a117107352 gcc
compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.40
kernel signature: 77a765c0c125d023f4a3e907190d578b75f8ef7761775885b86b206087708c38
run #0: crashed: BUG: soft lockup in sock_setsockopt
run #1: crashed: BUG: soft lockup in sock_setsockopt
run #2: crashed: BUG: soft lockup in sys_sendmsg
run #3: crashed: BUG: soft lockup in sock_setsockopt
run #4: crashed: BUG: soft lockup in sock_setsockopt
run #5: crashed: BUG: soft lockup in sock_setsockopt
run #6: crashed: BUG: soft lockup in sock_setsockopt
run #7: crashed: BUG: soft lockup in sock_setsockopt
run #8: crashed: BUG: soft lockup in sys_sendmsg
run #9: crashed: BUG: soft lockup in sock_setsockopt
representative crash: BUG: soft lockup in sock_setsockopt, 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 993bed180178156a70afdafe8aaf23a117107352 gcc
compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.40
kernel signature: ae5aac2fc17bc7afef7b3b047aa87d40bea29a4d74dfb2445f5f0a0a4370aef5
run #0: crashed: BUG: soft lockup in tipc_release
run #1: crashed: BUG: soft lockup in sys_sendmsg
run #2: crashed: BUG: soft lockup in sys_sendmsg
run #3: crashed: BUG: soft lockup in sock_setsockopt
run #4: crashed: BUG: soft lockup in sock_setsockopt
run #5: crashed: BUG: soft lockup in sock_setsockopt
run #6: crashed: BUG: soft lockup in tipc_release
run #7: crashed: BUG: soft lockup in sock_setsockopt
run #8: crashed: BUG: soft lockup in sock_setsockopt
run #9: crashed: BUG: soft lockup in sock_setsockopt
representative crash: BUG: soft lockup in tipc_release, 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 993bed180178156a70afdafe8aaf23a117107352 gcc
compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.40
kernel signature: 753887e5f7353fa6e14f0705a697b64d386beec443953f1f860b688936f4e5e1
run #0: crashed: BUG: soft lockup in sock_setsockopt
run #1: crashed: BUG: soft lockup in sock_setsockopt
run #2: crashed: BUG: soft lockup in sys_sendmsg
run #3: crashed: BUG: soft lockup in sock_setsockopt
run #4: crashed: BUG: soft lockup in sock_setsockopt
run #5: crashed: BUG: soft lockup in sock_setsockopt
run #6: crashed: BUG: soft lockup in sys_sendmsg
run #7: crashed: BUG: soft lockup in sock_setsockopt
run #8: crashed: BUG: soft lockup in sys_sendmsg
run #9: crashed: BUG: soft lockup in sock_setsockopt
representative crash: BUG: soft lockup in sock_setsockopt, 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 993bed180178156a70afdafe8aaf23a117107352 gcc
compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.40
kernel signature: 4c51071b46149e80b306904c17fbb73a2474ccdb100c26efa7197be9baa41fb7
run #0: crashed: BUG: soft lockup in sock_setsockopt
run #1: crashed: BUG: soft lockup in sock_setsockopt
run #2: crashed: BUG: soft lockup in sys_sendmsg
run #3: crashed: BUG: soft lockup in sock_setsockopt
run #4: crashed: BUG: soft lockup in sys_sendmsg
run #5: crashed: BUG: soft lockup in sock_setsockopt
run #6: crashed: BUG: soft lockup in sys_sendmsg
run #7: crashed: BUG: soft lockup in sock_setsockopt
run #8: crashed: BUG: soft lockup in sock_setsockopt
run #9: crashed: BUG: soft lockup in sock_setsockopt
representative crash: BUG: soft lockup in sock_setsockopt, types: [HANG]
the chunk can be dropped
testing without sub-chunk 5/5
disabling configs for [BUG KASAN LOCKDEP ATOMIC_SLEEP LEAK UBSAN], they are not needed
testing commit 993bed180178156a70afdafe8aaf23a117107352 gcc
compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.40
failed building 993bed180178156a70afdafe8aaf23a117107352: 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 e6fb3b0fa87f1fe127bc20a5038d8e8e08e57cf7
testing commit e6fb3b0fa87f1fe127bc20a5038d8e8e08e57cf7 gcc
compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.40
kernel signature: 84bda245c45e0166fcbb1d0fe5fa32ec58747cc03151e2f00500f8b1cd5038ad
run #0: crashed: BUG: soft lockup in sock_setsockopt
run #1: crashed: BUG: soft lockup in sock_setsockopt
run #2: crashed: BUG: soft lockup in sock_setsockopt
run #3: crashed: BUG: soft lockup in sock_setsockopt
run #4: crashed: BUG: soft lockup in x64_sys_call
run #5: crashed: BUG: soft lockup in sock_setsockopt
run #6: crashed: BUG: soft lockup in sock_setsockopt
run #7: crashed: BUG: soft lockup in sock_setsockopt
run #8: crashed: BUG: soft lockup in tipc_release
run #9: crashed: BUG: soft lockup in x64_sys_call
representative crash: BUG: soft lockup in sock_setsockopt, types: [HANG]
crash still not fixed/happens on the oldest tested release
revisions tested: 7, total time: 1h47m18.498675132s (build: 22m14.101764866s, test: 1h18m48.524590643s)
crash still not fixed or there were kernel test errors
commit msg: Revert "binder: fix max_thread type inconsistency"
crash: BUG: soft lockup in sock_setsockopt
watchdog: BUG: soft lockup - CPU#0 stuck for 143s! [syz-executor.0:743]
Modules linked in:
CPU: 0 PID: 743 Comm: syz-executor.0 Not tainted 5.15.160-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 08/06/2024
RIP: 0010:__refcount_sub_and_test include/linux/refcount.h:277 [inline]
RIP: 0010:__refcount_dec_and_test include/linux/refcount.h:315 [inline]
RIP: 0010:refcount_dec_and_test include/linux/refcount.h:333 [inline]
RIP: 0010:sock_put include/net/sock.h:1920 [inline]
RIP: 0010:tipc_sk_rcv+0x2b7/0x6e0 net/tipc/socket.c:2502
Code: 8b 7d 90 e8 fb 07 0c 00 49 8b 7e 30 48 8d 75 b8 e8 ee 4e ff ff 49 8d be 80 00 00 00 b8 ff ff ff ff f0 41 0f c1 86 80 00 00 00 <83> f8 01 0f 84 0c 01 00 00 85 c0 0f 8e b8 01 00 00 41 8b 47 10 85
RSP: 0018:ffffc90000fc7958 EFLAGS: 00000213
RAX: 0000000000000005 RBX: 0000000060fbc563 RCX: 0000000000000060
RDX: 0000000000000202 RSI: ffffc90000fc7990 RDI: ffff888106992900
RBP: ffffc90000fc79d8 R08: ffffc90000fc791c R09: 0000000000000001
R10: ffff88810b9a5e00 R11: ffff88810b980000 R12: ffffc90000fc7a6c
R13: ffff88810f3edd00 R14: ffff888106992880 R15: ffffc90000fc7a58
FS: 00007f934484c6c0(0000) GS:ffff888237c00000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f934484cd58 CR3: 000000010e989000 CR4: 00000000003506b0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
tipc_node_xmit+0x7d/0x5c0 net/tipc/node.c:1703
tipc_node_xmit_skb net/tipc/node.c:1768 [inline]
tipc_node_distr_xmit+0xe9/0x120 net/tipc/node.c:1783
tipc_sk_rcv+0x2a2/0x6e0 net/tipc/socket.c:2501
tipc_node_xmit+0x7d/0x5c0 net/tipc/node.c:1703
tipc_sk_push_backlog+0x8f/0x150 net/tipc/socket.c:1316
tipc_sk_conn_proto_rcv net/tipc/socket.c:1370 [inline]
tipc_sk_proto_rcv net/tipc/socket.c:2158 [inline]
tipc_sk_filter_rcv+0xc7e/0xe00 net/tipc/socket.c:2352
tipc_sk_enqueue net/tipc/socket.c:2445 [inline]
tipc_sk_rcv+0x3c7/0x6e0 net/tipc/socket.c:2497
tipc_node_xmit+0x7d/0x5c0 net/tipc/node.c:1703
tipc_node_xmit_skb net/tipc/node.c:1768 [inline]
tipc_node_distr_xmit+0xe9/0x120 net/tipc/node.c:1783
tipc_sk_backlog_rcv+0x5d/0x80 net/tipc/socket.c:2412
sk_backlog_rcv include/net/sock.h:1069 [inline]
__release_sock+0x5c/0xa0 net/core/sock.c:2730
release_sock+0x2b/0x90 net/core/sock.c:3281
sock_setsockopt+0xea/0xd70 net/core/sock.c:1380
__sys_setsockopt+0x174/0x1a0 net/socket.c:2194
__do_sys_setsockopt net/socket.c:2209 [inline]
__se_sys_setsockopt net/socket.c:2206 [inline]
__x64_sys_setsockopt+0x20/0x30 net/socket.c:2206
x64_sys_call+0x808/0x990 arch/x86/include/generated/asm/syscalls_64.h:55
do_syscall_x64 arch/x86/entry/common.c:50 [inline]
do_syscall_64+0x33/0xb0 arch/x86/entry/common.c:80
entry_SYSCALL_64_after_hwframe+0x66/0xd0
RIP: 0033:0x7f9344cebda9
Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 e1 20 00 00 90 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 b0 ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007f934484c0c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000036
RAX: ffffffffffffffda RBX: 00007f9344e1a050 RCX: 00007f9344cebda9
RDX: 0000000000000021 RSI: 0000000000000001 RDI: 0000000000000003
RBP: 00007f9344d3847a R08: 0000000000000004 R09: 0000000000000000
R10: 0000000020000540 R11: 0000000000000246 R12: 0000000000000000
R13: 000000000000000b R14: 00007f9344e1a050 R15: 00007ffefc912508
Sending NMI from CPU 0 to CPUs 1:
NMI backtrace for cpu 1
CPU: 1 PID: 742 Comm: syz-executor.0 Not tainted 5.15.160-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 08/06/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 8d f3 34 01 f4 c3 66 90 0f 00 2d 82 f3 34 01 fb f4 90 8b 05 1a 21 d7 01 83 f8 ff 74 06 85 c0 0f 95 c0 c3 55 48 89
RSP: 0018:ffffc90000f67bd8 EFLAGS: 00000246
RAX: 0000000000000003 RBX: ffff888237d2cb00 RCX: 0000000000000008
RDX: 0000000000000000 RSI: 0000000000000003 RDI: ffff888106992908
RBP: ffffc90000f67c18 R08: ffff88823fff0f40 R09: 0000000000000000
R10: 0000000000000001 R11: ffff888237d2cb00 R12: ffff888106992908
R13: 0000000000000000 R14: 0000000000000001 R15: 0000000000000100
FS: 00007f934486d6c0(0000) GS:ffff888237d00000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000000020000000 CR3: 000000010e989000 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
spin_lock_bh include/linux/spinlock.h:368 [inline]
lock_sock_nested+0x1e/0x50 net/core/sock.c:3269
lock_sock include/net/sock.h:1676 [inline]
tipc_sendstream+0x23/0x50 net/tipc/socket.c:1549
sock_sendmsg_nosec net/socket.c:704 [inline]
__sock_sendmsg+0x35/0x40 net/socket.c:716
____sys_sendmsg+0x23e/0x260 net/socket.c:2431
___sys_sendmsg+0x74/0xc0 net/socket.c:2485
__sys_sendmsg+0x5d/0xb0 net/socket.c:2514
__do_sys_sendmsg net/socket.c:2523 [inline]
__se_sys_sendmsg net/socket.c:2521 [inline]
__x64_sys_sendmsg+0x1a/0x20 net/socket.c:2521
x64_sys_call+0x840/0x990 arch/x86/include/generated/asm/syscalls_64.h:47
do_syscall_x64 arch/x86/entry/common.c:50 [inline]
do_syscall_64+0x33/0xb0 arch/x86/entry/common.c:80
entry_SYSCALL_64_after_hwframe+0x66/0xd0
RIP: 0033:0x7f9344cebda9
Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 e1 20 00 00 90 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 b0 ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007f934486d0c8 EFLAGS: 00000246 ORIG_RAX: 000000000000002e
RAX: ffffffffffffffda RBX: 00007f9344e19f80 RCX: 00007f9344cebda9
RDX: 0000000000000000 RSI: 00000000200003c0 RDI: 0000000000000004
RBP: 00007f9344d3847a R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 000000000000000b R14: 00007f9344e19f80 R15: 00007ffefc912508