INFO: task syz-executor.5:11325 blocked for more than 145 seconds. Not tainted 6.6.0-rc3-syzkaller-00025-g50768a425b46 #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.5 state:D stack:25320 pid:11325 ppid:5079 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/0x1a50 fs/buffer.c:2118 iomap_write_begin+0xaf9/0x1f80 fs/iomap/buffered-io.c:774 iomap_write_iter fs/iomap/buffered-io.c:909 [inline] iomap_file_buffered_write+0x587/0x1020 fs/iomap/buffered-io.c:970 blkdev_buffered_write block/fops.c:634 [inline] blkdev_write_iter+0x3f5/0x5b0 block/fops.c:684 do_iter_write+0x84f/0xde0 fs/read_write.c:860 iter_file_splice_write+0x86d/0x1010 fs/splice.c:736 do_splice_from fs/splice.c:933 [inline] direct_splice_actor+0xea/0x1c0 fs/splice.c:1142 splice_direct_to_actor+0x376/0x9e0 fs/splice.c:1088 do_splice_direct+0x2ac/0x3f0 fs/splice.c:1194 do_sendfile+0x623/0x1070 fs/read_write.c:1254 __do_sys_sendfile64 fs/read_write.c:1322 [inline] __se_sys_sendfile64+0x17c/0x1e0 fs/read_write.c:1308 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:0x7f64a7c7cae9 RSP: 002b:00007f64a89900c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000028 RAX: ffffffffffffffda RBX: 00007f64a7d9c120 RCX: 00007f64a7c7cae9 RDX: 0000000000000000 RSI: 0000000000000007 RDI: 0000000000000006 RBP: 00007f64a7cc847a R08: 0000000000000000 R09: 0000000000000000 R10: 0100000000000042 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000006e R14: 00007f64a7d9c120 R15: 00007ffde7a29fd8 Showing all locks held in the system: 1 lock held by pool_workqueue_/3: #0: ffff8880b993c318 (&rq->__lock){-.-.}-{2:2}, at: raw_spin_rq_lock_nested+0x2a/0x140 kernel/sched/core.c:558 1 lock held by khungtaskd/29: #0: ffffffff8d32c420 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire include/linux/rcupdate.h:303 [inline] #0: ffffffff8d32c420 (rcu_read_lock){....}-{1:2}, at: rcu_read_lock include/linux/rcupdate.h:749 [inline] #0: ffffffff8d32c420 (rcu_read_lock){....}-{1:2}, at: debug_show_all_locks+0x55/0x2a0 kernel/locking/lockdep.c:6613 5 locks held by kworker/u4:4/77: #0: ffff888012873d38 ((wq_completion)netns){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:2605 [inline] #0: ffff888012873d38 ((wq_completion)netns){+.+.}-{0:0}, at: process_scheduled_works+0x825/0x1400 kernel/workqueue.c:2703 #1: ffffc90001597d20 (net_cleanup_work){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:2605 [inline] #1: ffffc90001597d20 (net_cleanup_work){+.+.}-{0:0}, at: process_scheduled_works+0x825/0x1400 kernel/workqueue.c:2703 #2: ffffffff8e4c7710 (pernet_ops_rwsem){++++}-{3:3}, at: cleanup_net+0xf5/0xb80 net/core/net_namespace.c:576 #3: ffffffff8e4d3c48 (rtnl_mutex){+.+.}-{3:3}, at: ip6gre_exit_batch_net+0xc4/0x460 net/ipv6/ip6_gre.c:1640 #4: ffffffff8d331db8 (rcu_state.exp_mutex){+.+.}-{3:3}, at: exp_funnel_lock kernel/rcu/tree_exp.h:325 [inline] #4: ffffffff8d331db8 (rcu_state.exp_mutex){+.+.}-{3:3}, at: synchronize_rcu_expedited+0x46c/0x890 kernel/rcu/tree_exp.h:992 2 locks held by getty/4780: #0: ffff88814b0a10a0 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x25/0x70 drivers/tty/tty_ldisc.c:243 #1: ffffc90002f062f0 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0x6b1/0x1dc0 drivers/tty/n_tty.c:2206 2 locks held by kworker/1:4/5128: #0: ffff888012872938 ((wq_completion)rcu_gp){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:2605 [inline] #0: ffff888012872938 ((wq_completion)rcu_gp){+.+.}-{0:0}, at: process_scheduled_works+0x825/0x1400 kernel/workqueue.c:2703 #1: ffffc90004b4fd20 ((work_completion)(&rew->rew_work)){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:2605 [inline] #1: ffffc90004b4fd20 ((work_completion)(&rew->rew_work)){+.+.}-{0:0}, at: process_scheduled_works+0x825/0x1400 kernel/workqueue.c:2703 1 lock held by udevd/6325: #0: ffff88801ac9c2c0 (mapping.invalidate_lock#2){.+.+}-{3:3}, at: filemap_invalidate_lock_shared include/linux/fs.h:857 [inline] #0: ffff88801ac9c2c0 (mapping.invalidate_lock#2){.+.+}-{3:3}, at: page_cache_ra_unbounded+0xf1/0x7c0 mm/readahead.c:225 2 locks held by syz-executor.0/12184: #0: ffffffff8e4c7710 (pernet_ops_rwsem){++++}-{3:3}, at: copy_net_ns+0x4c7/0x7a0 net/core/net_namespace.c:487 #1: ffffffff8e4d3c48 (rtnl_mutex){+.+.}-{3:3}, at: ip_tunnel_init_net+0x213/0x710 net/ipv4/ip_tunnel.c:1090 2 locks held by syz-executor.5/12195: #0: ffffffff8e4b98c8 (vlan_ioctl_mutex){+.+.}-{3:3}, at: sock_ioctl+0x64b/0x8c0 net/socket.c:1284 #1: ffffffff8e4d3c48 (rtnl_mutex){+.+.}-{3:3}, at: vlan_ioctl_handler+0x112/0x9e0 net/8021q/vlan.c:553 1 lock held by syz-executor.2/12199: #0: ffffffff8e4b98c8 (vlan_ioctl_mutex){+.+.}-{3:3}, at: sock_ioctl+0x64b/0x8c0 net/socket.c:1284 2 locks held by syz-executor.1/12206: #0: ffff888086876e10 (&sb->s_type->i_mutex_key#9){+.+.}-{3:3}, at: inode_lock include/linux/fs.h:802 [inline] #0: ffff888086876e10 (&sb->s_type->i_mutex_key#9){+.+.}-{3:3}, at: __sock_release net/socket.c:658 [inline] #0: ffff888086876e10 (&sb->s_type->i_mutex_key#9){+.+.}-{3:3}, at: sock_close+0x90/0x230 net/socket.c:1402 #1: ffff888086046130 (sk_lock-AF_PPPOX){+.+.}-{0:0}, at: lock_sock include/net/sock.h:1722 [inline] #1: ffff888086046130 (sk_lock-AF_PPPOX){+.+.}-{0:0}, at: pptp_release+0x52/0x2f0 drivers/net/ppp/pptp.c:508 ============================================= NMI backtrace for cpu 0 CPU: 0 PID: 29 Comm: khungtaskd Not tainted 6.6.0-rc3-syzkaller-00025-g50768a425b46 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/06/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 0 to CPUs 1: NMI backtrace for cpu 1 CPU: 1 PID: 11 Comm: kworker/u4:0 Not tainted 6.6.0-rc3-syzkaller-00025-g50768a425b46 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/06/2023 Workqueue: bat_events batadv_nc_worker RIP: 0010:kasan_check_range+0xb/0x290 mm/kasan/generic.c:186 Code: 1b a5 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 f8 0f 82 52 RSP: 0018:ffffc900001076f8 EFLAGS: 00000046 RAX: 0000000000000000 RBX: 0000000000000020 RCX: ffffffff816d0807 RDX: 0000000000000000 RSI: 0000000000000008 RDI: ffffffff906fb380 RBP: ffffc900001079e8 R08: dffffc0000000000 R09: 1ffffffff20df68b R10: dffffc0000000000 R11: fffffbfff20df68c R12: 000000004ccbc0fc R13: ffff88801667c640 R14: 00000000154afa1d R15: ffff88801667c6b8 FS: 0000000000000000(0000) GS:ffff8880b9900000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000000c012880000 CR3: 000000007b412000 CR4: 00000000003506e0 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] hlock_class kernel/locking/lockdep.c:228 [inline] __lock_acquire+0x1267/0x7f70 kernel/locking/lockdep.c:5133 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