syzbot


BUG: soft lockup in asm_exc_page_fault

Status: auto-obsoleted due to no activity on 2024/12/10 17:09
Reported-by: syzbot+5a0c21ba7dcd36dcc75b@syzkaller.appspotmail.com
First crash: 259d, last: 111d
Fix bisection: failed (error log, bisect log)
  
Bug presence (2)
Date Name Commit Repro Result
2024/11/03 lts (merge base) 3a5928702e71 C Didn't crash
2024/11/03 upstream (ToT) 3e5e6c9900c3 C Didn't crash
Similar bugs (1)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream INFO: rcu detected stall in asm_exc_page_fault mm syz error 4 65d 287d 0/28 upstream: reported syz repro on 2024/03/09 13:56
Last patch testing requests (1)
Created Duration User Patch Repo Result
2024/09/15 19:06 20m retest repro android13-5.15-lts report log
Fix bisection attempts (3)
Created Duration User Patch Repo Result
2024/10/15 00:07 0m bisect fix android13-5.15-lts error job log
2024/09/01 15:51 1h17m bisect fix android13-5.15-lts OK (0) job log log
2024/07/27 19:56 2h26m bisect fix android13-5.15-lts OK (0) job log log

Sample crash report:
RBP: 0000000000000000 R08: 0000000000000000 R09: 00007fff2bdb80b0
R10: 0000555556348650 R11: 0000000000000246 R12: 0000000000000001
R13: 00007fff2bdb36fc R14: 00007fff2bdb3710 R15: 00007fff2bdb3700
 </TASK>
watchdog: BUG: soft lockup - CPU#0 stuck for 225s! [syz-executor281:806]
Modules linked in:
CPU: 0 PID: 806 Comm: syz-executor281 Not tainted 5.15.149-syzkaller-00131-g79bd336c7a94 #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 04/02/2024
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+0x147/0x180 arch/x86/kernel/kvm.c:918
Code: 4c 89 e8 48 c1 e8 03 42 0f b6 04 20 84 c0 44 8b 74 24 1c 75 34 41 0f b6 45 00 44 38 f0 75 10 66 90 0f 00 2d cb 03 f3 03 fb f4 <e9> 24 ff ff ff fb e9 1e ff ff ff 44 89 e9 80 e1 07 38 c1 7c a3 4c
RSP: 0018:ffffc90000aa7160 EFLAGS: 00000246
RAX: 0000000000000001 RBX: 1ffff92000154e30 RCX: 1ffffffff0d1aa9c
RDX: 0000000000000001 RSI: 0000000000000001 RDI: ffff8881f7038ad4
RBP: ffffc90000aa7210 R08: dffffc0000000000 R09: ffffed103ee0715b
R10: 0000000000000000 R11: dffffc0000000001 R12: dffffc0000000000
R13: ffff8881f7038ad4 R14: 0000000000000001 R15: 1ffff92000154e34
FS:  0000555556348380(0000) GS:ffff8881f7000000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f2f80b3a0c9 CR3: 000000011f60f000 CR4: 00000000003506b0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 <IRQ>
 </IRQ>
 <TASK>
 pv_wait arch/x86/include/asm/paravirt.h:597 [inline]
 pv_wait_node kernel/locking/qspinlock_paravirt.h:325 [inline]
 __pv_queued_spin_lock_slowpath+0x41b/0xc40 kernel/locking/qspinlock.c:473
 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+0x139/0x1b0 kernel/locking/spinlock.c:178
 sock_hash_delete_elem+0xb1/0x2f0 net/core/sock_map.c:937
 bpf_prog_2c29ac5cdc6b1842+0x3a/0xa28
 bpf_dispatcher_nop_func include/linux/bpf.h:785 [inline]
 __bpf_prog_run include/linux/filter.h:625 [inline]
 bpf_prog_run include/linux/filter.h:632 [inline]
 __bpf_trace_run kernel/trace/bpf_trace.c:1880 [inline]
 bpf_trace_run4+0x13f/0x270 kernel/trace/bpf_trace.c:1919
 __bpf_trace_mm_page_alloc+0xbf/0xf0 include/trace/events/kmem.h:201
 __traceiter_mm_page_alloc+0x3a/0x60 include/trace/events/kmem.h:201
 trace_mm_page_alloc include/trace/events/kmem.h:201 [inline]
 __alloc_pages+0x3cb/0x8f0 mm/page_alloc.c:5798
 __alloc_pages_node include/linux/gfp.h:591 [inline]
 alloc_pages_node include/linux/gfp.h:605 [inline]
 alloc_pages include/linux/gfp.h:618 [inline]
 wp_page_copy+0x200/0x1b00 mm/memory.c:3191
 do_wp_page+0x6fa/0xb60
 handle_pte_fault+0x7c0/0x24d0 mm/memory.c:4892
 do_handle_mm_fault+0x1ea9/0x23a0 mm/memory.c:5293
 handle_mm_fault include/linux/mm.h:1836 [inline]
 do_user_addr_fault arch/x86/mm/fault.c:1458 [inline]
 handle_page_fault arch/x86/mm/fault.c:1549 [inline]
 exc_page_fault+0x3b5/0x830 arch/x86/mm/fault.c:1605
 asm_exc_page_fault+0x27/0x30 arch/x86/include/asm/idtentry.h:568
RIP: 0010:__put_user_nocheck_4+0x3/0x11
Code: 00 00 48 39 d9 73 54 0f 01 cb 66 89 01 31 c9 0f 01 ca c3 0f 1f 44 00 00 48 bb fd ef ff ff ff 7f 00 00 48 39 d9 73 34 0f 01 cb <89> 01 31 c9 0f 01 ca c3 66 0f 1f 44 00 00 48 bb f9 ef ff ff ff 7f
RSP: 0018:ffffc90000aa7f30 EFLAGS: 00050297

RAX: 0000000000000326 RBX: 00007fffffffeffd RCX: 0000555556348650
RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000
RBP: ffffc90000aa7f48 R08: ffffffff814969c3 R09: 000000000000000a
R10: ffffc90000aa7a90 R11: dffffc0000000001 R12: 0000000000000000
R13: 0000000000000000 R14: ffff88810c122780 R15: 0000000000000000
 ret_from_fork+0x8/0x30 arch/x86/entry/entry_64.S:283
RIP: 0033:0x7f2f80b3a0f3
Code: Unable to access opcode bytes at RIP 0x7f2f80b3a0c9.
RSP: 002b:00007fff2bdb35e8 EFLAGS: 00000246
 ORIG_RAX: 0000000000000038
RAX: 0000000000000000 RBX: 0000000000000000 RCX: 00007f2f80b3a0f3
RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000001200011
RBP: 0000000000000000 R08: 0000000000000000 R09: 00007fff2bdb80b0
R10: 0000555556348650 R11: 0000000000000246 R12: 0000000000000001
R13: 00007fff2bdb36fc R14: 00007fff2bdb3710 R15: 00007fff2bdb3700
 </TASK>

Crashes (3):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2024/06/11 02:07 android13-5.15-lts 79bd336c7a94 048c640a .config console log report syz / log C [disk image] [vmlinux] [kernel image] ci2-android-5-15 BUG: soft lockup in asm_exc_page_fault
2024/05/29 12:33 android13-5.15-lts 424f92bcbe8f 34889ee3 .config console log report syz / log C [disk image] [vmlinux] [kernel image] ci2-android-5-15 BUG: soft lockup in asm_exc_page_fault
2024/04/06 19:05 android13-5.15-lts 993bed180178 ca620dd8 .config console log report syz C [disk image] [vmlinux] [kernel image] ci2-android-5-15-perf BUG: soft lockup in asm_exc_page_fault
* Struck through repros no longer work on HEAD.