syzbot


BUG: soft lockup in do_signal

Status: auto-obsoleted due to no activity on 2023/02/09 18:34
Reported-by: syzbot+0beccde79967ee7e9782@syzkaller.appspotmail.com
First crash: 772d, last: 772d
Similar bugs (4)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream BUG: soft lockup in do_signal usb C 29 1701d 1727d 0/28 closed as dup on 2020/03/02 13:25
linux-4.19 INFO: rcu detected stall in do_signal (4) 3 1049d 1091d 0/1 auto-closed as invalid on 2022/05/09 06:50
linux-4.14 INFO: rcu detected stall in do_signal (2) 1 1360d 1360d 0/1 auto-closed as invalid on 2021/07/02 05:05
linux-4.19 INFO: rcu detected stall in do_signal (3) 6 1324d 1626d 0/1 auto-closed as invalid on 2021/08/06 21:07

Sample crash report:
IDTVectoring: info=00000000 errcode=00000000
TSC Offset = 0xfffffc1e41b53e26
TPR Threshold = 0x00
EPT pointer = 0x0000000092ca701e
Virtual processor ID = 0x0034
watchdog: BUG: soft lockup - CPU#0 stuck for 32s! [syz-executor.0:11027]
Modules linked in:
irq event stamp: 4686
hardirqs last  enabled at (4685): [<ffffffff817ef74a>] free_unref_page_list+0x59a/0x7b0 mm/page_alloc.c:2855
hardirqs last disabled at (4686): [<ffffffff81003d00>] trace_hardirqs_off_thunk+0x1a/0x1c
softirqs last  enabled at (4220): [<ffffffff88400678>] __do_softirq+0x678/0x980 kernel/softirq.c:318
softirqs last disabled at (3795): [<ffffffff813927d5>] invoke_softirq kernel/softirq.c:372 [inline]
softirqs last disabled at (3795): [<ffffffff813927d5>] irq_exit+0x215/0x260 kernel/softirq.c:412
CPU: 0 PID: 11027 Comm: syz-executor.0 Not tainted 4.19.211-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/22/2022
RIP: 0010:arch_local_irq_restore arch/x86/include/asm/paravirt.h:789 [inline]
RIP: 0010:lock_release+0x429/0x8b0 kernel/locking/lockdep.c:3930
Code: 84 08 00 00 00 00 00 00 48 c1 e8 03 80 3c 10 00 0f 85 95 03 00 00 48 83 3d 7b 34 a6 08 00 0f 84 cc 01 00 00 48 8b 3c 24 57 9d <0f> 1f 44 00 00 48 b8 00 00 00 00 00 fc ff df 49 c7 04 04 00 00 00
RSP: 0018:ffff8880a2197690 EFLAGS: 00000286 ORIG_RAX: ffffffffffffff13
RAX: 1ffffffff13e3051 RBX: ffff8880a858e500 RCX: 1ffff110150b1db6
RDX: dffffc0000000000 RSI: 0000000000000002 RDI: 0000000000000286
RBP: 0000000000000001 R08: ffff8880ba027720 R09: 0000000000000001
R10: ffff8880a2197530 R11: 0000000000000000 R12: 1ffff11014432ed5
R13: cc94f32f3311eb89 R14: ffff8880a858e500 R15: 0000000000000002
FS:  00007f8b03a77700(0000) GS:ffff8880ba000000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00005569b7d93860 CR3: 0000000009e6d000 CR4: 00000000003426f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 page_remove_rmap+0xe5/0x120 mm/rmap.c:1297
 zap_pte_range mm/memory.c:1350 [inline]
 zap_pmd_range mm/memory.c:1463 [inline]
 zap_pud_range mm/memory.c:1492 [inline]
 zap_p4d_range mm/memory.c:1513 [inline]
 unmap_page_range+0x147d/0x2c50 mm/memory.c:1534
 unmap_single_vma+0x198/0x300 mm/memory.c:1579
 unmap_vmas+0xa9/0x180 mm/memory.c:1609
 exit_mmap+0x2b9/0x530 mm/mmap.c:3093
 __mmput kernel/fork.c:1016 [inline]
 mmput+0x14e/0x4a0 kernel/fork.c:1037
 exit_mm kernel/exit.c:549 [inline]
 do_exit+0xaec/0x2be0 kernel/exit.c:857
 do_group_exit+0x125/0x310 kernel/exit.c:967
 get_signal+0x3f2/0x1f70 kernel/signal.c:2589
 do_signal+0x8f/0x1670 arch/x86/kernel/signal.c:799
 exit_to_usermode_loop+0x204/0x2a0 arch/x86/entry/common.c:163
 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:0x7f8b051255a9
Code: Bad RIP value.
RSP: 002b:00007f8b03a77168 EFLAGS: 00000246 ORIG_RAX: 000000000000012a
RAX: 0000000000000045 RBX: 00007f8b05246050 RCX: 00007f8b051255a9
RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000020000080
RBP: 00007f8b05180580 R08: 0000000000000000 R09: 0000000000000000
R10: ffffffffffffffff R11: 0000000000000246 R12: 0000000000000000
R13: 00007ffc2d40905f R14: 00007f8b03a77300 R15: 0000000000022000
Sending NMI from CPU 0 to CPUs 1:
NMI backtrace for cpu 1
CPU: 1 PID: 0 Comm: swapper/1 Not tainted 4.19.211-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/22/2022
RIP: 0010:arch_local_irq_restore arch/x86/include/asm/paravirt.h:789 [inline]
RIP: 0010:lock_release+0x429/0x8b0 kernel/locking/lockdep.c:3930
Code: 84 08 00 00 00 00 00 00 48 c1 e8 03 80 3c 10 00 0f 85 95 03 00 00 48 83 3d 7b 34 a6 08 00 0f 84 cc 01 00 00 48 8b 3c 24 57 9d <0f> 1f 44 00 00 48 b8 00 00 00 00 00 fc ff df 49 c7 04 04 00 00 00
RSP: 0018:ffff8880ba107c18 EFLAGS: 00000086
RAX: 1ffffffff13e3051 RBX: ffff8880b5a863c0 RCX: 1ffff11016b50d8e
RDX: dffffc0000000000 RSI: 0000000000000002 RDI: 0000000000000086
RBP: 0000000000000001 R08: ffffffff8d3a3208 R09: 0000000000000001
R10: 0000000000000005 R11: ffffffff8c66505b R12: 1ffff11017420f86
R13: 45fb7ae5f3db03eb R14: ffff8880b5a863c0 R15: 0000000000000002
FS:  0000000000000000(0000) GS:ffff8880ba100000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f75b7268000 CR3: 000000009fbb5000 CR4: 00000000003426e0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 <IRQ>
 __raw_spin_unlock_irqrestore include/linux/spinlock_api_smp.h:158 [inline]
 _raw_spin_unlock_irqrestore+0x1b/0xe0 kernel/locking/spinlock.c:184
 debug_object_activate+0x295/0x450 lib/debugobjects.c:498
 debug_hrtimer_activate kernel/time/hrtimer.c:416 [inline]
 debug_activate kernel/time/hrtimer.c:465 [inline]
 enqueue_hrtimer+0x27/0x3d0 kernel/time/hrtimer.c:972
 __run_hrtimer kernel/time/hrtimer.c:1480 [inline]
 __hrtimer_run_queues+0xae6/0xe60 kernel/time/hrtimer.c:1527
 hrtimer_interrupt+0x326/0x9e0 kernel/time/hrtimer.c:1585
 local_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1071 [inline]
 smp_apic_timer_interrupt+0x10c/0x550 arch/x86/kernel/apic/apic.c:1096
 apic_timer_interrupt+0xf/0x20 arch/x86/entry/entry_64.S:894
 </IRQ>
RIP: 0010:native_safe_halt+0xe/0x10 arch/x86/include/asm/irqflags.h:61
Code: 48 89 df e8 f4 20 7f f9 e9 2e ff ff ff 48 89 df e8 e7 20 7f f9 eb 82 90 90 90 90 90 e9 07 00 00 00 0f 00 2d 14 43 4e 00 fb f4 <c3> 90 e9 07 00 00 00 0f 00 2d 04 43 4e 00 f4 c3 90 90 41 56 41 55
RSP: 0018:ffff8880b5a9fd40 EFLAGS: 00000282 ORIG_RAX: ffffffffffffff13
RAX: 1ffffffff13e3054 RBX: dffffc0000000000 RCX: 0000000000000000
RDX: dffffc0000000000 RSI: 0000000000000001 RDI: ffff8880b5a86c44
RBP: 0000000000000001 R08: 0000000000000001 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000000 R12: ffffffff89f18290
R13: 1ffff11016b53fb2 R14: 0000000000000000 R15: 0000000000000000
 arch_safe_halt arch/x86/include/asm/paravirt.h:94 [inline]
 default_idle+0x49/0x310 arch/x86/kernel/process.c:557
 cpuidle_idle_call kernel/sched/idle.c:153 [inline]
 do_idle+0x2ec/0x4b0 kernel/sched/idle.c:263
 cpu_startup_entry+0xc5/0xe0 kernel/sched/idle.c:369
 start_secondary+0x435/0x5c0 arch/x86/kernel/smpboot.c:271
 secondary_startup_64+0xa4/0xb0 arch/x86/kernel/head_64.S:243

Crashes (1):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2022/10/12 18:34 linux-4.19.y 3f8a27f9e27b 16a9c9e0 .config console log report info [disk image] [vmlinux] ci2-linux-4-19 BUG: soft lockup in do_signal
* Struck through repros no longer work on HEAD.