syzbot


BUG: scheduling while atomic in kauditd_thread

Status: upstream: reported C repro on 2024/04/21 01:28
Bug presence: origin:lts
[Documentation on labels]
Reported-by: syzbot+f989b9aa1412d65984db@syzkaller.appspotmail.com
First crash: 55d, last: 55d
Bug presence (2)
Date Name Commit Repro Result
2024/04/21 lts (merge base) 883d1a956208 C [report] BUG: scheduling while atomic in exit_to_user_mode_loop
2024/04/21 upstream (ToT) 977b1ef51866 C Didn't crash
Similar bugs (1)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
android-5-15 BUG: scheduling while atomic in kauditd_thread 1 76d 76d 0/2 premoderation: reported on 2024/03/30 15:15
Last patch testing requests (1)
Created Duration User Patch Repo Result
2024/05/05 01:57 6m retest repro android14-6.1 report log

Sample crash report:
audit: type=1400 audit(1713662690.267:69): avc:  denied  { perfmon } for  pid=294 comm="syz-executor134" capability=38  scontext=root:sysadm_r:sysadm_t tcontext=root:sysadm_r:sysadm_t tclass=capability2 permissive=1
audit: type=1400 audit(1713662690.267:70): avc:  denied  { map_read map_write } for  pid=294 comm="syz-executor134" scontext=root:sysadm_r:sysadm_t tcontext=root:sysadm_r:sysadm_t tclass=bpf permissive=1
audit: type=1400 audit(1713662690.267:71): avc:  denied  { prog_load } for  pid=294 comm="syz-executor134" scontext=root:sysadm_r:sysadm_t tcontext=root:sysadm_r:sysadm_t tclass=bpf permissive=1
audit: type=1400 audit(1713662690.267:72): avc:  denied  { prog_run } for  pid=294 comm="syz-executor134" scontext=root:sysadm_r:sysadm_t tcontext=root:sysadm_r:sysadm_t tclass=bpf permissive=1
BUG: scheduling while atomic: kauditd/28/0x00000002
Modules linked in:
Preemption disabled at:
[<ffffffff815ae511>] __wake_up_klogd+0x21/0x110 kernel/printk/printk.c:3487
CPU: 1 PID: 28 Comm: kauditd Not tainted 6.1.75-syzkaller-00037-gdcb09569bbff #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/27/2024
Call Trace:
 <TASK>
 __dump_stack lib/dump_stack.c:88 [inline]
 dump_stack_lvl+0x151/0x1b7 lib/dump_stack.c:106
 dump_stack+0x15/0x1b lib/dump_stack.c:113
 __schedule_bug+0x195/0x260 kernel/sched/core.c:5960
 schedule_debug kernel/sched/core.c:5987 [inline]
 __schedule+0xcf7/0x1550 kernel/sched/core.c:6622
 schedule+0xc3/0x180 kernel/sched/core.c:6805
 kauditd_thread+0x630/0x740 kernel/audit.c:901
 kthread+0x26d/0x300 kernel/kthread.c:386
 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:306
 </TASK>

Crashes (1):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2024/04/21 01:27 android14-6.1 dcb09569bbff af24b050 .config console log report syz C [disk image] [vmlinux] [kernel image] ci2-android-6-1-perf BUG: scheduling while atomic in kauditd_thread
* Struck through repros no longer work on HEAD.