INFO: task syz.1.459:9685 blocked for more than 143 seconds. Not tainted 6.11.0-rc5-syzkaller-00015-g3e9bff3bbe13 #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz.1.459 state:D stack:27360 pid:9685 tgid:9672 ppid:8854 flags:0x00000004 Call Trace: context_switch kernel/sched/core.c:5188 [inline] __schedule+0x17ae/0x4a10 kernel/sched/core.c:6529 __schedule_loop kernel/sched/core.c:6606 [inline] schedule+0x14b/0x320 kernel/sched/core.c:6621 schedule_preempt_disabled+0x13/0x30 kernel/sched/core.c:6678 rwsem_down_write_slowpath+0xeeb/0x13b0 kernel/locking/rwsem.c:1178 __down_write_common kernel/locking/rwsem.c:1306 [inline] __down_write kernel/locking/rwsem.c:1315 [inline] down_write+0x1d7/0x220 kernel/locking/rwsem.c:1580 inode_lock include/linux/fs.h:799 [inline] finish_preallocate_blocks fs/f2fs/file.c:561 [inline] f2fs_file_open+0x11b/0x3a0 fs/f2fs/file.c:614 do_dentry_open+0x970/0x1440 fs/open.c:959 vfs_open+0x3e/0x330 fs/open.c:1089 do_open fs/namei.c:3727 [inline] path_openat+0x2b3e/0x3470 fs/namei.c:3886 do_filp_open+0x235/0x490 fs/namei.c:3913 do_sys_openat2+0x13e/0x1d0 fs/open.c:1416 do_sys_open fs/open.c:1431 [inline] __do_sys_openat fs/open.c:1447 [inline] __se_sys_openat fs/open.c:1442 [inline] __x64_sys_openat+0x247/0x2a0 fs/open.c:1442 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0xf3/0x230 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7fb30d979e79 RSP: 002b:00007fb30e786038 EFLAGS: 00000246 ORIG_RAX: 0000000000000101 RAX: ffffffffffffffda RBX: 00007fb30db16130 RCX: 00007fb30d979e79 RDX: 0000000000020242 RSI: 0000000020000380 RDI: ffffffffffffff9c RBP: 00007fb30d9e793e R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000001 R14: 00007fb30db16130 R15: 00007ffff1bead48 Showing all locks held in the system: 1 lock held by khungtaskd/30: #0: ffffffff8e738320 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire include/linux/rcupdate.h:326 [inline] #0: ffffffff8e738320 (rcu_read_lock){....}-{1:2}, at: rcu_read_lock include/linux/rcupdate.h:838 [inline] #0: ffffffff8e738320 (rcu_read_lock){....}-{1:2}, at: debug_show_all_locks+0x55/0x2a0 kernel/locking/lockdep.c:6626 5 locks held by kworker/u8:3/52: #0: ffff8880162e3148 ((wq_completion)netns){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3206 [inline] #0: ffff8880162e3148 ((wq_completion)netns){+.+.}-{0:0}, at: process_scheduled_works+0x90a/0x1830 kernel/workqueue.c:3312 #1: ffffc90000bc7d00 (net_cleanup_work){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3207 [inline] #1: ffffc90000bc7d00 (net_cleanup_work){+.+.}-{0:0}, at: process_scheduled_works+0x945/0x1830 kernel/workqueue.c:3312 #2: ffffffff8fa65a50 (pernet_ops_rwsem){++++}-{3:3}, at: cleanup_net+0x16a/0xcc0 net/core/net_namespace.c:594 #3: ffffffff8fa72608 (rtnl_mutex){+.+.}-{3:3}, at: default_device_exit_batch+0xe9/0xa90 net/core/dev.c:11883 #4: ffffffff8e73d6f8 (rcu_state.exp_mutex){+.+.}-{3:3}, at: exp_funnel_lock kernel/rcu/tree_exp.h:328 [inline] #4: ffffffff8e73d6f8 (rcu_state.exp_mutex){+.+.}-{3:3}, at: synchronize_rcu_expedited+0x451/0x830 kernel/rcu/tree_exp.h:958 4 locks held by kworker/u8:7/2925: #0: ffff8880196db948 ((wq_completion)writeback){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3206 [inline] #0: ffff8880196db948 ((wq_completion)writeback){+.+.}-{0:0}, at: process_scheduled_works+0x90a/0x1830 kernel/workqueue.c:3312 #1: ffffc90009c47d00 ((work_completion)(&(&wb->dwork)->work)){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3207 [inline] #1: ffffc90009c47d00 ((work_completion)(&(&wb->dwork)->work)){+.+.}-{0:0}, at: process_scheduled_works+0x945/0x1830 kernel/workqueue.c:3312 #2: ffff88806b3d60e0 (&type->s_umount_key#75){++++}-{3:3}, at: super_trylock_shared+0x22/0xf0 fs/super.c:562 #3: ffff88806cabd2a0 (&sbi->gc_lock){+.+.}-{3:3}, at: f2fs_down_write fs/f2fs/f2fs.h:2175 [inline] #3: ffff88806cabd2a0 (&sbi->gc_lock){+.+.}-{3:3}, at: f2fs_balance_fs+0x5b0/0x7a0 fs/f2fs/segment.c:440 3 locks held by kworker/u8:8/2935: #0: ffff888015489148 ((wq_completion)events_unbound){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3206 [inline] #0: ffff888015489148 ((wq_completion)events_unbound){+.+.}-{0:0}, at: process_scheduled_works+0x90a/0x1830 kernel/workqueue.c:3312 #1: ffffc90009d17d00 ((linkwatch_work).work){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3207 [inline] #1: ffffc90009d17d00 ((linkwatch_work).work){+.+.}-{0:0}, at: process_scheduled_works+0x945/0x1830 kernel/workqueue.c:3312 #2: ffffffff8fa72608 (rtnl_mutex){+.+.}-{3:3}, at: linkwatch_event+0xe/0x60 net/core/link_watch.c:276 1 lock held by dhcpcd/4882: #0: ffffffff8fa72608 (rtnl_mutex){+.+.}-{3:3}, at: devinet_ioctl+0x2ce/0x1bc0 net/ipv4/devinet.c:1101 2 locks held by getty/4975: #0: ffff88802b3c30a0 (&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+0x6ac/0x1e00 drivers/tty/n_tty.c:2211 6 locks held by syz.1.459/9673: 2 locks held by syz.1.459/9685: #0: ffff88806b3d6420 (sb_writers#20){.+.+}-{0:0}, at: mnt_want_write+0x3f/0x90 fs/namespace.c:515 #1: ffff888079a8bec0 (&sb->s_type->i_mutex_key#26){++++}-{3:3}, at: inode_lock include/linux/fs.h:799 [inline] #1: ffff888079a8bec0 (&sb->s_type->i_mutex_key#26){++++}-{3:3}, at: finish_preallocate_blocks fs/f2fs/file.c:561 [inline] #1: ffff888079a8bec0 (&sb->s_type->i_mutex_key#26){++++}-{3:3}, at: f2fs_file_open+0x11b/0x3a0 fs/f2fs/file.c:614 2 locks held by syz.2.548/10675: #0: ffff88806b3d60e0 (&type->s_umount_key#75){++++}-{3:3}, at: __super_lock fs/super.c:58 [inline] #0: ffff88806b3d60e0 (&type->s_umount_key#75){++++}-{3:3}, at: super_lock+0x27c/0x400 fs/super.c:120 #1: ffff8880206527d0 (&bdi->wb_switch_rwsem){+.+.}-{3:3}, at: bdi_down_write_wb_switch_rwsem fs/fs-writeback.c:388 [inline] #1: ffff8880206527d0 (&bdi->wb_switch_rwsem){+.+.}-{3:3}, at: sync_inodes_sb+0x274/0xb20 fs/fs-writeback.c:2790 1 lock held by syz-executor/10715: #0: ffffffff8e73d6f8 (rcu_state.exp_mutex){+.+.}-{3:3}, at: exp_funnel_lock kernel/rcu/tree_exp.h:296 [inline] #0: ffffffff8e73d6f8 (rcu_state.exp_mutex){+.+.}-{3:3}, at: synchronize_rcu_expedited+0x381/0x830 kernel/rcu/tree_exp.h:958 2 locks held by syz.1.600/11053: #0: ffff88806b3d60e0 (&type->s_umount_key#75){++++}-{3:3}, at: __super_lock fs/super.c:58 [inline] #0: ffff88806b3d60e0 (&type->s_umount_key#75){++++}-{3:3}, at: super_lock+0x27c/0x400 fs/super.c:120 #1: ffff8880206527d0 (&bdi->wb_switch_rwsem){+.+.}-{3:3}, at: bdi_down_write_wb_switch_rwsem fs/fs-writeback.c:388 [inline] #1: ffff8880206527d0 (&bdi->wb_switch_rwsem){+.+.}-{3:3}, at: sync_inodes_sb+0x274/0xb20 fs/fs-writeback.c:2790 2 locks held by syz.2.601/11063: #0: ffff88806b3d60e0 (&type->s_umount_key#75){++++}-{3:3}, at: __super_lock fs/super.c:58 [inline] #0: ffff88806b3d60e0 (&type->s_umount_key#75){++++}-{3:3}, at: super_lock+0x27c/0x400 fs/super.c:120 #1: ffff8880206527d0 (&bdi->wb_switch_rwsem){+.+.}-{3:3}, at: bdi_down_write_wb_switch_rwsem fs/fs-writeback.c:388 [inline] #1: ffff8880206527d0 (&bdi->wb_switch_rwsem){+.+.}-{3:3}, at: sync_inodes_sb+0x274/0xb20 fs/fs-writeback.c:2790 2 locks held by syz.1.629/11398: #0: ffff88806b3d60e0 (&type->s_umount_key#75){++++}-{3:3}, at: __super_lock fs/super.c:58 [inline] #0: ffff88806b3d60e0 (&type->s_umount_key#75){++++}-{3:3}, at: super_lock+0x27c/0x400 fs/super.c:120 #1: ffff8880206527d0 (&bdi->wb_switch_rwsem){+.+.}-{3:3}, at: bdi_down_write_wb_switch_rwsem fs/fs-writeback.c:388 [inline] #1: ffff8880206527d0 (&bdi->wb_switch_rwsem){+.+.}-{3:3}, at: sync_inodes_sb+0x274/0xb20 fs/fs-writeback.c:2790 2 locks held by syz-executor/11496: #0: ffffffff8fa65a50 (pernet_ops_rwsem){++++}-{3:3}, at: copy_net_ns+0x4c6/0x7b0 net/core/net_namespace.c:504 #1: ffffffff8fa72608 (rtnl_mutex){+.+.}-{3:3}, at: register_netdev+0x13/0x50 net/core/dev.c:10579 2 locks held by syz-executor/11550: #0: ffffffff8fa65a50 (pernet_ops_rwsem){++++}-{3:3}, at: copy_net_ns+0x4c6/0x7b0 net/core/net_namespace.c:504 #1: ffffffff8fa72608 (rtnl_mutex){+.+.}-{3:3}, at: ip_tunnel_init_net+0x20e/0x710 net/ipv4/ip_tunnel.c:1158 ============================================= NMI backtrace for cpu 0 CPU: 0 UID: 0 PID: 30 Comm: khungtaskd Not tainted 6.11.0-rc5-syzkaller-00015-g3e9bff3bbe13 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 08/06/2024 Call Trace: __dump_stack lib/dump_stack.c:93 [inline] dump_stack_lvl+0x241/0x360 lib/dump_stack.c:119 nmi_cpu_backtrace+0x49c/0x4d0 lib/nmi_backtrace.c:113 nmi_trigger_cpumask_backtrace+0x198/0x320 lib/nmi_backtrace.c:62 trigger_all_cpu_backtrace include/linux/nmi.h:162 [inline] check_hung_uninterruptible_tasks kernel/hung_task.c:223 [inline] watchdog+0xff4/0x1040 kernel/hung_task.c:379 kthread+0x2f0/0x390 kernel/kthread.c:389 ret_from_fork+0x4b/0x80 arch/x86/kernel/process.c:147 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:244 Sending NMI from CPU 0 to CPUs 1: NMI backtrace for cpu 1 CPU: 1 UID: 0 PID: 5233 Comm: kworker/u9:10 Not tainted 6.11.0-rc5-syzkaller-00015-g3e9bff3bbe13 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 08/06/2024 Workqueue: hci9 hci_cmd_timeout RIP: 0010:accumulate_sum kernel/sched/pelt.c:143 [inline] RIP: 0010:___update_load_sum kernel/sched/pelt.c:226 [inline] RIP: 0010:__update_load_avg_cfs_rq+0x4b8/0xb80 kernel/sched/pelt.c:322 Code: ff 48 8b 7c 24 08 0f 85 6a ff ff ff 48 8b 44 24 20 0f b6 04 30 84 c0 41 be 00 00 00 00 0f 85 ad 05 00 00 89 17 48 8b 6c 24 38 <48> 85 ed 74 3e 44 89 e8 48 0f af e8 48 c1 e5 0a 49 8d 9c 24 90 00 RSP: 0018:ffffc90000a18980 EFLAGS: 00000016 RAX: 1ffff11017267d59 RBX: ffff8880b933eac8 RCX: 0000000000015ab9 RDX: 00000000000001c5 RSI: dffffc0000000000 RDI: ffff8880b933eadc RBP: 0000000000000001 R08: 00000000000009c5 R09: 0000000000000002 R10: 000000000cc5037d R11: fffffbfff1fed986 R12: ffff8880b933ea40 R13: 00000000000007f7 R14: 0000000000000000 R15: 0000000000015ab9 FS: 0000000000000000(0000) GS:ffff8880b9300000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f0943c3f000 CR3: 000000002e8ac000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: update_cfs_rq_load_avg kernel/sched/fair.c:4633 [inline] update_load_avg+0x593/0x1a00 kernel/sched/fair.c:4746 enqueue_entity+0x73/0x1930 kernel/sched/fair.c:5304 enqueue_task_fair+0x173/0x920 kernel/sched/fair.c:6774 enqueue_task+0x1a5/0x300 kernel/sched/core.c:1979 activate_task kernel/sched/core.c:2009 [inline] ttwu_do_activate+0x1d1/0x7e0 kernel/sched/core.c:3582 ttwu_queue kernel/sched/core.c:3846 [inline] try_to_wake_up+0x884/0x1470 kernel/sched/core.c:4167 hrtimer_wakeup+0x62/0x80 kernel/time/hrtimer.c:1925 __run_hrtimer kernel/time/hrtimer.c:1689 [inline] __hrtimer_run_queues+0x59b/0xd50 kernel/time/hrtimer.c:1753 hrtimer_interrupt+0x396/0x990 kernel/time/hrtimer.c:1815 local_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1032 [inline] __sysvec_apic_timer_interrupt+0x110/0x3f0 arch/x86/kernel/apic/apic.c:1049 instr_sysvec_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1043 [inline] sysvec_apic_timer_interrupt+0xa1/0xc0 arch/x86/kernel/apic/apic.c:1043 asm_sysvec_apic_timer_interrupt+0x1a/0x20 arch/x86/include/asm/idtentry.h:702 RIP: 0010:console_trylock_spinning kernel/printk/printk.c:2010 [inline] RIP: 0010:vprintk_emit+0x5ac/0x7c0 kernel/printk/printk.c:2347 Code: 08 20 00 4c 21 e3 0f 85 3a 01 00 00 e8 fd 03 20 00 4d 89 ec 4d 85 ff 75 07 e8 f0 03 20 00 eb 06 e8 e9 03 20 00 fb 44 8b 3c 24 <48> c7 c7 20 3d 61 8e 31 f6 ba 01 00 00 00 31 c9 41 b8 01 00 00 00 RSP: 0018:ffffc900020bf860 EFLAGS: 00000293 RAX: ffffffff817387b7 RBX: 0000000000000000 RCX: ffff8880299f9e00 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000 RBP: ffffc900020bf950 R08: ffffffff81738795 R09: 1ffffffff269eb24 R10: dffffc0000000000 R11: fffffbfff269eb25 R12: dffffc0000000000 R13: dffffc0000000000 R14: ffffffff81738615 R15: 0000000000000023 _printk+0xd5/0x120 kernel/printk/printk.c:2373 bt_err+0x127/0x180 net/bluetooth/lib.c:296 hci_cmd_timeout+0x104/0x1e0 net/bluetooth/hci_core.c:1457 process_one_work kernel/workqueue.c:3231 [inline] process_scheduled_works+0xa2c/0x1830 kernel/workqueue.c:3312 worker_thread+0x86d/0xd10 kernel/workqueue.c:3389 kthread+0x2f0/0x390 kernel/kthread.c:389 ret_from_fork+0x4b/0x80 arch/x86/kernel/process.c:147 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:244