INFO: task jbd2/sda1-8:2937 blocked for more than 143 seconds. Not tainted 5.16.0-rc5-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:jbd2/sda1-8 state:D stack:23064 pid: 2937 ppid: 2 flags:0x00004000 Call Trace: context_switch kernel/sched/core.c:4972 [inline] __schedule+0xb72/0x1460 kernel/sched/core.c:6253 schedule+0x12b/0x1f0 kernel/sched/core.c:6326 io_schedule+0x83/0x100 kernel/sched/core.c:8371 bit_wait_io+0xe/0xc0 kernel/sched/wait_bit.c:209 __wait_on_bit+0xbd/0x190 kernel/sched/wait_bit.c:49 out_of_line_wait_on_bit+0x1d2/0x250 kernel/sched/wait_bit.c:64 wait_on_buffer include/linux/buffer_head.h:356 [inline] journal_wait_on_commit_record fs/jbd2/commit.c:175 [inline] jbd2_journal_commit_transaction+0x3f87/0x5c00 fs/jbd2/commit.c:931 kjournald2+0x4b4/0x940 fs/jbd2/journal.c:213 kthread+0x468/0x490 kernel/kthread.c:327 ret_from_fork+0x1f/0x30 INFO: task syz-executor.1:11435 blocked for more than 143 seconds. Not tainted 5.16.0-rc5-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.1 state:D stack:23152 pid:11435 ppid: 3635 flags:0x00004004 Call Trace: context_switch kernel/sched/core.c:4972 [inline] __schedule+0xb72/0x1460 kernel/sched/core.c:6253 schedule+0x12b/0x1f0 kernel/sched/core.c:6326 jbd2_log_wait_commit+0x2c5/0x500 fs/jbd2/journal.c:712 ext4_fc_commit+0x417/0x2840 fs/ext4/fast_commit.c:1217 ext4_fsync_journal fs/ext4/fsync.c:115 [inline] ext4_sync_file+0x4d8/0x860 fs/ext4/fsync.c:174 generic_write_sync include/linux/fs.h:2955 [inline] iomap_dio_complete+0x49a/0x6f0 fs/iomap/direct-io.c:116 ext4_dio_write_iter fs/ext4/file.c:568 [inline] ext4_file_write_iter+0x1780/0x1bd0 fs/ext4/file.c:679 call_write_iter include/linux/fs.h:2162 [inline] new_sync_write fs/read_write.c:503 [inline] vfs_write+0xb11/0xe90 fs/read_write.c:590 ksys_write+0x18f/0x2c0 fs/read_write.c:643 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x44/0xd0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x44/0xae RIP: 0033:0x7f2fc7adfe99 RSP: 002b:00007f2fc6455168 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 RAX: ffffffffffffffda RBX: 00007f2fc7bf2f60 RCX: 00007f2fc7adfe99 RDX: 0000000000043400 RSI: 0000000020000200 RDI: 0000000000000005 RBP: 00007f2fc7b39ff1 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007ffce527c0af R14: 00007f2fc6455300 R15: 0000000000022000 Showing all locks held in the system: 1 lock held by khungtaskd/26: #0: ffffffff8cb1de40 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire+0x0/0x30 1 lock held by klogd/2962: #0: ffff8880b9a395d8 (&rq->__lock){-.-.}-{2:2}, at: raw_spin_rq_lock_nested+0x25/0x110 kernel/sched/core.c:478 2 locks held by getty/3286: #0: ffff88807eed0098 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x21/0x70 drivers/tty/tty_ldisc.c:252 #1: ffffc90002b962e8 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0x6c5/0x1c60 drivers/tty/n_tty.c:2113 3 locks held by syz-executor.1/11435: #0: ffff88803c69ed70 (&f->f_pos_lock){+.+.}-{3:3}, at: __fdget_pos+0x24e/0x2f0 fs/file.c:1034 #1: ffff88814a7b0460 (sb_writers#5){.+.+}-{0:0}, at: vfs_write+0x2b5/0xe90 fs/read_write.c:586 #2: ffff888071eb21d8 (&sb->s_type->i_mutex_key#9){++++}-{3:3}, at: inode_lock include/linux/fs.h:783 [inline] #2: ffff888071eb21d8 (&sb->s_type->i_mutex_key#9){++++}-{3:3}, at: ext4_dio_write_iter fs/ext4/file.c:510 [inline] #2: ffff888071eb21d8 (&sb->s_type->i_mutex_key#9){++++}-{3:3}, at: ext4_file_write_iter+0x831/0x1bd0 fs/ext4/file.c:679 ============================================= NMI backtrace for cpu 1 CPU: 1 PID: 26 Comm: khungtaskd Not tainted 5.16.0-rc5-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 Call Trace: __dump_stack lib/dump_stack.c:88 [inline] dump_stack_lvl+0x1dc/0x2d8 lib/dump_stack.c:106 nmi_cpu_backtrace+0x45f/0x490 lib/nmi_backtrace.c:111 nmi_trigger_cpumask_backtrace+0x16a/0x280 lib/nmi_backtrace.c:62 trigger_all_cpu_backtrace include/linux/nmi.h:146 [inline] check_hung_uninterruptible_tasks kernel/hung_task.c:210 [inline] watchdog+0xc82/0xcd0 kernel/hung_task.c:295 kthread+0x468/0x490 kernel/kthread.c:327 ret_from_fork+0x1f/0x30 Sending NMI from CPU 1 to CPUs 0: NMI backtrace for cpu 0 CPU: 0 PID: 54 Comm: kworker/u4:3 Not tainted 5.16.0-rc5-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 Workqueue: bat_events batadv_nc_worker RIP: 0010:preempt_count arch/x86/include/asm/preempt.h:27 [inline] RIP: 0010:__local_bh_disable_ip+0xde/0x200 kernel/softirq.c:322 Code: 44 24 60 42 80 3c 23 00 74 08 4c 89 f7 e8 ca 77 80 00 4c 8d 74 24 40 48 8b 44 24 60 48 89 44 24 18 fa 65 44 01 3d 1a 6e b2 7e <65> 8b 05 13 6e b2 7e 44 31 f8 a9 00 ff 00 00 75 0a 48 8b 7c 24 10 RSP: 0018:ffffc90001a2fa60 EFLAGS: 00000082 RAX: 0000000000000246 RBX: 1ffff92000345f58 RCX: 1ffff110045a53e1 RDX: 0000000000000000 RSI: 0000000000000201 RDI: ffffffff89f0b7d0 RBP: ffffc90001a2fb38 R08: dffffc0000000000 R09: fffffbfff1ff39f9 R10: fffffbfff1ff39f9 R11: 0000000000000000 R12: dffffc0000000000 R13: 1ffff92000345f50 R14: ffffc90001a2faa0 R15: 0000000000000201 FS: 0000000000000000(0000) GS:ffff8880b9a00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000055b8d251cb18 CR3: 000000007f108000 CR4: 00000000003526f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000600 Call Trace: __raw_spin_lock_bh include/linux/spinlock_api_smp.h:125 [inline] _raw_spin_lock_bh+0x18/0x40 kernel/locking/spinlock.c:178 spin_lock_bh include/linux/spinlock.h:354 [inline] batadv_nc_purge_paths+0xe0/0x3f0 net/batman-adv/network-coding.c:446 batadv_nc_worker+0x31e/0x5b0 net/batman-adv/network-coding.c:726 process_one_work+0x853/0x1140 kernel/workqueue.c:2298 worker_thread+0xac1/0x1320 kernel/workqueue.c:2445 kthread+0x468/0x490 kernel/kthread.c:327 ret_from_fork+0x1f/0x30 ---------------- Code disassembly (best guess): 0: 44 24 60 rex.R and $0x60,%al 3: 42 80 3c 23 00 cmpb $0x0,(%rbx,%r12,1) 8: 74 08 je 0x12 a: 4c 89 f7 mov %r14,%rdi d: e8 ca 77 80 00 callq 0x8077dc 12: 4c 8d 74 24 40 lea 0x40(%rsp),%r14 17: 48 8b 44 24 60 mov 0x60(%rsp),%rax 1c: 48 89 44 24 18 mov %rax,0x18(%rsp) 21: fa cli 22: 65 44 01 3d 1a 6e b2 add %r15d,%gs:0x7eb26e1a(%rip) # 0x7eb26e44 29: 7e * 2a: 65 8b 05 13 6e b2 7e mov %gs:0x7eb26e13(%rip),%eax # 0x7eb26e44 <-- trapping instruction 31: 44 31 f8 xor %r15d,%eax 34: a9 00 ff 00 00 test $0xff00,%eax 39: 75 0a jne 0x45 3b: 48 8b 7c 24 10 mov 0x10(%rsp),%rdi