INFO: task syz-executor.5:6340 blocked for more than 143 seconds. Not tainted 6.6.0-rc2-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.5 state:D stack:23720 pid:6340 ppid:5068 flags:0x00004006 Call Trace: context_switch kernel/sched/core.c:5382 [inline] __schedule+0x196c/0x4af0 kernel/sched/core.c:6695 schedule+0xc3/0x180 kernel/sched/core.c:6771 io_schedule+0x8c/0x100 kernel/sched/core.c:9026 folio_wait_bit_common+0x881/0x12a0 mm/filemap.c:1301 clean_bdev_aliases+0x2f9/0x770 fs/buffer.c:1725 clean_bdev_bh_alias include/linux/buffer_head.h:222 [inline] __block_write_begin_int+0x771/0x1a40 fs/buffer.c:2115 iomap_write_begin+0xaf6/0x1f00 fs/iomap/buffered-io.c:772 iomap_write_iter fs/iomap/buffered-io.c:907 [inline] iomap_file_buffered_write+0x587/0x1020 fs/iomap/buffered-io.c:968 blkdev_buffered_write block/fops.c:634 [inline] blkdev_write_iter+0x3f5/0x5b0 block/fops.c:684 call_write_iter include/linux/fs.h:1985 [inline] new_sync_write fs/read_write.c:491 [inline] vfs_write+0x782/0xaf0 fs/read_write.c:584 ksys_write+0x1a0/0x2c0 fs/read_write.c:637 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x41/0xc0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x63/0xcd RIP: 0033:0x7f95cf07cae9 RSP: 002b:00007f95cfd8e0c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 RAX: ffffffffffffffda RBX: 00007f95cf19c050 RCX: 00007f95cf07cae9 RDX: 000000000156a396 RSI: 0000000020002a40 RDI: 0000000000000003 RBP: 00007f95cf0c847a R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000000b R14: 00007f95cf19c050 R15: 00007ffc3f6796a8 Showing all locks held in the system: 1 lock held by khungtaskd/29: #0: ffffffff8d32c4a0 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire include/linux/rcupdate.h:303 [inline] #0: ffffffff8d32c4a0 (rcu_read_lock){....}-{1:2}, at: rcu_read_lock include/linux/rcupdate.h:749 [inline] #0: ffffffff8d32c4a0 (rcu_read_lock){....}-{1:2}, at: debug_show_all_locks+0x55/0x2a0 kernel/locking/lockdep.c:6613 2 locks held by getty/4786: #0: ffff88814a76e0a0 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x25/0x70 drivers/tty/tty_ldisc.c:243 #1: ffffc900031332f0 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0x6b1/0x1dc0 drivers/tty/n_tty.c:2206 1 lock held by syz-executor.5/6467: #0: ffff888086e4a0e0 (&type->s_umount_key#30){++++}-{3:3}, at: __super_lock fs/super.c:56 [inline] #0: ffff888086e4a0e0 (&type->s_umount_key#30){++++}-{3:3}, at: __super_lock_excl fs/super.c:71 [inline] #0: ffff888086e4a0e0 (&type->s_umount_key#30){++++}-{3:3}, at: get_tree_bdev+0x36e/0x5b0 fs/super.c:1575 1 lock held by syz-executor.5/6562: #0: ffff888086e4a0e0 (&type->s_umount_key#30){++++}-{3:3}, at: __super_lock fs/super.c:56 [inline] #0: ffff888086e4a0e0 (&type->s_umount_key#30){++++}-{3:3}, at: super_lock+0x129/0x390 fs/super.c:117 ============================================= NMI backtrace for cpu 1 CPU: 1 PID: 29 Comm: khungtaskd Not tainted 6.6.0-rc2-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 08/04/2023 Call Trace: __dump_stack lib/dump_stack.c:88 [inline] dump_stack_lvl+0x1e7/0x2d0 lib/dump_stack.c:106 nmi_cpu_backtrace+0x498/0x4d0 lib/nmi_backtrace.c:113 nmi_trigger_cpumask_backtrace+0x198/0x310 lib/nmi_backtrace.c:62 trigger_all_cpu_backtrace include/linux/nmi.h:160 [inline] check_hung_uninterruptible_tasks kernel/hung_task.c:222 [inline] watchdog+0xfa9/0xff0 kernel/hung_task.c:379 kthread+0x2d3/0x370 kernel/kthread.c:388 ret_from_fork+0x48/0x80 arch/x86/kernel/process.c:147 ret_from_fork_asm+0x11/0x20 arch/x86/entry/entry_64.S:304 Sending NMI from CPU 1 to CPUs 0: NMI backtrace for cpu 0 CPU: 0 PID: 42 Comm: kworker/u4:2 Not tainted 6.6.0-rc2-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 08/04/2023 Workqueue: bat_events batadv_nc_worker RIP: 0010:kasan_check_range+0x7/0x290 mm/kasan/generic.c:186 Code: 48 89 c7 e8 6b 5e e5 08 31 c0 c3 0f 0b b8 ea ff ff ff c3 0f 0b b8 ea ff ff ff c3 0f 1f 84 00 00 00 00 00 66 0f 1f 00 55 41 57 <41> 56 41 54 53 b0 01 48 85 f6 0f 84 a0 01 00 00 4c 8d 04 37 49 39 RSP: 0018:ffffc90000b2f708 EFLAGS: 00000046 RAX: 0000000000000000 RBX: 0000000000000020 RCX: ffffffff816d03ef RDX: 0000000000000000 RSI: 0000000000000008 RDI: ffffffff906f9380 RBP: ffffc90000b2f9e8 R08: dffffc0000000000 R09: 1ffffffff20df270 R10: dffffc0000000000 R11: fffffbfff20df271 R12: ffff8880132e8ac0 R13: ffff8880132e8000 R14: ffff8880132e8b18 R15: ffff8880132e8b38 FS: 0000000000000000(0000) GS:ffff8880b9800000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000055c33367d680 CR3: 000000000d130000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: instrument_atomic_read include/linux/instrumented.h:68 [inline] _test_bit include/asm-generic/bitops/instrumented-non-atomic.h:141 [inline] __lock_acquire+0xdbf/0x7f70 kernel/locking/lockdep.c:5106 lock_acquire+0x1e3/0x520 kernel/locking/lockdep.c:5753 rcu_lock_acquire include/linux/rcupdate.h:303 [inline] rcu_read_lock include/linux/rcupdate.h:749 [inline] batadv_nc_purge_orig_hash net/batman-adv/network-coding.c:408 [inline] batadv_nc_worker+0xec/0x610 net/batman-adv/network-coding.c:719 process_one_work kernel/workqueue.c:2630 [inline] process_scheduled_works+0x90f/0x1400 kernel/workqueue.c:2703 worker_thread+0xa5f/0xff0 kernel/workqueue.c:2784 kthread+0x2d3/0x370 kernel/kthread.c:388 ret_from_fork+0x48/0x80 arch/x86/kernel/process.c:147 ret_from_fork_asm+0x11/0x20 arch/x86/entry/entry_64.S:304