syzbot


BUG: soft lockup in kauditd_thread

Status: auto-obsoleted due to no activity on 2024/12/21 07:08
Reported-by: syzbot+1d10c0fe139063cb6d1c@syzkaller.appspotmail.com
First crash: 261d, last: 100d
Fix bisection: failed (error log, bisect log)
  
Bug presence (2)
Date Name Commit Repro Result
2024/10/13 lts (merge base) 3a5928702e71 C Didn't crash
2024/10/13 upstream (ToT) ba01565ced22 C Didn't crash
Similar bugs (8)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
linux-6.1 INFO: rcu detected stall in kauditd_thread (3) 1 53d 53d 0/3 upstream: reported on 2024/10/29 22:50
linux-5.15 INFO: rcu detected stall in kauditd_thread (2) 1 44d 44d 0/3 upstream: reported on 2024/11/08 01:15
upstream INFO: rcu detected stall in kauditd_thread (3) kernel 2 395d 428d 0/28 auto-obsoleted due to no activity on 2024/02/20 23:02
upstream INFO: rcu detected stall in kauditd_thread kernel 2 1064d 1119d 0/28 closed as invalid on 2022/02/08 10:00
linux-6.1 INFO: rcu detected stall in kauditd_thread (2) 3 270d 376d 0/3 auto-obsoleted due to no activity on 2024/07/04 19:28
upstream INFO: rcu detected stall in kauditd_thread (4) audit net bpf C error 21 20d 269d 0/28 upstream: reported C repro on 2024/03/27 18:39
linux-6.1 INFO: rcu detected stall in kauditd_thread 2 490d 576d 0/3 auto-obsoleted due to no activity on 2023/11/27 06:59
linux-5.15 INFO: rcu detected stall in kauditd_thread 2 365d 382d 0/3 auto-obsoleted due to no activity on 2024/03/31 22:45
Last patch testing requests (2)
Created Duration User Patch Repo Result
2024/09/30 07:09 43m retest repro android13-5.15-lts OK log
2024/09/05 23:45 15m retest repro android13-5.15-lts report log
Fix bisection attempts (3)
Created Duration User Patch Repo Result
2024/10/15 02:23 0m bisect fix android13-5.15-lts error job log
2024/09/12 05:55 1h12m bisect fix android13-5.15-lts OK (0) job log log
2024/07/08 04:03 1h05m bisect fix android13-5.15-lts OK (0) job log log

Sample crash report:
watchdog: BUG: soft lockup - CPU#0 stuck for 226s! [kauditd:30]
Modules linked in:
CPU: 0 PID: 30 Comm: kauditd Not tainted 5.15.152-syzkaller-00143-g70e1a731d986 #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 06/27/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 2b 02 13 04 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:ffffc900001ff7e0 EFLAGS: 00000246
RAX: 0000000000000001 RBX: 1ffff9200003ff00 RCX: 1ffffffff0d5aa9c
RDX: 0000000000000001 RSI: 0000000000000001 RDI: ffff8881f7038ad4
RBP: ffffc900001ff890 R08: dffffc0000000000 R09: ffffed103ee0715b
R10: 0000000000000000 R11: dffffc0000000001 R12: dffffc0000000000
R13: ffff8881f7038ad4 R14: 0000000000000001 R15: 1ffff9200003ff04
FS:  0000000000000000(0000) GS:ffff8881f7000000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007fa7ac4c6130 CR3: 0000000006a0f000 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_map_delete net/core/sock_map.c:416 [inline]
 sock_map_delete_elem+0x99/0x130 net/core/sock_map.c:448
 bpf_prog_8a405b5ced52e191+0x42/0x594
 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_run2+0xec/0x210 kernel/trace/bpf_trace.c:1917
 __bpf_trace_kfree+0x6f/0x90 include/trace/events/kmem.h:118
 __traceiter_kfree+0x2a/0x40 include/trace/events/kmem.h:118
 trace_kfree include/trace/events/kmem.h:118 [inline]
 kfree+0x1f3/0x220 mm/slub.c:4569
 skb_free_head net/core/skbuff.c:656 [inline]
 skb_release_data+0x8a9/0xa80 net/core/skbuff.c:678
 skb_release_all net/core/skbuff.c:743 [inline]
 __kfree_skb net/core/skbuff.c:757 [inline]
 kfree_skb_reason net/core/skbuff.c:778 [inline]
 kfree_skb+0xba/0x360 net/core/skbuff.c:792
 kauditd_hold_skb+0x115/0x200 kernel/audit.c:614
 kauditd_send_queue+0x28d/0x2e0 kernel/audit.c:769
 kauditd_thread+0x529/0x8b0 kernel/audit.c:893
 kthread+0x421/0x510 kernel/kthread.c:337
 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:298
 </TASK>

Crashes (5):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2024/08/08 13:58 android13-5.15-lts 70e1a731d986 de12cf65 .config console log report syz / log C [disk image] [vmlinux] [kernel image] ci2-android-5-15-perf BUG: soft lockup in kauditd_thread
2024/05/29 18:42 android13-5.15-lts 424f92bcbe8f 34889ee3 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-15 BUG: soft lockup in kauditd_thread
2024/05/05 13:06 android13-5.15-lts 5d96939590c0 610f2a54 .config console log report syz C [disk image] [vmlinux] [kernel image] ci2-android-5-15 BUG: soft lockup in kauditd_thread
2024/04/19 16:51 android13-5.15-lts ad06eaf051cd af24b050 .config strace log report syz C [disk image] [vmlinux] [kernel image] ci2-android-5-15 BUG: soft lockup in kauditd_thread
2024/04/04 19:59 android13-5.15-lts 993bed180178 0ee3535e .config console log report syz C [disk image] [vmlinux] [kernel image] ci2-android-5-15 BUG: soft lockup in kauditd_thread
* Struck through repros no longer work on HEAD.