INFO: task syz-executor.5:1922 blocked for more than 143 seconds. Not tainted 6.10.0-rc4-syzkaller-00301-g5f583a3162ff #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.5 state:D stack:23840 pid:1922 tgid:1881 ppid:29821 flags:0x00000006 Call Trace: context_switch kernel/sched/core.c:5408 [inline] __schedule+0x17e8/0x4a20 kernel/sched/core.c:6745 __schedule_loop kernel/sched/core.c:6822 [inline] schedule+0x14b/0x320 kernel/sched/core.c:6837 schedule_preempt_disabled+0x13/0x30 kernel/sched/core.c:6894 rwsem_down_write_slowpath+0xeeb/0x13b0 kernel/locking/rwsem.c:1178 __down_write_common+0x1af/0x200 kernel/locking/rwsem.c:1306 inode_lock include/linux/fs.h:791 [inline] f2fs_ioc_set_pin_file fs/f2fs/file.c:3257 [inline] __f2fs_ioctl+0x4440/0xbe30 fs/f2fs/file.c:4365 vfs_ioctl fs/ioctl.c:51 [inline] __do_sys_ioctl fs/ioctl.c:907 [inline] __se_sys_ioctl+0xfe/0x170 fs/ioctl.c:893 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:0x7fa01c27d0a9 RSP: 002b:00007fa01d01f0c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 RAX: ffffffffffffffda RBX: 00007fa01c3b4050 RCX: 00007fa01c27d0a9 RDX: 0000000020000180 RSI: 000000004004f50d RDI: 0000000000000005 RBP: 00007fa01c2ec074 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000000b R14: 00007fa01c3b4050 R15: 00007ffcbfb92c98 Showing all locks held in the system: 1 lock held by khungtaskd/30: #0: ffffffff8e333fa0 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire include/linux/rcupdate.h:329 [inline] #0: ffffffff8e333fa0 (rcu_read_lock){....}-{1:2}, at: rcu_read_lock include/linux/rcupdate.h:781 [inline] #0: ffffffff8e333fa0 (rcu_read_lock){....}-{1:2}, at: debug_show_all_locks+0x55/0x2a0 kernel/locking/lockdep.c:6614 2 locks held by getty/4851: #0: ffff88802a6ba0a0 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x25/0x70 drivers/tty/tty_ldisc.c:243 #1: ffffc9000312b2f0 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0x6b5/0x1e10 drivers/tty/n_tty.c:2211 2 locks held by syz-fuzzer/5097: 4 locks held by kworker/u8:13/9304: #0: ffff888017afc948 ((wq_completion)writeback){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3206 [inline] #0: ffff888017afc948 ((wq_completion)writeback){+.+.}-{0:0}, at: process_scheduled_works+0x90a/0x1830 kernel/workqueue.c:3312 #1: ffffc90002d77d00 ((work_completion)(&(&wb->dwork)->work)){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3207 [inline] #1: ffffc90002d77d00 ((work_completion)(&(&wb->dwork)->work)){+.+.}-{0:0}, at: process_scheduled_works+0x945/0x1830 kernel/workqueue.c:3312 #2: ffff88807e9ee0e0 (&type->s_umount_key#55){++++}-{3:3}, at: super_trylock_shared+0x22/0xf0 fs/super.c:562 #3: ffff888052d412a0 (&sbi->gc_lock){+.+.}-{3:3}, at: f2fs_down_write fs/f2fs/f2fs.h:2170 [inline] #3: ffff888052d412a0 (&sbi->gc_lock){+.+.}-{3:3}, at: f2fs_balance_fs+0x5b0/0x7a0 fs/f2fs/segment.c:440 3 locks held by kworker/1:6/22644: 2 locks held by kworker/u8:1/23174: 5 locks held by syz-executor.5/1883: 2 locks held by syz-executor.5/1922: #0: ffff88807e9ee420 (sb_writers#13){.+.+}-{0:0}, at: mnt_want_write_file+0x61/0x200 fs/namespace.c:453 #1: ffff888068e947d0 (&sb->s_type->i_mutex_key#22){+.+.}-{3:3}, at: inode_lock include/linux/fs.h:791 [inline] #1: ffff888068e947d0 (&sb->s_type->i_mutex_key#22){+.+.}-{3:3}, at: f2fs_ioc_set_pin_file fs/f2fs/file.c:3257 [inline] #1: ffff888068e947d0 (&sb->s_type->i_mutex_key#22){+.+.}-{3:3}, at: __f2fs_ioctl+0x4440/0xbe30 fs/f2fs/file.c:4365 3 locks held by kworker/1:0/3039: #0: ffff888015078948 ((wq_completion)events){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3206 [inline] #0: ffff888015078948 ((wq_completion)events){+.+.}-{0:0}, at: process_scheduled_works+0x90a/0x1830 kernel/workqueue.c:3312 #1: ffffc900098afd00 (free_ipc_work){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3207 [inline] #1: ffffc900098afd00 (free_ipc_work){+.+.}-{0:0}, at: process_scheduled_works+0x945/0x1830 kernel/workqueue.c:3312 #2: ffffffff8e339378 (rcu_state.exp_mutex){+.+.}-{3:3}, at: exp_funnel_lock kernel/rcu/tree_exp.h:323 [inline] #2: ffffffff8e339378 (rcu_state.exp_mutex){+.+.}-{3:3}, at: synchronize_rcu_expedited+0x451/0x830 kernel/rcu/tree_exp.h:939 3 locks held by syz-executor.4/3275: #0: ffff888067424d88 (&hdev->req_lock){+.+.}-{3:3}, at: hci_dev_do_close net/bluetooth/hci_core.c:554 [inline] #0: ffff888067424d88 (&hdev->req_lock){+.+.}-{3:3}, at: hci_unregister_dev+0x1d3/0x4e0 net/bluetooth/hci_core.c:2760 #1: ffff888067424078 (&hdev->lock){+.+.}-{3:3}, at: hci_dev_close_sync+0x494/0xf60 net/bluetooth/hci_sync.c:5050 #2: ffffffff8f751588 (hci_cb_list_lock){+.+.}-{3:3}, at: hci_disconn_cfm include/net/bluetooth/hci_core.h:1982 [inline] #2: ffffffff8f751588 (hci_cb_list_lock){+.+.}-{3:3}, at: hci_conn_hash_flush+0xa6/0x240 net/bluetooth/hci_conn.c:2584 3 locks held by syz-executor.1/3289: #0: ffff88805709cd88 (&hdev->req_lock){+.+.}-{3:3}, at: hci_dev_do_close net/bluetooth/hci_core.c:554 [inline] #0: ffff88805709cd88 (&hdev->req_lock){+.+.}-{3:3}, at: hci_unregister_dev+0x1d3/0x4e0 net/bluetooth/hci_core.c:2760 #1: ffff88805709c078 (&hdev->lock){+.+.}-{3:3}, at: hci_dev_close_sync+0x494/0xf60 net/bluetooth/hci_sync.c:5050 #2: ffffffff8f751588 (hci_cb_list_lock){+.+.}-{3:3}, at: hci_disconn_cfm include/net/bluetooth/hci_core.h:1982 [inline] #2: ffffffff8f751588 (hci_cb_list_lock){+.+.}-{3:3}, at: hci_conn_hash_flush+0xa6/0x240 net/bluetooth/hci_conn.c:2584 3 locks held by syz-executor.2/3311: #0: ffff88805ff44d88 (&hdev->req_lock){+.+.}-{3:3}, at: hci_dev_do_close net/bluetooth/hci_core.c:554 [inline] #0: ffff88805ff44d88 (&hdev->req_lock){+.+.}-{3:3}, at: hci_unregister_dev+0x1d3/0x4e0 net/bluetooth/hci_core.c:2760 #1: ffff88805ff44078 (&hdev->lock){+.+.}-{3:3}, at: hci_dev_close_sync+0x494/0xf60 net/bluetooth/hci_sync.c:5050 #2: ffffffff8f751588 (hci_cb_list_lock){+.+.}-{3:3}, at: hci_disconn_cfm include/net/bluetooth/hci_core.h:1982 [inline] #2: ffffffff8f751588 (hci_cb_list_lock){+.+.}-{3:3}, at: hci_conn_hash_flush+0xa6/0x240 net/bluetooth/hci_conn.c:2584 3 locks held by syz-executor.3/3313: #0: ffff888052d44d88 (&hdev->req_lock){+.+.}-{3:3}, at: hci_dev_do_close net/bluetooth/hci_core.c:554 [inline] #0: ffff888052d44d88 (&hdev->req_lock){+.+.}-{3:3}, at: hci_unregister_dev+0x1d3/0x4e0 net/bluetooth/hci_core.c:2760 #1: ffff888052d44078 (&hdev->lock){+.+.}-{3:3}, at: hci_dev_close_sync+0x494/0xf60 net/bluetooth/hci_sync.c:5050 #2: ffffffff8f751588 (hci_cb_list_lock){+.+.}-{3:3}, at: hci_disconn_cfm include/net/bluetooth/hci_core.h:1982 [inline] #2: ffffffff8f751588 (hci_cb_list_lock){+.+.}-{3:3}, at: hci_conn_hash_flush+0xa6/0x240 net/bluetooth/hci_conn.c:2584 ============================================= NMI backtrace for cpu 1 CPU: 1 PID: 30 Comm: khungtaskd Not tainted 6.10.0-rc4-syzkaller-00301-g5f583a3162ff #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 06/07/2024 Call Trace: __dump_stack lib/dump_stack.c:88 [inline] dump_stack_lvl+0x241/0x360 lib/dump_stack.c:114 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+0xfde/0x1020 kernel/hung_task.c:379 kthread+0x2f2/0x390 kernel/kthread.c:389 ret_from_fork+0x4d/0x80 arch/x86/kernel/process.c:147 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:244 Sending NMI from CPU 1 to CPUs 0: NMI backtrace for cpu 0 CPU: 0 PID: 1883 Comm: syz-executor.5 Not tainted 6.10.0-rc4-syzkaller-00301-g5f583a3162ff #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 06/07/2024 RIP: 0010:check_kcov_mode kernel/kcov.c:173 [inline] RIP: 0010:write_comp_data kernel/kcov.c:236 [inline] RIP: 0010:__sanitizer_cov_trace_switch+0xba/0x120 kernel/kcov.c:341 Code: 48 ff c2 49 39 d2 74 71 4c 8b 74 d6 10 65 8b 05 14 a9 6d 7e a9 00 01 ff 00 74 11 a9 00 01 00 00 74 de 41 83 bb 1c 16 00 00 00 <74> d4 41 8b 83 f8 15 00 00 83 f8 03 75 c8 49 8b 8b 00 16 00 00 45 RSP: 0018:ffffc90000006a90 EFLAGS: 00000246 RAX: 0000000000000302 RBX: ffff88802dfd6628 RCX: ffff888063ec8000 RDX: 0000000000000000 RSI: ffffffff8f653e80 RDI: 0000000000000001 RBP: 0000000000000001 R08: 0000000000000001 R09: ffffffff899d3827 R10: 0000000000000004 R11: ffff888063ec8000 R12: ffffc90000006b60 R13: 0000000000000002 R14: 0000000000000000 R15: 1ffff11005bfacc0 FS: 00007fa01d0406c0(0000) GS:ffff8880b9400000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000021000000 CR3: 00000000292d6000 CR4: 0000000000350ef0 Call Trace: nf_hook_slow+0xd7/0x220 net/netfilter/core.c:627 nf_hook+0x2c4/0x450 include/linux/netfilter.h:269 __ip_local_out+0x3d9/0x4e0 net/ipv4/ip_output.c:118 ip_local_out+0x26/0x70 net/ipv4/ip_output.c:127 iptunnel_xmit+0x540/0x9b0 net/ipv4/ip_tunnel_core.c:82 ip_tunnel_xmit+0x2113/0x2940 net/ipv4/ip_tunnel.c:857 sit_tunnel_xmit__ net/ipv6/sit.c:1058 [inline] sit_tunnel_xmit+0x663/0x25b0 net/ipv6/sit.c:1074 __netdev_start_xmit include/linux/netdevice.h:4882 [inline] netdev_start_xmit include/linux/netdevice.h:4896 [inline] xmit_one net/core/dev.c:3578 [inline] dev_hard_start_xmit+0x27c/0x7e0 net/core/dev.c:3594 __dev_queue_xmit+0x1b0e/0x3d30 net/core/dev.c:4393 neigh_output include/net/neighbour.h:542 [inline] ip_finish_output2+0xe72/0x1380 net/ipv4/ip_output.c:235 ip_local_out net/ipv4/ip_output.c:129 [inline] __ip_queue_xmit+0x118c/0x1b70 net/ipv4/ip_output.c:535 __tcp_transmit_skb+0x2557/0x3b80 net/ipv4/tcp_output.c:1466 tcp_transmit_skb net/ipv4/tcp_output.c:1484 [inline] __tcp_retransmit_skb+0x9b3/0x1500 net/ipv4/tcp_output.c:3424 tcp_retransmit_skb+0x33/0x3e0 net/ipv4/tcp_output.c:3448 tcp_retransmit_timer+0x1b2a/0x3370 net/ipv4/tcp_timer.c:610 tcp_write_timer+0x132/0x290 net/ipv4/tcp_timer.c:716 call_timer_fn+0x190/0x650 kernel/time/timer.c:1792 expire_timers kernel/time/timer.c:1843 [inline] __run_timers kernel/time/timer.c:2417 [inline] __run_timer_base+0x66a/0x8e0 kernel/time/timer.c:2428 run_timer_base kernel/time/timer.c:2437 [inline] run_timer_softirq+0xb7/0x170 kernel/time/timer.c:2447 handle_softirqs+0x2c6/0x970 kernel/softirq.c:554 __do_softirq kernel/softirq.c:588 [inline] invoke_softirq kernel/softirq.c:428 [inline] __irq_exit_rcu+0xf4/0x1c0 kernel/softirq.c:637 irq_exit_rcu+0x9/0x30 kernel/softirq.c:649 instr_sysvec_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1043 [inline] sysvec_apic_timer_interrupt+0xa6/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_flush_all+0xaad/0xfd0 kernel/printk/printk.c:3000 Code: ff ff e8 a6 ce 1f 00 90 0f 0b 90 e9 d8 f8 ff ff e8 98 ce 1f 00 e8 b3 7f 0f 0a 4d 85 f6 74 b6 e8 89 ce 1f 00 fb 48 8b 44 24 70 <42> 0f b6 04 38 84 c0 48 8b 7c 24 30 0f 85 22 02 00 00 0f b6 1f 31 RSP: 0018:ffffc90004fae6a0 EFLAGS: 00000293 RAX: 1ffff920009f5d20 RBX: 0000000000000000 RCX: ffff888063ec8000 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000 RBP: ffffc90004fae850 R08: ffffffff817656a4 R09: 1ffffffff25f4eb0 R10: dffffc0000000000 R11: fffffbfff25f4eb1 R12: ffffffff8eb220b8 R13: ffffffff8eb22060 R14: 0000000000000200 R15: dffffc0000000000 console_unlock+0x13b/0x4d0 kernel/printk/printk.c:3063 vprintk_emit+0x5a6/0x770 kernel/printk/printk.c:2345 _printk+0xd5/0x120 kernel/printk/printk.c:2370 bio_check_eod block/blk-core.c:555 [inline] submit_bio_noacct+0x1264/0x1cc0 block/blk-core.c:770 f2fs_submit_page_read+0x163/0x190 fs/f2fs/data.c:1112 f2fs_get_read_data_page+0x49f/0x750 fs/f2fs/data.c:1271 f2fs_get_lock_data_page+0x52/0xe0 fs/f2fs/data.c:1319 move_data_page fs/f2fs/gc.c:1423 [inline] gc_data_segment fs/f2fs/gc.c:1637 [inline] do_garbage_collect+0x3939/0x7c80 fs/f2fs/gc.c:1762 f2fs_gc+0xf04/0x2fa0 fs/f2fs/gc.c:1865 f2fs_balance_fs+0x5f8/0x7a0 fs/f2fs/segment.c:442 f2fs_map_blocks+0x3f01/0x4970 fs/f2fs/data.c:1779 f2fs_expand_inode_data+0x622/0xbb0 fs/f2fs/file.c:1765 f2fs_fallocate+0x448/0x950 fs/f2fs/file.c:1862 vfs_fallocate+0x566/0x6c0 fs/open.c:330 ksys_fallocate fs/open.c:353 [inline] __do_sys_fallocate fs/open.c:361 [inline] __se_sys_fallocate fs/open.c:359 [inline] __x64_sys_fallocate+0xbd/0x110 fs/open.c:359 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:0x7fa01c27d0a9 Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 e1 20 00 00 90 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 b0 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007fa01d0400c8 EFLAGS: 00000246 ORIG_RAX: 000000000000011d RAX: ffffffffffffffda RBX: 00007fa01c3b3f80 RCX: 00007fa01c27d0a9 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000008 RBP: 00007fa01c2ec074 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000002000402 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000000b R14: 00007fa01c3b3f80 R15: 00007ffcbfb92c98