syzbot


BUG: scheduling while atomic in synchronize_rcu_expedited

Status: upstream: reported C repro on 2024/05/19 21:04
Bug presence: origin:lts
[Documentation on labels]
Reported-by: syzbot+7aae5c996031cff11107@syzkaller.appspotmail.com
First crash: 114d, last: 8d21h
Bug presence (2)
Date Name Commit Repro Result
2024/05/19 lts (merge base) 883d1a956208 C [report] BUG: using smp_processor_id() in preemptible code in rcu_is_watching
2024/05/19 upstream (ToT) eb6a9339efeb 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 synchronize_rcu_expedited 34 41d 112d 0/2 premoderation: reported on 2024/03/02 18:45
Last patch testing requests (1)
Created Duration User Patch Repo Result
2024/06/02 20:58 8m retest repro android14-6.1 report log

Sample crash report:
BUG: scheduling while atomic: syz-executor412/701/0x00000002
Modules linked in:
Preemption disabled at:
[<ffffffff82a01b5d>] ref_tracker_free+0x11d/0x7d0 lib/ref_tracker.c:124
CPU: 0 PID: 701 Comm: syz-executor412 Not tainted 6.1.75-syzkaller-00021-gbd552fcbbd0f #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
 synchronize_rcu_expedited+0x6fc/0x890 kernel/rcu/tree_exp.h:965
 synchronize_net net/core/dev.c:10787 [inline]
 unregister_netdevice_many+0x1378/0x1740 net/core/dev.c:10919
 unregister_netdevice_queue+0x2e6/0x350 net/core/dev.c:10816
 unregister_netdevice include/linux/netdevice.h:3100 [inline]
 ppp_release+0xed/0x1e0 drivers/net/ppp/ppp_generic.c:407
 __fput+0x3ab/0x870 fs/file_table.c:320
 ____fput+0x15/0x20 fs/file_table.c:348
 task_work_run+0x24d/0x2e0 kernel/task_work.c:179
 resume_user_mode_work include/linux/resume_user_mode.h:49 [inline]
 exit_to_user_mode_loop+0x94/0xa0 kernel/entry/common.c:171
 exit_to_user_mode_prepare+0x5a/0xa0 kernel/entry/common.c:204
 __syscall_exit_to_user_mode_work kernel/entry/common.c:286 [inline]
 syscall_exit_to_user_mode+0x26/0x140 kernel/entry/common.c:297
 do_syscall_64+0x49/0xb0 arch/x86/entry/common.c:87
 entry_SYSCALL_64_after_hwframe+0x63/0xcd
RIP: 0033:0x7fca2bec0be0
Code: ff f7 d8 64 89 02 48 c7 c0 ff ff ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 66 90 80 3d c1 94 07 00 00 74 17 b8 03 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 48 c3 0f 1f 80 00 00 00 00 48 83 ec 18 89 7c
RSP: 002b:00007ffdbc3198e8 EFLAGS: 00000202 ORIG_RAX: 0000000000000003
RAX: 0000000000000000 RBX: 0000000000000007 RCX: 00007fca2bec0be0
RDX: 0000000000000010 RSI: 00000000200001c0 RDI: 0000000000000006
RBP: 0000000000000000 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000202 R12: 0000000000000000
R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000000
 </TASK>

Crashes (27):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2024/05/19 20:55 android14-6.1 bd552fcbbd0f c0f1611a .config console log report syz C [disk image] [vmlinux] [kernel image] ci2-android-6-1-perf BUG: scheduling while atomic in synchronize_rcu_expedited
2024/06/14 11:10 android14-6.1 4c45e2f34089 8d849073 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-1-perf BUG: scheduling while atomic in synchronize_rcu_expedited
2024/05/04 23:51 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 synchronize_rcu_expedited
2024/05/04 20:27 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 synchronize_rcu_expedited
2024/04/30 10:51 android14-6.1 4744b3a4ed72 f10afd69 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-1 BUG: scheduling while atomic in synchronize_rcu_expedited
2024/04/29 19:00 android14-6.1 08cc4037cf32 27e33c58 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-1 BUG: scheduling while atomic in synchronize_rcu_expedited
2024/04/28 07:54 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 synchronize_rcu_expedited
2024/04/26 17:42 android14-6.1 fa87a072a7fc 059e9963 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-1 BUG: scheduling while atomic in synchronize_rcu_expedited
2024/04/23 23:39 android14-6.1 d0c6724b0f6f 21339d7b .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-1-perf BUG: scheduling while atomic in synchronize_rcu_expedited
2024/04/22 08:38 android14-6.1 dcb09569bbff af24b050 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-1 BUG: scheduling while atomic in synchronize_rcu_expedited
2024/04/21 18:00 android14-6.1 dcb09569bbff af24b050 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-1-perf BUG: scheduling while atomic in synchronize_rcu_expedited
2024/04/19 17:59 android14-6.1 dcb09569bbff af24b050 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-1 BUG: scheduling while atomic in synchronize_rcu_expedited
2024/04/16 12:00 android14-6.1 77fec6cefe26 0d592ce4 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-1 BUG: scheduling while atomic in synchronize_rcu_expedited
2024/04/15 18:01 android14-6.1 26f2c9be9ebe b9af7e61 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-1-perf BUG: scheduling while atomic in synchronize_rcu_expedited
2024/04/14 18:36 android14-6.1 b76ed1185975 c8349e48 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-1-perf BUG: scheduling while atomic in synchronize_rcu_expedited
2024/04/13 19:01 android14-6.1 cfa154389a65 c8349e48 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-1-perf BUG: scheduling while atomic in synchronize_rcu_expedited
2024/04/13 08:52 android14-6.1 cfa154389a65 c8349e48 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-1 BUG: scheduling while atomic in synchronize_rcu_expedited
2024/04/12 06:53 android14-6.1 354782156070 27de0a5c .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-1-perf BUG: scheduling while atomic in synchronize_rcu_expedited
2024/04/12 01:20 android14-6.1 ca4095789fda 95ed9ece .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-1-perf BUG: scheduling while atomic in synchronize_rcu_expedited
2024/04/11 18:55 android14-6.1 ca4095789fda 95ed9ece .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-1 BUG: scheduling while atomic in synchronize_rcu_expedited
2024/04/10 19:32 android14-6.1 be55946e207c 4320ec32 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-1-perf BUG: scheduling while atomic in synchronize_rcu_expedited
2024/04/10 05:38 android14-6.1 5dc2bc296647 171ec371 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-1-perf BUG: scheduling while atomic in synchronize_rcu_expedited
2024/04/08 18:39 android14-6.1 56ba301cac0b 53df08b6 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-1-perf BUG: scheduling while atomic in synchronize_rcu_expedited
2024/04/07 20:00 android14-6.1 60534eef4739 ca620dd8 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-1-perf BUG: scheduling while atomic in synchronize_rcu_expedited
2024/04/02 21:15 android14-6.1 f085398f0e8f eb2966c4 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-1-perf BUG: scheduling while atomic in synchronize_rcu_expedited
2024/03/22 05:22 android14-6.1 b75112544779 7a239ce7 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-1 BUG: scheduling while atomic in synchronize_rcu_expedited
2024/02/29 15:41 android14-6.1 30edcedb44a8 352ab904 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-1 BUG: scheduling while atomic in synchronize_rcu_expedited
* Struck through repros no longer work on HEAD.