syzbot


BUG: scheduling while atomic in pcpu_alloc

Status: auto-obsoleted due to no activity on 2024/08/04 04:00
Reported-by: syzbot+fc250d5e8d7fa154db7d@syzkaller.appspotmail.com
First crash: 252d, last: 192d
Similar bugs (1)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
android-5-15 BUG: scheduling while atomic in pcpu_alloc 4 229d 236d 0/2 auto-obsoleted due to no activity on 2024/07/05 18:06

Sample crash report:
BUG: scheduling while atomic: syz-executor.3/6409/0x00000002
Modules linked in:
Preemption disabled at:
[<ffffffff81abc2e2>] pcpu_alloc+0x382/0x1440 mm/percpu.c:1780
CPU: 0 PID: 6409 Comm: syz-executor.3 Not tainted 6.1.75-syzkaller-00003-g4d55129aea65 #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:5964
 schedule_debug kernel/sched/core.c:5991 [inline]
 __schedule+0xcf7/0x1550 kernel/sched/core.c:6626
 schedule+0xc3/0x180 kernel/sched/core.c:6809
 schedule_preempt_disabled+0x13/0x20 kernel/sched/core.c:6868
 mutex_optimistic_spin kernel/locking/mutex.c:529 [inline]
 __mutex_lock_common kernel/locking/mutex.c:629 [inline]
 __mutex_lock+0x5b6/0x1ca0 kernel/locking/mutex.c:774
 __mutex_lock_killable_slowpath+0xe/0x10 kernel/locking/mutex.c:1069
 mutex_lock_killable+0x132/0x1e0 kernel/locking/mutex.c:1036
 pcpu_alloc+0x2cb/0x1440 mm/percpu.c:1774
 __alloc_percpu_gfp+0x27/0x30 mm/percpu.c:1937
 bpf_map_alloc_percpu+0xd2/0x2c0 kernel/bpf/syscall.c:483
 prealloc_init kernel/bpf/hashtab.c:328 [inline]
 htab_map_alloc+0xd33/0x17b0 kernel/bpf/hashtab.c:561
 find_and_alloc_map kernel/bpf/syscall.c:133 [inline]
 map_create+0x44a/0xcf0 kernel/bpf/syscall.c:1108
 __sys_bpf+0x2e6/0x7f0 kernel/bpf/syscall.c:4963
 __do_sys_bpf kernel/bpf/syscall.c:5085 [inline]
 __se_sys_bpf kernel/bpf/syscall.c:5083 [inline]
 __x64_sys_bpf+0x7c/0x90 kernel/bpf/syscall.c:5083
 do_syscall_x64 arch/x86/entry/common.c:51 [inline]
 do_syscall_64+0x3d/0xb0 arch/x86/entry/common.c:81
 entry_SYSCALL_64_after_hwframe+0x63/0xcd
RIP: 0033:0x7fc21527dd69
Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 e1 20 00 00 90 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 b0 ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007fc2160170c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000141
RAX: ffffffffffffffda RBX: 00007fc2153abf80 RCX: 00007fc21527dd69
RDX: 0000000000000048 RSI: 0000000020000140 RDI: 0100000000000000
RBP: 00007fc2152ca49e R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 000000000000000b R14: 00007fc2153abf80 R15: 00007ffe7fa23268
 </TASK>

Crashes (11):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2024/05/13 05:51 android14-6.1 4d55129aea65 9026e142 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-1-perf BUG: scheduling while atomic in pcpu_alloc
2024/05/06 01:17 android14-6.1 1794308d463f 610f2a54 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-1-perf BUG: scheduling while atomic in pcpu_alloc
2024/05/05 23:56 android14-6.1 1794308d463f 610f2a54 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-1-perf BUG: scheduling while atomic in pcpu_alloc
2024/04/27 08:48 android14-6.1 fa87a072a7fc 07b455f9 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-1-perf BUG: scheduling while atomic in pcpu_alloc
2024/04/17 17:25 android14-6.1 141ebdcb283b acc528cb .config console log report info ci2-android-6-1-perf BUG: scheduling while atomic in pcpu_alloc
2024/04/12 15:20 android14-6.1 354782156070 c8349e48 .config console log report info ci2-android-6-1-perf BUG: scheduling while atomic in pcpu_alloc
2024/04/04 05:26 android14-6.1 af361f9a1066 51c4dcff .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-1-perf BUG: scheduling while atomic in pcpu_alloc
2024/04/04 01:05 android14-6.1 af361f9a1066 51c4dcff .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-1-perf BUG: scheduling while atomic in pcpu_alloc
2024/04/04 00:47 android14-6.1 af361f9a1066 51c4dcff .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-1 BUG: scheduling while atomic in pcpu_alloc
2024/04/04 00:42 android14-6.1 af361f9a1066 51c4dcff .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-1-perf BUG: scheduling while atomic in pcpu_alloc
2024/03/14 04:56 android14-6.1 4c25eb8ea5a2 f919f202 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-1-perf BUG: scheduling while atomic in pcpu_alloc
* Struck through repros no longer work on HEAD.