syzbot


BUG: soft lockup in x64_sys_call

Status: premoderation: reported syz repro on 2025/02/10 08:39
Bug presence: origin:upstream
[Documentation on labels]
Reported-by: syzbot+cc2152ded8a91925cc16@syzkaller.appspotmail.com
First crash: 202d, last: 10d
Bug presence (2)
Date Name Commit Repro Result
2025/02/10 lts (merge base) c63962be84ef syz [report] BUG: soft lockup in sock_setsockopt
2025/03/12 upstream (ToT) 0fed89a961ea syz [report] BUG: soft lockup in sock_close
Similar bugs (5)
Kernel Title Rank 🛈 Repro Cause bisect Fix bisect Count Last Reported Patched Status
android-5-15 BUG: soft lockup in x64_sys_call origin:upstream 1 C 27 7d02h 372d 0/2 upstream: reported C repro on 2024/08/25 04:51
android-6-12 BUG: soft lockup in x64_sys_call 1 8 36d 69d 0/1 premoderation: reported on 2025/06/23 18:09
linux-5.15 INFO: rcu detected stall in x64_sys_call 1 1 430d 430d 0/3 auto-obsoleted due to no activity on 2024/10/06 02:18
upstream INFO: rcu detected stall in x64_sys_call mm 1 syz error 356 2h14m 356d 0/29 upstream: reported syz repro on 2024/09/09 20:48
linux-6.1 INFO: rcu detected stall in x64_sys_call 1 1 120d 120d 0/3 auto-obsoleted due to no activity on 2025/08/11 06:03
Last patch testing requests (3)
Created Duration User Patch Repo Result
2025/08/21 06:01 10m retest repro android14-6.1 report log
2025/08/21 06:01 15m retest repro android14-6.1 report log
2025/05/11 04:00 13m retest repro android14-6.1 report log
Fix bisection attempts (1)
Created Duration User Patch Repo Result
2025/06/03 21:27 1h30m bisect fix android14-6.1 OK (0) job log log

Sample crash report:
RBP: 00007f68b9e11df1 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 0000000000000001 R14: 00007f68b9fb6080 R15: 00007ffe32d4a838
 </TASK>
watchdog: BUG: soft lockup - CPU#0 stuck for 225s! [syz.5.57:538]
Modules linked in:
CPU: 0 PID: 538 Comm: syz.5.57 Not tainted 6.1.145-syzkaller-00038-g3b4ff5af8d36 #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/12/2025
RIP: 0010:native_safe_halt arch/x86/include/asm/irqflags.h:51 [inline]
RIP: 0010:arch_safe_halt arch/x86/include/asm/irqflags.h:89 [inline]
RIP: 0010:kvm_wait+0xf2/0x140 arch/x86/kernel/kvm.c:1064
Code: ab 13 04 f4 eb 9a fa 48 89 f8 48 c1 e8 03 42 0f b6 04 30 84 c0 75 3f 0f b6 07 40 38 f0 75 10 66 90 0f 00 2d b0 ab 13 04 fb f4 <e9> 71 ff ff ff fb e9 6b ff ff ff e8 ae 68 b5 03 89 f9 80 e1 07 38
RSP: 0018:ffffc90000f57680 EFLAGS: 00000246
RAX: 0000000000000003 RBX: ffff888130a6a398 RCX: ffffffff84f0c5a2
RDX: dffffc0000000000 RSI: 0000000000000003 RDI: ffff888130a6a398
RBP: ffffc90000f57710 R08: dffffc0000000000 R09: ffffed102614d474
R10: ffffed102614d474 R11: 1ffff1102614d473 R12: 1ffff1103ee00001
R13: ffff8881f7038cd4 R14: dffffc0000000000 R15: 1ffff920001eaed0
FS:  00007f68bac676c0(0000) GS:ffff8881f7000000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f68bac66f98 CR3: 000000010ce22000 CR4: 00000000003506b0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 <TASK>
 pv_wait arch/x86/include/asm/paravirt.h:603 [inline]
 pv_wait_head_or_lock kernel/locking/qspinlock_paravirt.h:470 [inline]
 __pv_queued_spin_lock_slowpath+0x690/0xc40 kernel/locking/qspinlock.c:511
 pv_queued_spin_lock_slowpath arch/x86/include/asm/paravirt.h:591 [inline]
 queued_spin_lock_slowpath+0x47/0x50 arch/x86/include/asm/qspinlock.h:51
 queued_spin_lock include/asm-generic/qspinlock.h:114 [inline]
 do_raw_spin_lock include/linux/spinlock.h:187 [inline]
 __raw_spin_lock_bh include/linux/spinlock_api_smp.h:127 [inline]
 _raw_spin_lock_bh+0xd8/0xe0 kernel/locking/spinlock.c:178
 spin_lock_bh include/linux/spinlock.h:356 [inline]
 lock_sock_nested+0x92/0x280 net/core/sock.c:3507
 lock_sock include/net/sock.h:1769 [inline]
 tipc_sendstream+0x47/0x70 net/tipc/socket.c:1549
 sock_sendmsg_nosec net/socket.c:716 [inline]
 __sock_sendmsg net/socket.c:728 [inline]
 ____sys_sendmsg+0x5a9/0x990 net/socket.c:2509
 ___sys_sendmsg+0x21c/0x290 net/socket.c:2563
 __sys_sendmsg net/socket.c:2592 [inline]
 __do_sys_sendmsg net/socket.c:2601 [inline]
 __se_sys_sendmsg net/socket.c:2599 [inline]
 __x64_sys_sendmsg+0x1f0/0x2c0 net/socket.c:2599
 x64_sys_call+0x171/0x9a0 arch/x86/include/generated/asm/syscalls_64.h:47
 do_syscall_x64 arch/x86/entry/common.c:51 [inline]
 do_syscall_64+0x4c/0xa0 arch/x86/entry/common.c:81
 entry_SYSCALL_64_after_hwframe+0x68/0xd2
RIP: 0033:0x7f68b9d8eb69
Code: ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 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 a8 ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007f68bac67038 EFLAGS: 00000246 ORIG_RAX: 000000000000002e
RAX: ffffffffffffffda RBX: 00007f68b9fb6080 RCX: 00007f68b9d8eb69
RDX: 0000000000000000 RSI: 0000200000000200 RDI: 0000000000000004
RBP: 00007f68b9e11df1 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 0000000000000001 R14: 00007f68b9fb6080 R15: 00007ffe32d4a838
 </TASK>
Sending NMI from CPU 0 to CPUs 1:
NMI backtrace for cpu 1
CPU: 1 PID: 534 Comm: syz.5.57 Not tainted 6.1.145-syzkaller-00038-g3b4ff5af8d36 #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/12/2025
RIP: 0010:_raw_spin_trylock_bh+0x11/0x130 kernel/locking/spinlock.c:145
Code: 1f 84 00 00 00 00 00 66 90 90 90 90 90 90 90 90 90 90 90 90 b8 fe b1 3e 60 55 48 89 e5 41 57 41 56 41 55 41 54 53 48 83 e4 e0 <48> 83 ec 60 48 89 fb 65 48 8b 04 25 28 00 00 00 48 89 44 24 40 49
RSP: 0018:ffffc90000fe6700 EFLAGS: 00000286
RAX: ffff888130a6a300 RBX: ffff888117fd79c0 RCX: ffff88811b1f3cc0
RDX: 0000000000000000 RSI: 0000000000000004 RDI: ffff888130a6a398
RBP: ffffc90000fe6730 R08: dffffc0000000000 R09: ffffed102614d471
R10: ffffed102614d471 R11: 1ffff1102614d470 R12: ffff888130a6a300
R13: dffffc0000000000 R14: ffffc90000fe6bc0 R15: 00000000ac5835a0
FS:  00007f68bac886c0(0000) GS:ffff8881f7100000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000200000000000 CR3: 000000010ce22000 CR4: 00000000003506a0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 <TASK>
 spin_trylock_bh include/linux/spinlock.h:411 [inline]
 tipc_sk_rcv+0x43e/0x2cc0 net/tipc/socket.c:2496
 tipc_node_xmit+0x257/0xd00 net/tipc/node.c:1703
 tipc_node_xmit_skb net/tipc/node.c:1768 [inline]
 tipc_node_distr_xmit+0x292/0x390 net/tipc/node.c:1783
 tipc_sk_rcv+0x1aa3/0x2cc0 net/tipc/socket.c:2501
 tipc_node_xmit+0x257/0xd00 net/tipc/node.c:1703
 tipc_sk_push_backlog+0x4dd/0x790 net/tipc/socket.c:1316
 tipc_sk_conn_proto_rcv net/tipc/socket.c:1370 [inline]
 tipc_sk_proto_rcv+0x98d/0x1580 net/tipc/socket.c:2158
 tipc_sk_filter_rcv+0x2a93/0x2c80 net/tipc/socket.c:2352
 tipc_sk_enqueue net/tipc/socket.c:2445 [inline]
 tipc_sk_rcv+0x7d9/0x2cc0 net/tipc/socket.c:2497
 tipc_node_xmit+0x257/0xd00 net/tipc/node.c:1703
 tipc_node_xmit_skb net/tipc/node.c:1768 [inline]
 tipc_node_distr_xmit+0x292/0x390 net/tipc/node.c:1783
 tipc_sk_backlog_rcv+0x16f/0x1f0 net/tipc/socket.c:2412
 sk_backlog_rcv include/net/sock.h:1131 [inline]
 __release_sock+0x154/0x380 net/core/sock.c:2945
 release_sock net/core/sock.c:3519 [inline]
 sockopt_release_sock+0x95/0x1f0 net/core/sock.c:1067
 sk_setsockopt+0x1355/0x2590 net/core/sock.c:-1
 sock_setsockopt+0x5a/0x70 net/core/sock.c:1552
 __sys_setsockopt+0x270/0x4e0 net/socket.c:2274
 __do_sys_setsockopt net/socket.c:2289 [inline]
 __se_sys_setsockopt net/socket.c:2286 [inline]
 __x64_sys_setsockopt+0xbf/0xd0 net/socket.c:2286
 x64_sys_call+0x124/0x9a0 arch/x86/include/generated/asm/syscalls_64.h:55
 do_syscall_x64 arch/x86/entry/common.c:51 [inline]
 do_syscall_64+0x4c/0xa0 arch/x86/entry/common.c:81
 entry_SYSCALL_64_after_hwframe+0x68/0xd2
RIP: 0033:0x7f68b9d8eb69
Code: ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 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 a8 ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007f68bac88038 EFLAGS: 00000246 ORIG_RAX: 0000000000000036
RAX: ffffffffffffffda RBX: 00007f68b9fb5fa0 RCX: 00007f68b9d8eb69
RDX: 0000000000000021 RSI: 0000000000000001 RDI: 0000000000000003
RBP: 00007f68b9e11df1 R08: 0000000000000004 R09: 0000000000000000
R10: 0000200000000540 R11: 0000000000000246 R12: 0000000000000000
R13: 0000000000000000 R14: 00007f68b9fb5fa0 R15: 00007ffe32d4a838
 </TASK>

Crashes (3):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2025/08/05 00:05 android14-6.1 3b4ff5af8d36 f5bcc8dc .config console log report syz / log [disk image] [vmlinux] [kernel image] ci2-android-6-1 BUG: soft lockup in x64_sys_call
2025/02/10 08:38 android14-6.1 1ac09f5c0571 ef44b750 .config console log report syz / log [disk image] [vmlinux] [kernel image] ci2-android-6-1 BUG: soft lockup in x64_sys_call
2025/06/21 22:21 android14-6.1 f6c21bc9a693 d6cdfb8a .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-1-perf BUG: soft lockup in x64_sys_call
* Struck through repros no longer work on HEAD.