syzbot


BUG: scheduling while atomic in bit_wait_io

Status: auto-obsoleted due to no activity on 2024/07/17 03:46
Reported-by: syzbot+d1febec492faa2018a77@syzkaller.appspotmail.com
First crash: 291d, last: 213d
Similar bugs (1)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
android-5-15 BUG: scheduling while atomic in bit_wait_io 7 207d 233d 0/2 auto-obsoleted due to no activity on 2024/07/28 20:31

Sample crash report:
BUG: scheduling while atomic: syz-executor.3/14137/0x00000002
Modules linked in:
Preemption disabled at:
[<ffffffff829c4633>] percpu_counter_add_batch+0x33/0x160 lib/percpu_counter.c:86
CPU: 1 PID: 14137 Comm: syz-executor.3 Tainted: G        W          6.1.75-syzkaller-00066-gd0c6724b0f6f #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
 io_schedule+0x8f/0x120 kernel/sched/core.c:8984
 bit_wait_io+0x15/0xd0 kernel/sched/wait_bit.c:209
 __wait_on_bit_lock+0x227/0x620 kernel/sched/wait_bit.c:90
 out_of_line_wait_on_bit_lock+0x1ab/0x230 kernel/sched/wait_bit.c:117
 wait_on_bit_lock_io include/linux/wait_bit.h:208 [inline]
 __lock_buffer+0x65/0x80 fs/buffer.c:70
 lock_buffer include/linux/buffer_head.h:397 [inline]
 ext4_quota_write+0x362/0x560 fs/ext4/super.c:7137
 qtree_write_dquot+0x239/0x530 fs/quota/quota_tree.c:431
 v2_write_dquot+0x123/0x190 fs/quota/quota_v2.c:358
 dquot_commit+0x3c3/0x520 fs/quota/dquot.c:512
 ext4_write_dquot+0x1e7/0x2b0 fs/ext4/super.c:6740
 ext4_mark_dquot_dirty+0xea/0x150 fs/ext4/super.c:6788
 mark_dquot_dirty fs/quota/dquot.c:372 [inline]
 mark_all_dquot_dirty fs/quota/dquot.c:410 [inline]
 __dquot_alloc_space+0x52e/0xc00 fs/quota/dquot.c:1792
 dquot_alloc_space_nodirty include/linux/quotaops.h:300 [inline]
 dquot_alloc_space include/linux/quotaops.h:313 [inline]
 dquot_alloc_block include/linux/quotaops.h:337 [inline]
 ext4_xattr_block_set+0x1d5d/0x3760 fs/ext4/xattr.c:2028
 ext4_xattr_set_handle+0xdac/0x1560 fs/ext4/xattr.c:2406
 ext4_initxattrs+0xa7/0x120 fs/ext4/xattr_security.c:44
 security_inode_init_security+0x252/0x390 security/security.c:1133
 ext4_init_security+0x34/0x40 fs/ext4/xattr_security.c:58
 __ext4_new_inode+0x31ef/0x40a0 fs/ext4/ialloc.c:1328
 ext4_mkdir+0x421/0xce0 fs/ext4/namei.c:3017
 vfs_mkdir+0x398/0x570 fs/namei.c:4113
 do_mkdirat+0x1eb/0x450 fs/namei.c:4138
 __do_sys_mkdirat fs/namei.c:4153 [inline]
 __se_sys_mkdirat fs/namei.c:4151 [inline]
 __x64_sys_mkdirat+0x89/0xa0 fs/namei.c:4151
 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:0x7f20e5c7dea9
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:00007f20e6a4d0c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000102
RAX: ffffffffffffffda RBX: 00007f20e5dac120 RCX: 00007f20e5c7dea9
RDX: 0000000000000000 RSI: 0000000020000100 RDI: ffffffffffffff9c
RBP: 00007f20e5cca4a4 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 000000000000006e R14: 00007f20e5dac120 R15: 00007ffe8a7c8408
 </TASK>

Crashes (14):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2024/04/24 11:38 android14-6.1 d0c6724b0f6f 21339d7b .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-1 BUG: scheduling while atomic in bit_wait_io
2024/04/20 05:32 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 bit_wait_io
2024/04/19 03:05 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 bit_wait_io
2024/04/18 08:38 android14-6.1 692e3553d2e9 af24b050 .config console log report info ci2-android-6-1 BUG: scheduling while atomic in bit_wait_io
2024/04/17 15:13 android14-6.1 089d1b8f6daf acc528cb .config console log report info ci2-android-6-1-perf BUG: scheduling while atomic in bit_wait_io
2024/04/16 21:27 android14-6.1 77fec6cefe26 18f6e127 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-1 BUG: scheduling while atomic in bit_wait_io
2024/04/15 23:08 android14-6.1 99aea323a3fd b9af7e61 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-1 BUG: scheduling while atomic in bit_wait_io
2024/04/12 01:38 android14-6.1 ca4095789fda 95ed9ece .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-1 BUG: scheduling while atomic in bit_wait_io
2024/04/09 00:00 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 bit_wait_io
2024/04/08 11:28 android14-6.1 60534eef4739 ca620dd8 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-1 BUG: scheduling while atomic in bit_wait_io
2024/04/08 00:48 android14-6.1 60534eef4739 ca620dd8 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-1 BUG: scheduling while atomic in bit_wait_io
2024/04/05 02:41 android14-6.1 60534eef4739 0ee3535e .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-1 BUG: scheduling while atomic in bit_wait_io
2024/03/31 04:11 android14-6.1 5b8114ec3c92 6baf5069 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-1 BUG: scheduling while atomic in bit_wait_io
2024/02/05 17:17 android14-6.1 ba97ad7b91bb e23e8c20 .config console log report info ci2-android-6-1 BUG: scheduling while atomic in bit_wait_io
* Struck through repros no longer work on HEAD.