INFO: task syz-executor.5:16519 blocked for more than 143 seconds. Not tainted 6.6.0-rc2-next-20230919-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.5 state:D stack:25696 pid:16519 ppid:5093 flags:0x00004006 Call Trace: context_switch kernel/sched/core.c:5365 [inline] __schedule+0xee1/0x5a00 kernel/sched/core.c:6677 schedule+0xe7/0x1b0 kernel/sched/core.c:6753 io_schedule+0xbe/0x130 kernel/sched/core.c:8953 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:1732 clean_bdev_bh_alias include/linux/buffer_head.h:222 [inline] __block_write_begin_int+0x8d6/0x14d0 fs/buffer.c:2125 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:1986 [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:51 [inline] do_syscall_64+0x38/0xb0 arch/x86/entry/common.c:81 entry_SYSCALL_64_after_hwframe+0x63/0xcd RIP: 0033:0x7fc27107cae9 RSP: 002b:00007fc271d4f0c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000028 RAX: ffffffffffffffda RBX: 00007fc27119c1f0 RCX: 00007fc27107cae9 RDX: 0000000000000000 RSI: 0000000000000007 RDI: 0000000000000006 RBP: 00007fc2710c847a R08: 0000000000000000 R09: 0000000000000000 R10: 0100000000000042 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000006e R14: 00007fc27119c1f0 R15: 00007ffd709060c8 Showing all locks held in the system: 1 lock held by khungtaskd/29: #0: ffffffff8cbaaca0 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire include/linux/rcupdate.h:303 [inline] #0: ffffffff8cbaaca0 (rcu_read_lock){....}-{1:2}, at: rcu_read_lock include/linux/rcupdate.h:749 [inline] #0: ffffffff8cbaaca0 (rcu_read_lock){....}-{1:2}, at: debug_show_all_locks+0x75/0x340 kernel/locking/lockdep.c:6613 3 locks held by kworker/u4:9/2433: #0: ffff8880b983c718 (&rq->__lock){-.-.}-{2:2}, at: raw_spin_rq_lock_nested+0x29/0x130 kernel/sched/core.c:558 #1: ffffc9000a6b7d80 ((work_completion)(&(&forw_packet_aggr->delayed_work)->work)){+.+.}-{0:0}, at: process_one_work+0x7e9/0x15c0 kernel/workqueue.c:2606 #2: ffff8880b98297d8 (&base->lock){-.-.}-{2:2}, at: lock_timer_base+0x5d/0x200 kernel/time/timer.c:999 2 locks held by getty/4803: #0: ffff8880264230a0 (&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 2 locks held by kworker/1:3/5143: #0: ffff888012c72938 ((wq_completion)rcu_gp){+.+.}-{0:0}, at: process_one_work+0x787/0x15c0 kernel/workqueue.c:2605 #1: ffffc900044afd80 ((work_completion)(&rew->rew_work)){+.+.}-{0:0}, at: process_one_work+0x7e9/0x15c0 kernel/workqueue.c:2606 3 locks held by kworker/u4:8/8449: 3 locks held by syz-executor.0/18435: #0: ffffffff8e5f2650 (pernet_ops_rwsem){++++}-{3:3}, at: copy_net_ns+0x2d5/0x670 net/core/net_namespace.c:487 #1: ffffffff8e607968 (rtnl_mutex){+.+.}-{3:3}, at: ip_tunnel_delete_nets+0x94/0x3a0 net/ipv4/ip_tunnel.c:1139 #2: ffffffff8cbb6538 (rcu_state.exp_mutex){+.+.}-{3:3}, at: exp_funnel_lock kernel/rcu/tree_exp.h:293 [inline] #2: ffffffff8cbb6538 (rcu_state.exp_mutex){+.+.}-{3:3}, at: synchronize_rcu_expedited+0x69e/0x7e0 kernel/rcu/tree_exp.h:992 2 locks held by syz-executor.4/18450: #0: ffffffff8e5f2650 (pernet_ops_rwsem){++++}-{3:3}, at: copy_net_ns+0x2d5/0x670 net/core/net_namespace.c:487 #1: ffffffff8cbb6538 (rcu_state.exp_mutex){+.+.}-{3:3}, at: exp_funnel_lock kernel/rcu/tree_exp.h:325 [inline] #1: ffffffff8cbb6538 (rcu_state.exp_mutex){+.+.}-{3:3}, at: synchronize_rcu_expedited+0x404/0x7e0 kernel/rcu/tree_exp.h:992 2 locks held by syz-executor.4/18458: ============================================= NMI backtrace for cpu 0 CPU: 0 PID: 29 Comm: khungtaskd Not tainted 6.6.0-rc2-next-20230919-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+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: 8449 Comm: kworker/u4:8 Not tainted 6.6.0-rc2-next-20230919-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 08/04/2023 Workqueue: netns cleanup_net RIP: 0010:mark_lock+0xb3/0x1950 kernel/locking/lockdep.c:4655 Code: 24 38 01 00 00 31 c0 41 83 fd 09 0f 87 45 01 00 00 41 83 fd 08 48 89 f3 0f 84 fc 00 00 00 41 bc 01 00 00 00 44 89 e9 41 d3 e4 <4d> 63 e4 4c 8d 7b 20 48 b8 00 00 00 00 00 fc ff df 4c 89 fa 48 c1 RSP: 0018:ffffc900001f0b40 EFLAGS: 00000006 RAX: 0000000000000000 RBX: ffff8880233e8b38 RCX: 0000000000000008 RDX: 0000000000000002 RSI: ffff8880233e8b38 RDI: ffff8880233e8b5a RBP: ffffc900001f0ca8 R08: 0000000000000000 R09: fffffbfff233ffd1 R10: ffffffff919ffe8f R11: ffffc900001f0ff8 R12: 0000000000000100 R13: 0000000000000008 R14: 1ffff9200003e170 R15: 0000000000000002 FS: 0000000000000000(0000) GS:ffff8880b9900000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000001b31022000 CR3: 000000003fa7e000 CR4: 00000000003506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 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 hrtimer_interrupt+0x10e/0x800 kernel/time/hrtimer.c:1795 local_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1063 [inline] __sysvec_apic_timer_interrupt+0x105/0x3f0 arch/x86/kernel/apic/apic.c:1080 sysvec_apic_timer_interrupt+0x8e/0xc0 arch/x86/kernel/apic/apic.c:1074 asm_sysvec_apic_timer_interrupt+0x1a/0x20 arch/x86/include/asm/idtentry.h:645 RIP: 0010:lock_is_held_type+0x104/0x140 kernel/locking/lockdep.c:5829 Code: 00 00 b8 ff ff ff ff 65 0f c1 05 27 31 be 75 83 f8 01 75 29 9c 58 f6 c4 02 75 3d 48 f7 04 24 00 02 00 00 74 01 fb 48 83 c4 08 <44> 89 e8 5b 5d 41 5c 41 5d 41 5e 41 5f c3 45 31 ed eb b9 0f 0b 48 RSP: 0018:ffffc9001644fa38 EFLAGS: 00000282 RAX: 0000000000000046 RBX: ffff8880233e8b10 RCX: 0000000000000001 RDX: 0000000000000000 RSI: ffffffff8a8cab20 RDI: ffffffff8ae961e0 RBP: ffffffff8cbaac40 R08: 0000000000000004 R09: 000000000007ffff R10: 000000000003a0b5 R11: 1ffffffff1976bd1 R12: ffff8880233e8000 R13: 0000000000000000 R14: 00000000ffffffff R15: 0000000000000003 lock_is_held include/linux/lockdep.h:288 [inline] __might_resched+0x478/0x5e0 kernel/sched/core.c:10068 inet_twsk_purge+0x102/0x900 net/ipv4/inet_timewait_sock.c:291 ops_exit_list+0x125/0x170 net/core/net_namespace.c:175 cleanup_net+0x505/0xb20 net/core/net_namespace.c:614 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