syzbot


BUG: scheduling while atomic in kauditd_thread

Status: premoderation: reported on 2024/03/30 15:15
Reported-by: syzbot+88818314d691ad63763e@syzkaller.appspotmail.com
First crash: 35d, last: 35d
Similar bugs (1)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
android-6-1 BUG: scheduling while atomic in kauditd_thread origin:lts C 1 13d 13d 0/2 upstream: reported C repro on 2024/04/21 01:28

Sample crash report:
audit: type=1400 audit(1711811647.820:350): avc:  denied  { relabelto } for  pid=9082 comm="syz-executor.0" name="NETLINK" dev="sockfs" ino=46571 scontext=root:sysadm_r:sysadm_t tcontext=system_u:object_r:unlabeled_t tclass=netlink_route_socket permissive=1 trawcon="system_u:object_r:tetex_data_t:s0"
BUG: scheduling while atomic: kauditd/30/0x00000002
Modules linked in:
Preemption disabled at:
[<ffffffff81575e71>] __wake_up_klogd+0x21/0x110 kernel/printk/printk.c:3290
CPU: 0 PID: 30 Comm: kauditd Tainted: G        W         5.15.148-syzkaller-00718-g993bed180178 #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/0x17 lib/dump_stack.c:113
 __schedule_bug+0x195/0x260 kernel/sched/core.c:5707
 schedule_debug kernel/sched/core.c:5734 [inline]
 __schedule+0xd19/0x1590 kernel/sched/core.c:6402
 schedule+0x11f/0x1e0 kernel/sched/core.c:6595
 freezable_schedule include/linux/freezer.h:197 [inline]
 kauditd_thread+0x6ae/0x8b0 kernel/audit.c:903
 kthread+0x421/0x510 kernel/kthread.c:337
 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:298
 </TASK>
audit: type=1400 audit(1711811650.460:351): avc:  denied  { connect } for  pid=9178 comm="syz-executor.0" scontext=root:sysadm_r:sysadm_t tcontext=root:sysadm_r:sysadm_t tclass=pppox_socket permissive=1

Crashes (1):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2024/03/30 15:14 android13-5.15-lts 993bed180178 6baf5069 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-15 BUG: scheduling while atomic in kauditd_thread
* Struck through repros no longer work on HEAD.