INFO: task syz-executor.5:15961 blocked for more than 146 seconds. Not tainted 6.6.0-rc2-syzkaller-00018-g2cf0f7156238 #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.5 state:D stack:25232 pid:15961 ppid:5080 flags:0x00004006 Call Trace: context_switch kernel/sched/core.c:5382 [inline] __schedule+0xee1/0x5a10 kernel/sched/core.c:6695 schedule+0xe7/0x1b0 kernel/sched/core.c:6771 io_schedule+0xbe/0x130 kernel/sched/core.c:9026 folio_wait_bit_common+0x3dc/0x9c0 mm/filemap.c:1301 folio_lock include/linux/pagemap.h:1042 [inline] clean_bdev_aliases+0x56b/0x610 fs/buffer.c:1725 clean_bdev_bh_alias include/linux/buffer_head.h:222 [inline] __block_write_begin_int+0x8d6/0x1470 fs/buffer.c:2115 iomap_write_begin+0x5be/0x17b0 fs/iomap/buffered-io.c:772 iomap_write_iter fs/iomap/buffered-io.c:907 [inline] iomap_file_buffered_write+0x3d6/0x9a0 fs/iomap/buffered-io.c:968 blkdev_buffered_write block/fops.c:634 [inline] blkdev_write_iter+0x4f5/0xc90 block/fops.c:684 call_write_iter include/linux/fs.h:1985 [inline] do_iter_readv_writev+0x21e/0x3c0 fs/read_write.c:735 do_iter_write+0x17f/0x830 fs/read_write.c:860 vfs_iter_write+0x7a/0xb0 fs/read_write.c:901 iter_file_splice_write+0x698/0xbf0 fs/splice.c:736 do_splice_from fs/splice.c:933 [inline] direct_splice_actor+0x118/0x180 fs/splice.c:1142 splice_direct_to_actor+0x347/0xa30 fs/splice.c:1088 do_splice_direct+0x1af/0x280 fs/splice.c:1194 do_sendfile+0xb88/0x1390 fs/read_write.c:1254 __do_sys_sendfile64 fs/read_write.c:1322 [inline] __se_sys_sendfile64 fs/read_write.c:1308 [inline] __x64_sys_sendfile64+0x1d6/0x220 fs/read_write.c:1308 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x38/0xb0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x63/0xcd RIP: 0033:0x7fba4d67cae9 RSP: 002b:00007fba4c1bc0c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000028 RAX: ffffffffffffffda RBX: 00007fba4d79c120 RCX: 00007fba4d67cae9 RDX: 0000000000000000 RSI: 000000000000000a RDI: 0000000000000009 RBP: 00007fba4d6c847a R08: 0000000000000000 R09: 0000000000000000 R10: 0100000000000042 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000006e R14: 00007fba4d79c120 R15: 00007ffcb83004b8 Showing all locks held in the system: 1 lock held by khungtaskd/29: #0: ffffffff8cbab2e0 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire include/linux/rcupdate.h:303 [inline] #0: ffffffff8cbab2e0 (rcu_read_lock){....}-{1:2}, at: rcu_read_lock include/linux/rcupdate.h:749 [inline] #0: ffffffff8cbab2e0 (rcu_read_lock){....}-{1:2}, at: debug_show_all_locks+0x75/0x340 kernel/locking/lockdep.c:6613 3 locks held by kworker/u4:8/2899: 2 locks held by getty/4789: #0: ffff88802a2120a0 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x24/0x80 drivers/tty/tty_ldisc.c:243 #1: ffffc90002f062f0 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0xfc5/0x1480 drivers/tty/n_tty.c:2206 3 locks held by kworker/0:5/5135: #0: ffff888012c70d38 ((wq_completion)events){+.+.}-{0:0}, at: process_one_work+0x787/0x15c0 kernel/workqueue.c:2605 #1: ffffc90004737d80 ((work_completion)(&data->fib_event_work)){+.+.}-{0:0}, at: process_one_work+0x7e9/0x15c0 kernel/workqueue.c:2606 #2: ffff888089cac240 (&data->fib_lock){+.+.}-{3:3}, at: nsim_fib_event_work+0x1bb/0x26e0 drivers/net/netdevsim/fib.c:1489 2 locks held by kworker/0:6/5141: #0: ffff888012c72938 ((wq_completion)rcu_gp){+.+.}-{0:0}, at: process_one_work+0x787/0x15c0 kernel/workqueue.c:2605 #1: ffffc900047c7d80 ((work_completion)(&rew->rew_work)){+.+.}-{0:0}, at: process_one_work+0x7e9/0x15c0 kernel/workqueue.c:2606 2 locks held by kworker/u4:1/7712: 2 locks held by kworker/u4:12/19093: #0: ffff888012c71938 ((wq_completion)events_unbound){+.+.}-{0:0}, at: process_one_work+0x787/0x15c0 kernel/workqueue.c:2605 #1: ffffc900182bfd80 ((work_completion)(&map->work)){+.+.}-{0:0}, at: process_one_work+0x7e9/0x15c0 kernel/workqueue.c:2606 1 lock held by syz-executor.2/19188: #0: ffffffff8cbb6bb8 (rcu_state.exp_mutex){+.+.}-{3:3}, at: exp_funnel_lock kernel/rcu/tree_exp.h:293 [inline] #0: ffffffff8cbb6bb8 (rcu_state.exp_mutex){+.+.}-{3:3}, at: synchronize_rcu_expedited+0x69e/0x7e0 kernel/rcu/tree_exp.h:992 ============================================= NMI backtrace for cpu 0 CPU: 0 PID: 29 Comm: khungtaskd Not tainted 6.6.0-rc2-syzkaller-00018-g2cf0f7156238 #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+0xd9/0x1b0 lib/dump_stack.c:106 nmi_cpu_backtrace+0x277/0x380 lib/nmi_backtrace.c:113 nmi_trigger_cpumask_backtrace+0x299/0x300 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+0xf87/0x1210 kernel/hung_task.c:379 kthread+0x33c/0x440 kernel/kthread.c:388 ret_from_fork+0x45/0x80 arch/x86/kernel/process.c:147 ret_from_fork_asm+0x11/0x20 arch/x86/entry/entry_64.S:304 Sending NMI from CPU 0 to CPUs 1: NMI backtrace for cpu 1 CPU: 1 PID: 7712 Comm: kworker/u4:1 Not tainted 6.6.0-rc2-syzkaller-00018-g2cf0f7156238 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 08/04/2023 Workqueue: bat_events batadv_nc_worker RIP: 0010:mark_lock+0x1ae/0x1950 kernel/locking/lockdep.c:4646 Code: 48 2b 04 25 28 00 00 00 0f 85 5a 13 00 00 48 8d 65 d8 89 d0 5b 41 5c 41 5d 41 5e 41 5f 5d c3 48 8d 7e 22 48 89 f8 48 c1 e8 03 <0f> b6 04 10 48 89 fa 83 e2 07 38 d0 7f 08 84 c0 0f 85 d4 08 00 00 RSP: 0018:ffffc900001f0940 EFLAGS: 00000012 RAX: 1ffff11003a95167 RBX: ffff88801d4a8b18 RCX: 1ffffffff233de7a RDX: dffffc0000000000 RSI: ffff88801d4a8b18 RDI: ffff88801d4a8b3a RBP: ffffc900001f0aa8 R08: 0000000000000000 R09: fffffbfff233ddd0 R10: ffffffff919eee87 R11: 1ffff11003272e16 R12: ffff88801d4a8b3a R13: 0000000000000008 R14: 1ffff9200003e130 R15: 0000000000000002 FS: 0000000000000000(0000) GS:ffff8880b9900000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000000002047b000 CR3: 000000008235c000 CR4: 0000000000350ee0 Call Trace: mark_usage kernel/locking/lockdep.c:4598 [inline] __lock_acquire+0x975/0x5de0 kernel/locking/lockdep.c:5090 lock_acquire kernel/locking/lockdep.c:5753 [inline] lock_acquire+0x1ae/0x510 kernel/locking/lockdep.c:5718 __raw_spin_lock_irqsave include/linux/spinlock_api_smp.h:110 [inline] _raw_spin_lock_irqsave+0x3a/0x50 kernel/locking/spinlock.c:162 debug_object_deactivate lib/debugobjects.c:783 [inline] debug_object_deactivate+0x113/0x320 lib/debugobjects.c:771 debug_rcu_head_unqueue kernel/rcu/rcu.h:238 [inline] rcu_do_batch kernel/rcu/tree.c:2132 [inline] rcu_core+0x7b2/0x1bb0 kernel/rcu/tree.c:2403 __do_softirq+0x218/0x965 kernel/softirq.c:553 do_softirq kernel/softirq.c:454 [inline] do_softirq+0xaa/0xe0 kernel/softirq.c:441 __local_bh_enable_ip+0xf8/0x120 kernel/softirq.c:381 spin_unlock_bh include/linux/spinlock.h:396 [inline] batadv_nc_purge_paths+0x1ce/0x3c0 net/batman-adv/network-coding.c:471 batadv_nc_worker+0x97a/0x10e0 net/batman-adv/network-coding.c:720 process_one_work+0x884/0x15c0 kernel/workqueue.c:2630 process_scheduled_works kernel/workqueue.c:2703 [inline] worker_thread+0x8b9/0x1290 kernel/workqueue.c:2784 kthread+0x33c/0x440 kernel/kthread.c:388 ret_from_fork+0x45/0x80 arch/x86/kernel/process.c:147 ret_from_fork_asm+0x11/0x20 arch/x86/entry/entry_64.S:304