syzbot


BUG: scheduling while atomic in wait_transaction_locked

Status: auto-obsoleted due to no activity on 2024/09/18 10:46
Reported-by: syzbot+a765c1e2e77bdbc62c53@syzkaller.appspotmail.com
First crash: 250d, last: 156d
Similar bugs (1)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
android-5-15 BUG: scheduling while atomic in wait_transaction_locked 4 225d 248d 0/2 auto-obsoleted due to no activity on 2024/07/10 19:39

Sample crash report:
BUG: scheduling while atomic: syz-executor.2/20213/0x00000002
Modules linked in:
Preemption disabled at:
[<ffffffff81f40116>] spin_lock include/linux/spinlock.h:350 [inline]
[<ffffffff81f40116>] ext4_do_update_inode fs/ext4/inode.c:5192 [inline]
[<ffffffff81f40116>] ext4_mark_iloc_dirty+0x1d6/0x1970 fs/ext4/inode.c:5841
CPU: 0 PID: 20213 Comm: syz-executor.2 Not tainted 6.1.78-syzkaller-00020-gcd89d4fa0722 #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 04/02/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:5975
 schedule_debug kernel/sched/core.c:6002 [inline]
 __schedule+0xcf7/0x1550 kernel/sched/core.c:6637
 schedule+0xc3/0x180 kernel/sched/core.c:6820
 wait_transaction_locked+0x1e5/0x280 fs/jbd2/transaction.c:178
 add_transaction_credits fs/jbd2/transaction.c:241 [inline]
 start_this_handle+0x7a9/0x2080 fs/jbd2/transaction.c:422
 jbd2__journal_start+0x2ea/0x720 fs/jbd2/transaction.c:520
 __ext4_journal_start_sb+0x24d/0x4b0 fs/ext4/ext4_jbd2.c:105
 __ext4_journal_start fs/ext4/ext4_jbd2.h:326 [inline]
 ext4_dirty_inode+0x8f/0x100 fs/ext4/inode.c:6071
 __mark_inode_dirty+0x200/0xa60 fs/fs-writeback.c:2433
 mark_inode_dirty include/linux/fs.h:2534 [inline]
 generic_write_end+0x202/0x300 fs/buffer.c:2227
 ext4_da_write_end+0x707/0x9a0 fs/ext4/inode.c:3109
 generic_perform_write+0x3e6/0x5c0 mm/filemap.c:3849
 ext4_buffered_write_iter+0x360/0x640 fs/ext4/file.c:285
 ext4_file_write_iter+0x194/0x1570
 call_write_iter include/linux/fs.h:2258 [inline]
 new_sync_write fs/read_write.c:491 [inline]
 vfs_write+0x902/0xeb0 fs/read_write.c:584
 ksys_write+0x199/0x2c0 fs/read_write.c:637
 __do_sys_write fs/read_write.c:649 [inline]
 __se_sys_write fs/read_write.c:646 [inline]
 __x64_sys_write+0x7b/0x90 fs/read_write.c:646
 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:0x7f53d287cf29
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:00007f53d35d50c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000001
RAX: ffffffffffffffda RBX: 00007f53d29b4120 RCX: 00007f53d287cf29
RDX: 00000000fffffdef RSI: 0000000020000140 RDI: 000000000000000b
RBP: 00007f53d28ec074 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 000000000000006e R14: 00007f53d29b4120 R15: 00007ffeabc8fbb8
 </TASK>

Crashes (10):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2024/06/20 10:39 android14-6.1 cd89d4fa0722 41b7e219 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-1-perf BUG: scheduling while atomic in wait_transaction_locked
2024/06/01 03:52 android14-6.1 92704e00b599 3113787f .config console log report info ci2-android-6-1-perf BUG: scheduling while atomic in wait_transaction_locked
2024/04/22 01:53 android14-6.1 dcb09569bbff af24b050 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-1 BUG: scheduling while atomic in wait_transaction_locked
2024/04/21 21:57 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 wait_transaction_locked
2024/04/21 15:06 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 wait_transaction_locked
2024/04/20 16:39 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 wait_transaction_locked
2024/04/20 02:41 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 wait_transaction_locked
2024/04/16 19:46 android14-6.1 77fec6cefe26 18f6e127 .config console log report info ci2-android-6-1-perf BUG: scheduling while atomic in wait_transaction_locked
2024/04/03 20:54 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 wait_transaction_locked
2024/03/18 02:56 android14-6.1 ef39f76e4d24 d615901c .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-1-perf BUG: scheduling while atomic in wait_transaction_locked
* Struck through repros no longer work on HEAD.