syzbot


BUG: soft lockup in expire_timers (2)

Status: upstream: reported on 2021/07/01 19:31
Reported-by: syzbot+5dc9b8650d84fa240760@syzkaller.appspotmail.com
First crash: 1259d, last: 673d
Similar bugs (2)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
linux-4.19 BUG: soft lockup in expire_timers 1 1511d 1511d 0/1 auto-closed as invalid on 2021/02/19 12:04
linux-4.14 BUG: soft lockup in expire_timers C 2 661d 1005d 0/1 upstream: reported C repro on 2022/03/12 18:01

Sample crash report:
netlink: 24 bytes leftover after parsing attributes in process `syz-executor.2'.
netlink: 24 bytes leftover after parsing attributes in process `syz-executor.2'.
watchdog: BUG: soft lockup - CPU#0 stuck for 23s! [syz-executor.4:24887]
Modules linked in:
irq event stamp: 3861561
hardirqs last  enabled at (3861560): [<ffffffff88195174>] __raw_spin_unlock_irq include/linux/spinlock_api_smp.h:168 [inline]
hardirqs last  enabled at (3861560): [<ffffffff88195174>] _raw_spin_unlock_irq+0x24/0x80 kernel/locking/spinlock.c:192
hardirqs last disabled at (3861561): [<ffffffff81003d00>] trace_hardirqs_off_thunk+0x1a/0x1c
softirqs last  enabled at (2252): [<ffffffff88400678>] __do_softirq+0x678/0x980 kernel/softirq.c:318
softirqs last disabled at (2969): [<ffffffff813927d5>] invoke_softirq kernel/softirq.c:372 [inline]
softirqs last disabled at (2969): [<ffffffff813927d5>] irq_exit+0x215/0x260 kernel/softirq.c:412
CPU: 0 PID: 24887 Comm: syz-executor.4 Not tainted 4.19.211-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/12/2023
RIP: 0010:__raw_spin_unlock_irq include/linux/spinlock_api_smp.h:169 [inline]
RIP: 0010:_raw_spin_unlock_irq+0x50/0x80 kernel/locking/spinlock.c:192
Code: c0 98 82 f1 89 48 ba 00 00 00 00 00 fc ff df 48 c1 e8 03 80 3c 10 00 75 31 48 83 3d 01 31 d8 01 00 74 25 fb 66 0f 1f 44 00 00 <bf> 01 00 00 00 e8 26 1b 28 f9 65 8b 05 9f 8d e8 77 85 c0 74 02 5d
RSP: 0018:ffff8880ba007de0 EFLAGS: 00000286 ORIG_RAX: ffffffffffffff13
RAX: 1ffffffff13e3053 RBX: dffffc0000000000 RCX: 1ffff11009e96532
RDX: dffffc0000000000 RSI: ffff88804f4b2998 RDI: ffff88804f4b2944
RBP: ffff8880ba022b40 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000000 R12: ffffffff869a4ab0
R13: ffff8880ba022b40 R14: ffff8880ba007e78 R15: 0000000000000000
FS:  00007f84e73dd700(0000) GS:ffff8880ba000000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f6890ed6f60 CR3: 00000000b4521000 CR4: 00000000003406f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000600
Call Trace:
 <IRQ>
 expire_timers+0x238/0x4e0 kernel/time/timer.c:1374
 __run_timers kernel/time/timer.c:1696 [inline]
 run_timer_softirq+0x21c/0x670 kernel/time/timer.c:1709
 __do_softirq+0x265/0x980 kernel/softirq.c:292
 invoke_softirq kernel/softirq.c:372 [inline]
 irq_exit+0x215/0x260 kernel/softirq.c:412
 exiting_irq arch/x86/include/asm/apic.h:536 [inline]
 smp_apic_timer_interrupt+0x136/0x550 arch/x86/kernel/apic/apic.c:1098
 apic_timer_interrupt+0xf/0x20 arch/x86/entry/entry_64.S:894
 </IRQ>
RIP: 0010:__sanitizer_cov_trace_pc+0x0/0x50 kernel/kcov.c:97
Code: ff 48 89 df e8 11 dd 35 00 e9 ab fe ff ff 4c 89 ef e8 04 dd 35 00 e9 23 fe ff ff 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 <48> 8b 34 24 65 48 8b 04 25 c0 df 01 00 65 8b 15 cc 59 9f 7e 81 e2
RSP: 0018:ffff88802cfb75a8 EFLAGS: 00000212 ORIG_RAX: ffffffffffffff13
RAX: 0000000000040000 RBX: 0000000000000001 RCX: ffffc90007b33000
RDX: 0000000000014768 RSI: ffffffff83771e2c RDI: 0000000000000005
RBP: ffffffff88b3e120 R08: 0000000007c699bb R09: 0000000000000000
R10: 0000000000000005 R11: 0000000000000000 R12: 0000000000000000
R13: ffffffff88b3e0e0 R14: ffff8880a3d58c00 R15: 0000000000000000
 check_preemption_disabled+0x41/0x280 lib/smp_processor_id.c:51
 rcu_dynticks_curr_cpu_in_eqs kernel/rcu/tree.c:348 [inline]
 rcu_is_watching+0x12/0xc0 kernel/rcu/tree.c:1025
 rcu_read_lock include/linux/rcupdate.h:628 [inline]
 ext4_get_group_desc+0x3c3/0x4e0 fs/ext4/balloc.c:284
 recently_deleted fs/ext4/ialloc.c:680 [inline]
 find_inode_bit+0x1a0/0x520 fs/ext4/ialloc.c:724
 __ext4_new_inode+0x160c/0x5a20 fs/ext4/ialloc.c:916
 ext4_create+0x29e/0x5f0 fs/ext4/namei.c:2517
 lookup_open+0x893/0x1a20 fs/namei.c:3235
 do_last fs/namei.c:3327 [inline]
 path_openat+0x1094/0x2df0 fs/namei.c:3537
 do_filp_open+0x18c/0x3f0 fs/namei.c:3567
 do_sys_open+0x3b3/0x520 fs/open.c:1085
 do_syscall_64+0xf9/0x620 arch/x86/entry/common.c:293
 entry_SYSCALL_64_after_hwframe+0x49/0xbe
RIP: 0033:0x7f84e8e6b0f9
Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 f1 19 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 b8 ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007f84e73dd168 EFLAGS: 00000246 ORIG_RAX: 0000000000000101
RAX: ffffffffffffffda RBX: 00007f84e8f8af80 RCX: 00007f84e8e6b0f9
RDX: 00000000000026e1 RSI: 0000000020000000 RDI: ffffffffffffff9c
RBP: 00007f84e8ec6ae9 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 00007ffeaefa098f R14: 00007f84e73dd300 R15: 0000000000022000
Sending NMI from CPU 0 to CPUs 1:
NMI backtrace for cpu 1
CPU: 1 PID: 24883 Comm: syz-executor.4 Not tainted 4.19.211-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/12/2023
RIP: 0010:preempt_count arch/x86/include/asm/preempt.h:23 [inline]
RIP: 0010:check_kcov_mode kernel/kcov.c:67 [inline]
RIP: 0010:write_comp_data+0xf/0x70 kernel/kcov.c:122
Code: 8b 11 48 83 c2 01 48 39 d0 76 07 48 89 34 d1 48 89 11 c3 0f 1f 84 00 00 00 00 00 49 89 f1 49 89 fa 65 48 8b 34 25 c0 df 01 00 <65> 8b 05 7a 59 9f 7e a9 00 01 1f 00 75 4f 8b 86 60 13 00 00 83 f8
RSP: 0018:ffff88802dcb7a58 EFLAGS: 00000202
RAX: ffff888040136400 RBX: 1ffff11005b96f50 RCX: ffffffff8158819e
RDX: 0000000000000001 RSI: ffff888040136400 RDI: 0000000000000005
RBP: ffff88802dcb7b30 R08: 0000000000000001 R09: 0000000000000000
R10: 0000000000000005 R11: 0000000000000000 R12: 0000000000000001
R13: 0000000000000000 R14: 0000000000000001 R15: ffff88804f4b20fc
FS:  0000555556a10400(0000) GS:ffff8880ba100000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000001b2fb22000 CR3: 00000000b4521000 CR4: 00000000003406e0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 csd_lock_wait kernel/smp.c:108 [inline]
 smp_call_function_single+0x1ee/0x420 kernel/smp.c:302
 task_function_call+0xe0/0x170 kernel/events/core.c:115
 event_function_call+0x228/0x430 kernel/events/core.c:283
 perf_remove_from_context+0x9b/0x1c0 kernel/events/core.c:2113
 perf_event_release_kernel+0x169/0xcd0 kernel/events/core.c:4607
 perf_release+0x33/0x40 kernel/events/core.c:4703
 __fput+0x2ce/0x890 fs/file_table.c:278
 task_work_run+0x148/0x1c0 kernel/task_work.c:113
 tracehook_notify_resume include/linux/tracehook.h:193 [inline]
 exit_to_usermode_loop+0x251/0x2a0 arch/x86/entry/common.c:167
 prepare_exit_to_usermode arch/x86/entry/common.c:198 [inline]
 syscall_return_slowpath arch/x86/entry/common.c:271 [inline]
 do_syscall_64+0x538/0x620 arch/x86/entry/common.c:296
 entry_SYSCALL_64_after_hwframe+0x49/0xbe
RIP: 0033:0x7f84e8e1cfab
Code: 0f 05 48 3d 00 f0 ff ff 77 45 c3 0f 1f 40 00 48 83 ec 18 89 7c 24 0c e8 63 fc ff ff 8b 7c 24 0c 41 89 c0 b8 03 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 35 44 89 c7 89 44 24 0c e8 a1 fc ff ff 8b 44
RSP: 002b:00007ffeaefa09f0 EFLAGS: 00000293 ORIG_RAX: 0000000000000003
RAX: 0000000000000000 RBX: 0000000000000004 RCX: 00007f84e8e1cfab
RDX: 0000001b2fb20000 RSI: 0000001b2fb2273c RDI: 0000000000000003
RBP: 00007f84e8f8c980 R08: 0000000000000000 R09: 000000003253460c
R10: 0011641a8c7e24fe R11: 0000000000000293 R12: 00000000000f68e3
R13: 00007ffeaefa0af0 R14: 00007f84e8f8b120 R15: 0000000000000032

Crashes (44):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2023/02/07 14:41 linux-4.19.y 3f8a27f9e27b 5bc3be51 .config console log report info [disk image] [vmlinux] ci2-linux-4-19 BUG: soft lockup in expire_timers
2023/01/11 06:52 linux-4.19.y 3f8a27f9e27b 48bc529a .config console log report info [disk image] [vmlinux] ci2-linux-4-19 BUG: soft lockup in expire_timers
2022/12/17 11:58 linux-4.19.y 3f8a27f9e27b 05494336 .config console log report info [disk image] [vmlinux] ci2-linux-4-19 BUG: soft lockup in expire_timers
2022/11/01 07:20 linux-4.19.y 3f8a27f9e27b a1d8560a .config console log report info [disk image] [vmlinux] ci2-linux-4-19 BUG: soft lockup in expire_timers
2022/10/10 19:54 linux-4.19.y 3f8a27f9e27b 5bcf0c31 .config console log report info [disk image] [vmlinux] ci2-linux-4-19 BUG: soft lockup in expire_timers
2022/10/10 05:19 linux-4.19.y 3f8a27f9e27b aea5da89 .config console log report info [disk image] [vmlinux] ci2-linux-4-19 BUG: soft lockup in expire_timers
2022/09/10 08:10 linux-4.19.y 3f8a27f9e27b 356d8217 .config console log report info ci2-linux-4-19 BUG: soft lockup in expire_timers
2022/09/04 13:38 linux-4.19.y 3f8a27f9e27b 28811d0a .config console log report info [disk image] [vmlinux] ci2-linux-4-19 BUG: soft lockup in expire_timers
2022/08/16 17:42 linux-4.19.y 3f8a27f9e27b 7a7cb304 .config console log report info ci2-linux-4-19 BUG: soft lockup in expire_timers
2022/08/09 06:31 linux-4.19.y 3f8a27f9e27b da700653 .config console log report info ci2-linux-4-19 BUG: soft lockup in expire_timers
2022/08/07 00:05 linux-4.19.y 3f8a27f9e27b 88e3a122 .config console log report info ci2-linux-4-19 BUG: soft lockup in expire_timers
2022/07/27 12:03 linux-4.19.y 3f8a27f9e27b da9d0366 .config console log report info ci2-linux-4-19 BUG: soft lockup in expire_timers
2022/07/17 07:36 linux-4.19.y 3f8a27f9e27b 95cb00d1 .config console log report info ci2-linux-4-19 BUG: soft lockup in expire_timers
2022/06/05 16:32 linux-4.19.y 3f8a27f9e27b c8857892 .config console log report info ci2-linux-4-19 BUG: soft lockup in expire_timers
2022/05/24 21:42 linux-4.19.y 3f8a27f9e27b fcfad4ff .config console log report info ci2-linux-4-19 BUG: soft lockup in expire_timers
2022/05/22 03:27 linux-4.19.y 3f8a27f9e27b 7268fa62 .config console log report info ci2-linux-4-19 BUG: soft lockup in expire_timers
2022/05/21 10:18 linux-4.19.y 3f8a27f9e27b 7268fa62 .config console log report info ci2-linux-4-19 BUG: soft lockup in expire_timers
2022/05/13 13:36 linux-4.19.y 3f8a27f9e27b 7ce5a022 .config console log report info ci2-linux-4-19 BUG: soft lockup in expire_timers
2022/04/02 04:16 linux-4.19.y 3f8a27f9e27b 79a2a8fc .config console log report info ci2-linux-4-19 BUG: soft lockup in expire_timers
2022/03/24 15:38 linux-4.19.y 3f8a27f9e27b 89bc8608 .config console log report info ci2-linux-4-19 BUG: soft lockup in expire_timers
2022/03/20 07:29 linux-4.19.y 3f8a27f9e27b e2d91b1d .config console log report info ci2-linux-4-19 BUG: soft lockup in expire_timers
2022/03/18 15:17 linux-4.19.y 3f8a27f9e27b e2d91b1d .config console log report info ci2-linux-4-19 BUG: soft lockup in expire_timers
2022/03/14 05:08 linux-4.19.y 3f8a27f9e27b 9e8eaa75 .config console log report info ci2-linux-4-19 BUG: soft lockup in expire_timers
2022/02/21 22:22 linux-4.19.y 3f8a27f9e27b 6e821dbf .config console log report info ci2-linux-4-19 BUG: soft lockup in expire_timers
2022/02/07 09:21 linux-4.19.y 3f8a27f9e27b a7dab638 .config console log report info ci2-linux-4-19 BUG: soft lockup in expire_timers
2022/02/04 16:51 linux-4.19.y 3f8a27f9e27b a3e470b2 .config console log report info ci2-linux-4-19 BUG: soft lockup in expire_timers
2022/02/03 00:44 linux-4.19.y 3f8a27f9e27b 4ebb2798 .config console log report info ci2-linux-4-19 BUG: soft lockup in expire_timers
2022/01/31 12:05 linux-4.19.y 3f8a27f9e27b a491ad2d .config console log report info ci2-linux-4-19 BUG: soft lockup in expire_timers
2022/01/27 20:37 linux-4.19.y 3f8a27f9e27b 64a8e201 .config console log report info ci2-linux-4-19 BUG: soft lockup in expire_timers
2022/01/20 06:22 linux-4.19.y 3f8a27f9e27b 5da9499f .config console log report info ci2-linux-4-19 BUG: soft lockup in expire_timers
2022/01/12 02:47 linux-4.19.y 3f8a27f9e27b 44d1319a .config console log report info ci2-linux-4-19 BUG: soft lockup in expire_timers
2021/12/23 02:34 linux-4.19.y 3f8a27f9e27b 6caa12e4 .config console log report info ci2-linux-4-19 BUG: soft lockup in expire_timers
2021/11/19 11:44 linux-4.19.y 3f8a27f9e27b 31a30fc0 .config console log report info ci2-linux-4-19 BUG: soft lockup in expire_timers
2021/10/20 01:09 linux-4.19.y 3f8a27f9e27b 466b7db1 .config console log report info ci2-linux-4-19 BUG: soft lockup in expire_timers
2021/10/09 20:17 linux-4.19.y e34184f53363 838e7e2c .config console log report info ci2-linux-4-19 BUG: soft lockup in expire_timers
2021/09/25 12:37 linux-4.19.y 2950c9c5e0df 8cac236e .config console log report info ci2-linux-4-19 BUG: soft lockup in expire_timers
2021/09/16 00:47 linux-4.19.y b172b44fcb17 07e953c1 .config console log report info ci2-linux-4-19 BUG: soft lockup in expire_timers
2021/09/12 20:37 linux-4.19.y b172b44fcb17 3ce60af8 .config console log report info ci2-linux-4-19 BUG: soft lockup in expire_timers
2021/09/09 00:53 linux-4.19.y b172b44fcb17 e2776ee4 .config console log report info ci2-linux-4-19 BUG: soft lockup in expire_timers
2021/08/31 20:28 linux-4.19.y e23d55af0e1f 7eb7e152 .config console log report info ci2-linux-4-19 BUG: soft lockup in expire_timers
2021/08/08 23:06 linux-4.19.y 5c66974a6304 6972b106 .config console log report info ci2-linux-4-19 BUG: soft lockup in expire_timers
2021/07/22 21:19 linux-4.19.y 4938296e03bd 241790bb .config console log report info ci2-linux-4-19 BUG: soft lockup in expire_timers
2021/07/16 22:58 linux-4.19.y fcfbdfe9626e f115ae98 .config console log report info ci2-linux-4-19 BUG: soft lockup in expire_timers
2021/07/01 19:31 linux-4.19.y 9f84340f012e 658ebc66 .config console log report info ci2-linux-4-19 BUG: soft lockup in expire_timers
* Struck through repros no longer work on HEAD.