syzbot


BUG: scheduling while atomic: syz-executor/ADDR (2)

Status: closed as dup on 2022/04/02 11:01
Subsystems: fs
[Documentation on labels]
Reported-by: syzbot+baf0286916837266ff0e@syzkaller.appspotmail.com
First crash: 795d, last: 789d
Duplicate of
Title Repro Cause bisect Fix bisect Count Last Reported
BUG: sleeping function called from invalid context in blk_mq_release block 1 786d 786d
Discussions (1)
Title Replies (including bot) Last reply
[syzbot] BUG: scheduling while atomic: syz-executor/ADDR (2) 0 (1) 2022/03/26 15:04
Similar bugs (2)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
android-54 BUG: scheduling while atomic: syz-executor/ADDR C 56 948d 1077d 0/2 auto-obsoleted due to no activity on 2023/04/22 02:08
upstream BUG: scheduling while atomic: syz-executor/ADDR kernel C done 5 1003d 1060d 20/26 fixed on 2021/11/10 00:50

Sample crash report:
BUG: scheduling while atomic: syz-executor.0/2201/0x00000102
Modules linked in:
CPU: 0 PID: 2201 Comm: syz-executor.0 Not tainted 5.17.0-syzkaller-11407-gae085d7f9365 #0
Hardware name: linux,dummy-virt (DT)
Call trace:
 dump_backtrace.part.0+0xcc/0xe0 arch/arm64/kernel/stacktrace.c:184
 dump_backtrace arch/arm64/kernel/stacktrace.c:190 [inline]
 show_stack+0x18/0x6c arch/arm64/kernel/stacktrace.c:191
 __dump_stack lib/dump_stack.c:88 [inline]
 dump_stack_lvl+0x68/0x84 lib/dump_stack.c:106
 dump_stack+0x18/0x34 lib/dump_stack.c:113
 __schedule_bug+0x60/0x80 kernel/sched/core.c:5617
 schedule_debug kernel/sched/core.c:5644 [inline]
 __schedule+0x74c/0x7f0 kernel/sched/core.c:6273
 schedule+0x54/0xd0 kernel/sched/core.c:6454
 rwsem_down_write_slowpath+0x29c/0x5a0 kernel/locking/rwsem.c:1142
 __down_write_common kernel/locking/rwsem.c:1259 [inline]
 __down_write_common kernel/locking/rwsem.c:1256 [inline]
 __down_write kernel/locking/rwsem.c:1268 [inline]
 down_write+0x58/0x64 kernel/locking/rwsem.c:1515
 inode_lock include/linux/fs.h:777 [inline]
 simple_recursive_removal+0x124/0x270 fs/libfs.c:288
 debugfs_remove fs/debugfs/inode.c:732 [inline]
 debugfs_remove+0x5c/0x80 fs/debugfs/inode.c:726
 blk_release_queue+0x7c/0xf0 block/blk-sysfs.c:784
 kobject_cleanup lib/kobject.c:705 [inline]
 kobject_release lib/kobject.c:736 [inline]
 kref_put include/linux/kref.h:65 [inline]
 kobject_put+0x98/0x114 lib/kobject.c:753
 blk_put_queue+0x14/0x20 block/blk-core.c:270
 blkg_free.part.0+0x54/0x80 block/blk-cgroup.c:86
 blkg_free block/blk-cgroup.c:78 [inline]
 __blkg_release+0x44/0x70 block/blk-cgroup.c:102
 rcu_do_batch kernel/rcu/tree.c:2535 [inline]
 rcu_core+0x324/0x590 kernel/rcu/tree.c:2786
 rcu_core_si+0x10/0x20 kernel/rcu/tree.c:2803
 _stext+0x124/0x2a0
 do_softirq_own_stack include/asm-generic/softirq_stack.h:10 [inline]
 invoke_softirq kernel/softirq.c:439 [inline]
 __irq_exit_rcu+0xe4/0x100 kernel/softirq.c:637
 irq_exit_rcu+0x10/0x1c kernel/softirq.c:649
 __el1_irq arch/arm64/kernel/entry-common.c:459 [inline]
 el1_interrupt+0x38/0x64 arch/arm64/kernel/entry-common.c:473
 el1h_64_irq_handler+0x18/0x24 arch/arm64/kernel/entry-common.c:478
 el1h_64_irq+0x64/0x68 arch/arm64/kernel/entry.S:577
 unlink_va mm/vmalloc.c:962 [inline]
 free_vmap_area_noflush+0x44/0x370 mm/vmalloc.c:1780
 free_unmap_vmap_area mm/vmalloc.c:1809 [inline]
 remove_vm_area+0xb0/0xcc mm/vmalloc.c:2570
 vm_remove_mappings mm/vmalloc.c:2599 [inline]
 __vunmap+0x60/0x320 mm/vmalloc.c:2664
 __vfree+0x3c/0x9c mm/vmalloc.c:2723
 vfree+0x34/0x50 mm/vmalloc.c:2754
 copy_entries_to_user net/ipv4/netfilter/arp_tables.c:713 [inline]
 get_entries net/ipv4/netfilter/arp_tables.c:867 [inline]
 do_arpt_get_ctl+0x3b8/0x460 net/ipv4/netfilter/arp_tables.c:1453
 nf_getsockopt+0x60/0x8c net/netfilter/nf_sockopt.c:116
 ip_getsockopt net/ipv4/ip_sockglue.c:1786 [inline]
 ip_getsockopt+0x108/0x164 net/ipv4/ip_sockglue.c:1765
 tcp_getsockopt+0x20/0x50 net/ipv4/tcp.c:4295
 sock_common_getsockopt+0x1c/0x30 net/core/sock.c:3478
 __sys_getsockopt+0xa4/0x214 net/socket.c:2224
 __do_sys_getsockopt net/socket.c:2239 [inline]
 __se_sys_getsockopt net/socket.c:2236 [inline]
 __arm64_sys_getsockopt+0x28/0x3c net/socket.c:2236
 __invoke_syscall arch/arm64/kernel/syscall.c:38 [inline]
 invoke_syscall+0x48/0x114 arch/arm64/kernel/syscall.c:52
 el0_svc_common.constprop.0+0x44/0xec arch/arm64/kernel/syscall.c:142
 do_el0_svc+0x6c/0x84 arch/arm64/kernel/syscall.c:181
 el0_svc+0x44/0xb0 arch/arm64/kernel/entry-common.c:616
 el0t_64_sync_handler+0x1a4/0x1b0 arch/arm64/kernel/entry-common.c:634
 el0t_64_sync+0x198/0x19c arch/arm64/kernel/entry.S:581
vkms_vblank_simulate: vblank timer overrun

Crashes (11):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2022/03/28 21:50 upstream ae085d7f9365 ee339263 .config console log report info ci-qemu2-arm64-mte BUG: scheduling while atomic: syz-executor/ADDR
2022/03/28 10:25 upstream ae085d7f9365 ee339263 .config console log report info ci-qemu2-arm64-mte BUG: scheduling while atomic: syz-executor/ADDR
2022/03/27 14:27 upstream f022814633e1 89bc8608 .config console log report info ci-qemu2-arm32 BUG: scheduling while atomic: syz-executor/ADDR
2022/03/27 11:40 upstream f022814633e1 89bc8608 .config console log report info ci-qemu2-arm32 BUG: scheduling while atomic: syz-executor/ADDR
2022/03/26 06:34 upstream cb7cbaae7fd9 89bc8608 .config console log report info ci-qemu2-arm64-mte BUG: scheduling while atomic: syz-executor/ADDR
2022/03/25 15:26 upstream 34af78c4e616 89bc8608 .config console log report info ci-qemu2-arm32 BUG: scheduling while atomic: syz-executor/ADDR
2022/03/25 14:32 upstream 34af78c4e616 89bc8608 .config console log report info ci-qemu2-arm32 BUG: scheduling while atomic: syz-executor/ADDR
2022/03/25 12:55 upstream 34af78c4e616 89bc8608 .config console log report info ci-qemu2-arm64-mte BUG: scheduling while atomic: syz-executor/ADDR
2022/03/25 09:31 upstream 52deda9551a0 89bc8608 .config console log report info ci-qemu2-arm64-mte BUG: scheduling while atomic: syz-executor/ADDR
2022/03/24 12:51 upstream ed4643521e6a 89bc8608 .config console log report info ci-qemu2-arm64-mte BUG: scheduling while atomic: syz-executor/ADDR
2022/03/22 15:02 upstream b47d5a4f6b8d d88ef0c5 .config console log report info ci-qemu2-arm32 BUG: scheduling while atomic: syz-executor/ADDR
* Struck through repros no longer work on HEAD.