INFO: task syz-executor.1:15413 blocked for more than 144 seconds. Not tainted 6.6.0-rc1-syzkaller-00240-gf0b0d403eabb #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.1 state:D stack:26528 pid:15413 ppid:5079 flags:0x00004006 Call Trace: context_switch kernel/sched/core.c:5382 [inline] __schedule+0xee1/0x59f0 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+0x3d2/0x9b0 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:219 [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:0x7f41c9a7cae9 RSP: 002b:00007f41ca78a0c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000028 RAX: ffffffffffffffda RBX: 00007f41c9b9c1f0 RCX: 00007f41c9a7cae9 RDX: 0000000000000000 RSI: 0000000000000009 RDI: 0000000000000008 RBP: 00007f41c9ac847a R08: 0000000000000000 R09: 0000000000000000 R10: 0100000000000042 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000006e R14: 00007f41c9b9c1f0 R15: 00007ffc605d9ca8 Showing all locks held in the system: 2 locks held by kworker/u4:1/12: #0: ffff888012c71938 ((wq_completion)events_unbound){+.+.}-{0:0}, at: process_one_work+0x774/0x15d0 kernel/workqueue.c:2602 #1: ffffc90000117d88 ((work_completion)(&ctx->exit_work)){+.+.}-{0:0}, at: process_one_work+0x7a7/0x15d0 kernel/workqueue.c:2605 1 lock held by khungtaskd/29: #0: ffffffff8cbab1e0 (rcu_read_lock){....}-{1:2}, at: debug_show_all_locks+0x55/0x340 kernel/locking/lockdep.c:6607 3 locks held by kworker/u4:4/76: #0: ffff8880b983c718 (&rq->__lock){-.-.}-{2:2}, at: raw_spin_rq_lock_nested kernel/sched/core.c:566 [inline] #0: ffff8880b983c718 (&rq->__lock){-.-.}-{2:2}, at: raw_spin_rq_lock_nested+0x7e/0x130 kernel/sched/core.c:551 #1: ffff8880b9928888 (&per_cpu_ptr(group->pcpu, cpu)->seq){-.-.}-{0:0}, at: psi_task_switch+0x2d9/0x900 kernel/sched/psi.c:999 #2: ffffffff924205a8 (&obj_hash[i].lock){-.-.}-{2:2}, at: __debug_check_no_obj_freed lib/debugobjects.c:1020 [inline] #2: ffffffff924205a8 (&obj_hash[i].lock){-.-.}-{2:2}, at: debug_check_no_obj_freed+0xe1/0x4c0 lib/debugobjects.c:1063 2 locks held by kworker/u4:5/947: #0: ffff888012c71938 ((wq_completion)events_unbound){+.+.}-{0:0}, at: process_one_work+0x774/0x15d0 kernel/workqueue.c:2602 #1: ffffc90004507d88 ((work_completion)(&ctx->exit_work)){+.+.}-{0:0}, at: process_one_work+0x7a7/0x15d0 kernel/workqueue.c:2605 2 locks held by kworker/u4:6/1025: #0: ffff888012c71938 ((wq_completion)events_unbound){+.+.}-{0:0}, at: process_one_work+0x774/0x15d0 kernel/workqueue.c:2602 #1: ffffc90004727d88 ((work_completion)(&ctx->exit_work)){+.+.}-{0:0}, at: process_one_work+0x7a7/0x15d0 kernel/workqueue.c:2605 2 locks held by getty/4794: #0: ffff8880261d50a0 (&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 1 lock held by syz-executor.3/5069: #0: ffff8880b983c718 (&rq->__lock){-.-.}-{2:2}, at: raw_spin_rq_lock_nested kernel/sched/core.c:566 [inline] #0: ffff8880b983c718 (&rq->__lock){-.-.}-{2:2}, at: raw_spin_rq_lock_nested+0x7e/0x130 kernel/sched/core.c:551 2 locks held by kworker/1:6/5190: #0: ffff888012c72938 ((wq_completion)rcu_gp){+.+.}-{0:0}, at: process_one_work+0x774/0x15d0 kernel/workqueue.c:2602 #1: ffffc90004c67d88 ((work_completion)(&rew->rew_work)){+.+.}-{0:0}, at: process_one_work+0x7a7/0x15d0 kernel/workqueue.c:2605 3 locks held by syz-executor.3/16840: #0: ffffffff8e5d76c8 (vlan_ioctl_mutex){+.+.}-{3:3}, at: sock_ioctl+0x49c/0x6b0 net/socket.c:1284 #1: ffffffff8e6003e8 (rtnl_mutex){+.+.}-{3:3}, at: vlan_ioctl_handler+0xcf/0xa80 net/8021q/vlan.c:553 #2: ffffffff8cbb6ab8 (rcu_state.exp_mutex){+.+.}-{3:3}, at: exp_funnel_lock kernel/rcu/tree_exp.h:293 [inline] #2: ffffffff8cbb6ab8 (rcu_state.exp_mutex){+.+.}-{3:3}, at: synchronize_rcu_expedited+0x69e/0x7e0 kernel/rcu/tree_exp.h:992 2 locks held by syz-executor.5/16841: #0: ffff88803c6c3210 (&sb->s_type->i_mutex_key#10){+.+.}-{3:3}, at: inode_lock include/linux/fs.h:802 [inline] #0: ffff88803c6c3210 (&sb->s_type->i_mutex_key#10){+.+.}-{3:3}, at: __sock_release+0x86/0x260 net/socket.c:658 #1: ffffffff8cbb6ab8 (rcu_state.exp_mutex){+.+.}-{3:3}, at: exp_funnel_lock kernel/rcu/tree_exp.h:325 [inline] #1: ffffffff8cbb6ab8 (rcu_state.exp_mutex){+.+.}-{3:3}, at: synchronize_rcu_expedited+0x404/0x7e0 kernel/rcu/tree_exp.h:992 2 locks held by syz-executor.1/16860: ============================================= NMI backtrace for cpu 1 CPU: 1 PID: 29 Comm: khungtaskd Not tainted 6.6.0-rc1-syzkaller-00240-gf0b0d403eabb #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+0xfac/0x1230 kernel/hung_task.c:379 kthread+0x33a/0x430 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 1 to CPUs 0: NMI backtrace for cpu 0 CPU: 0 PID: 16691 Comm: kworker/u4:10 Not tainted 6.6.0-rc1-syzkaller-00240-gf0b0d403eabb #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 08/04/2023 Workqueue: bat_events batadv_nc_worker RIP: 0010:__lock_acquire+0x33a/0x5de0 kernel/locking/lockdep.c:5072 Code: ff df 48 c1 ea 03 80 3c 02 00 0f 85 5e 3e 00 00 48 ba 00 00 00 00 00 fc ff df 48 8b 0c 24 48 8b 44 24 20 48 8d b1 ac 0a 00 00 <49> 89 45 18 48 89 f1 65 8b 05 40 5e 9a 7e 85 c0 48 89 74 24 40 0f RSP: 0018:ffffc90015ff7960 EFLAGS: 00000046 RAX: 0000000000000000 RBX: 0000000000000020 RCX: ffff8880795f0000 RDX: dffffc0000000000 RSI: ffff8880795f0aac RDI: ffff8880795f0b20 RBP: 0000000000000000 R08: 1ffff1100f2be162 R09: 0000000000000001 R10: ffffffff8cbab1e0 R11: 0000000000000000 R12: 0000000000000000 R13: ffff8880795f0b18 R14: 0000000000000000 R15: 0000000000000002 FS: 0000000000000000(0000) GS:ffff8880b9800000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00000000207ff000 CR3: 000000000c976000 CR4: 0000000000350ef0 Call Trace: lock_acquire kernel/locking/lockdep.c:5753 [inline] lock_acquire+0x1ae/0x510 kernel/locking/lockdep.c:5718 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+0x175/0x10f0 net/batman-adv/network-coding.c:719 process_one_work+0x887/0x15d0 kernel/workqueue.c:2630 process_scheduled_works kernel/workqueue.c:2703 [inline] worker_thread+0x8bb/0x1290 kernel/workqueue.c:2784 kthread+0x33a/0x430 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