INFO: task syz-executor:14870 blocked for more than 143 seconds. Not tainted 6.11.0-rc5-syzkaller-00176-g20371ba12063 #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor state:D stack:20992 pid:14870 tgid:14870 ppid:1 flags:0x00004002 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 io_schedule+0x8d/0x110 kernel/sched/core.c:7401 folio_wait_bit_common+0x882/0x12b0 mm/filemap.c:1307 folio_wait_writeback+0xe7/0x1e0 mm/page-writeback.c:3189 __filemap_fdatawait_range+0x181/0x410 mm/filemap.c:532 filemap_fdatawait_range+0x25/0x40 mm/filemap.c:559 filemap_fdatawait include/linux/pagemap.h:48 [inline] __writeback_single_inode+0x1f0/0x10b0 fs/fs-writeback.c:1661 writeback_single_inode+0x21b/0x7a0 fs/fs-writeback.c:1772 write_inode_now+0x1d1/0x260 fs/fs-writeback.c:2822 iput_final fs/inode.c:1825 [inline] iput+0x5d7/0x930 fs/inode.c:1864 nilfs_dispose_list+0x51d/0x5c0 fs/nilfs2/segment.c:820 nilfs_segctor_destroy fs/nilfs2/segment.c:2797 [inline] nilfs_detach_log_writer+0x7e3/0xbe0 fs/nilfs2/segment.c:2869 nilfs_put_super+0x4d/0x160 fs/nilfs2/super.c:498 generic_shutdown_super+0x136/0x2d0 fs/super.c:642 kill_block_super+0x44/0x90 fs/super.c:1696 deactivate_locked_super+0xc4/0x130 fs/super.c:473 cleanup_mnt+0x41f/0x4b0 fs/namespace.c:1373 task_work_run+0x24f/0x310 kernel/task_work.c:228 exit_task_work include/linux/task_work.h:40 [inline] do_exit+0xa2f/0x27f0 kernel/exit.c:882 do_group_exit+0x207/0x2c0 kernel/exit.c:1031 __do_sys_exit_group kernel/exit.c:1042 [inline] __se_sys_exit_group kernel/exit.c:1040 [inline] __x64_sys_exit_group+0x3f/0x40 kernel/exit.c:1040 x64_sys_call+0x2634/0x2640 arch/x86/include/generated/asm/syscalls_64.h:232 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:0x7fe985379ef9 RSP: 002b:00007ffc72513b58 EFLAGS: 00000246 ORIG_RAX: 00000000000000e7 RAX: ffffffffffffffda RBX: 00007fe9853e783c RCX: 00007fe985379ef9 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000001 RBP: 0000000000000005 R08: 00007ffc725118f7 R09: 00007ffc72514e10 R10: 0000000000000000 R11: 0000000000000246 R12: 00007ffc72514e10 R13: 00007fe9853e77dc R14: 0000555584d774a8 R15: 00007ffc72515ed0 INFO: task syz.2.1087:15776 blocked for more than 144 seconds. Not tainted 6.11.0-rc5-syzkaller-00176-g20371ba12063 #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz.2.1087 state:D stack:25808 pid:15776 tgid:15774 ppid:14857 flags:0x00004004 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_read_slowpath kernel/locking/rwsem.c:1086 [inline] __down_read_common kernel/locking/rwsem.c:1250 [inline] __down_read kernel/locking/rwsem.c:1263 [inline] down_read+0x705/0xa40 kernel/locking/rwsem.c:1528 __super_lock fs/super.c:58 [inline] super_lock+0x27c/0x400 fs/super.c:120 super_lock_shared fs/super.c:139 [inline] iterate_supers+0x8c/0x190 fs/super.c:931 ksys_sync+0xbd/0x1c0 fs/sync.c:102 __do_sys_sync+0xe/0x20 fs/sync.c:113 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:0x7f8dcd779ef9 RSP: 002b:00007f8dce5a3038 EFLAGS: 00000246 ORIG_RAX: 00000000000000a2 RAX: ffffffffffffffda RBX: 00007f8dcd915f80 RCX: 00007f8dcd779ef9 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000 RBP: 00007f8dcd7e793e R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000000 R14: 00007f8dcd915f80 R15: 00007ffc44d14a28 Showing all locks held in the system: 3 locks held by kworker/0:1/9: #0: ffff888015480948 ((wq_completion)events){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3206 [inline] #0: ffff888015480948 ((wq_completion)events){+.+.}-{0:0}, at: process_scheduled_works+0x90a/0x1830 kernel/workqueue.c:3312 #1: ffffc900000e7d00 ((work_completion)(&data->fib_event_work)){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3207 [inline] #1: ffffc900000e7d00 ((work_completion)(&data->fib_event_work)){+.+.}-{0:0}, at: process_scheduled_works+0x945/0x1830 kernel/workqueue.c:3312 #2: ffff88807e5d3240 (&data->fib_lock){+.+.}-{3:3}, at: nsim_fib_event_work+0x2d1/0x4130 drivers/net/netdevsim/fib.c:1489 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 2 locks held by kworker/u8:10/4420: 2 locks held by getty/4979: #0: ffff88802b4620a0 (&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 3 locks held by kworker/0:3/5224: 1 lock held by syz-executor/14870: #0: ffff88806e6ba0e0 (&type->s_umount_key#103){++++}-{3:3}, at: __super_lock fs/super.c:56 [inline] #0: ffff88806e6ba0e0 (&type->s_umount_key#103){++++}-{3:3}, at: __super_lock_excl fs/super.c:71 [inline] #0: ffff88806e6ba0e0 (&type->s_umount_key#103){++++}-{3:3}, at: deactivate_super+0xb5/0xf0 fs/super.c:505 1 lock held by syz.2.1087/15776: #0: ffff88806e6ba0e0 (&type->s_umount_key#103){++++}-{3:3}, at: __super_lock fs/super.c:58 [inline] #0: ffff88806e6ba0e0 (&type->s_umount_key#103){++++}-{3:3}, at: super_lock+0x27c/0x400 fs/super.c:120 1 lock held by syz.1.1156/16365: #0: ffff88801cfe2360 (&lo->lo_mutex){+.+.}-{3:3}, at: loop_set_status+0x2a/0x900 drivers/block/loop.c:1252 1 lock held by syz.1.1315/17344: #0: ffff88806e6ba0e0 (&type->s_umount_key#103){++++}-{3:3}, at: __super_lock fs/super.c:58 [inline] #0: ffff88806e6ba0e0 (&type->s_umount_key#103){++++}-{3:3}, at: super_lock+0x27c/0x400 fs/super.c:120 1 lock held by syz.2.1331/17393: #0: ffff88806e6ba0e0 (&type->s_umount_key#103){++++}-{3:3}, at: __super_lock fs/super.c:58 [inline] #0: ffff88806e6ba0e0 (&type->s_umount_key#103){++++}-{3:3}, at: super_lock+0x27c/0x400 fs/super.c:120 1 lock held by syz.2.1331/17403: #0: ffff88806e6ba0e0 (&type->s_umount_key#103){++++}-{3:3}, at: __super_lock fs/super.c:58 [inline] #0: ffff88806e6ba0e0 (&type->s_umount_key#103){++++}-{3:3}, at: super_lock+0x27c/0x400 fs/super.c:120 1 lock held by syz.2.1331/17404: #0: ffff88806e6ba0e0 (&type->s_umount_key#103){++++}-{3:3}, at: __super_lock fs/super.c:58 [inline] #0: ffff88806e6ba0e0 (&type->s_umount_key#103){++++}-{3:3}, at: super_lock+0x27c/0x400 fs/super.c:120 1 lock held by syz.2.1331/17405: #0: ffff88806e6ba0e0 (&type->s_umount_key#103){++++}-{3:3}, at: __super_lock fs/super.c:58 [inline] #0: ffff88806e6ba0e0 (&type->s_umount_key#103){++++}-{3:3}, at: super_lock+0x27c/0x400 fs/super.c:120 1 lock held by syz.2.1331/17408: #0: ffff88806e6ba0e0 (&type->s_umount_key#103){++++}-{3:3}, at: __super_lock fs/super.c:58 [inline] #0: ffff88806e6ba0e0 (&type->s_umount_key#103){++++}-{3:3}, at: super_lock+0x27c/0x400 fs/super.c:120 1 lock held by syz.2.1331/17410: #0: ffff88806e6ba0e0 (&type->s_umount_key#103){++++}-{3:3}, at: __super_lock fs/super.c:58 [inline] #0: ffff88806e6ba0e0 (&type->s_umount_key#103){++++}-{3:3}, at: super_lock+0x27c/0x400 fs/super.c:120 3 locks held by syz-executor/17523: #0: ffff88805b524d80 (&hdev->req_lock){+.+.}-{3:3}, at: hci_dev_do_close net/bluetooth/hci_core.c:481 [inline] #0: ffff88805b524d80 (&hdev->req_lock){+.+.}-{3:3}, at: hci_unregister_dev+0x203/0x510 net/bluetooth/hci_core.c:2698 #1: ffff88805b524078 (&hdev->lock){+.+.}-{3:3}, at: hci_dev_close_sync+0x572/0x11a0 net/bluetooth/hci_sync.c:5145 #2: ffffffff8fbe3c28 (hci_cb_list_lock){+.+.}-{3:3}, at: hci_disconn_cfm include/net/bluetooth/hci_core.h:1977 [inline] #2: ffffffff8fbe3c28 (hci_cb_list_lock){+.+.}-{3:3}, at: hci_conn_hash_flush+0xa6/0x240 net/bluetooth/hci_conn.c:2592 3 locks held by syz-executor/17530: #0: ffff88804ca5cd80 (&hdev->req_lock){+.+.}-{3:3}, at: hci_dev_do_close net/bluetooth/hci_core.c:481 [inline] #0: ffff88804ca5cd80 (&hdev->req_lock){+.+.}-{3:3}, at: hci_unregister_dev+0x203/0x510 net/bluetooth/hci_core.c:2698 #1: ffff88804ca5c078 (&hdev->lock){+.+.}-{3:3}, at: hci_dev_close_sync+0x572/0x11a0 net/bluetooth/hci_sync.c:5145 #2: ffffffff8fbe3c28 (hci_cb_list_lock){+.+.}-{3:3}, at: hci_disconn_cfm include/net/bluetooth/hci_core.h:1977 [inline] #2: ffffffff8fbe3c28 (hci_cb_list_lock){+.+.}-{3:3}, at: hci_conn_hash_flush+0xa6/0x240 net/bluetooth/hci_conn.c:2592 4 locks held by syz-executor/17592: #0: ffff88802eadcd80 (&hdev->req_lock){+.+.}-{3:3}, at: hci_dev_do_close net/bluetooth/hci_core.c:481 [inline] #0: ffff88802eadcd80 (&hdev->req_lock){+.+.}-{3:3}, at: hci_unregister_dev+0x203/0x510 net/bluetooth/hci_core.c:2698 #1: ffff88802eadc078 (&hdev->lock){+.+.}-{3:3}, at: hci_dev_close_sync+0x572/0x11a0 net/bluetooth/hci_sync.c:5145 #2: ffffffff8fbe3c28 (hci_cb_list_lock){+.+.}-{3:3}, at: hci_disconn_cfm include/net/bluetooth/hci_core.h:1977 [inline] #2: ffffffff8fbe3c28 (hci_cb_list_lock){+.+.}-{3:3}, at: hci_conn_hash_flush+0xa6/0x240 net/bluetooth/hci_conn.c:2592 #3: ffffffff8e73d6f8 (rcu_state.exp_mutex){+.+.}-{3:3}, at: exp_funnel_lock kernel/rcu/tree_exp.h:296 [inline] #3: ffffffff8e73d6f8 (rcu_state.exp_mutex){+.+.}-{3:3}, at: synchronize_rcu_expedited+0x381/0x830 kernel/rcu/tree_exp.h:958 3 locks held by syz.0.1352/17705: #0: ffff888057494d80 (&hdev->req_lock){+.+.}-{3:3}, at: hci_dev_do_close net/bluetooth/hci_core.c:481 [inline] #0: ffff888057494d80 (&hdev->req_lock){+.+.}-{3:3}, at: hci_unregister_dev+0x203/0x510 net/bluetooth/hci_core.c:2698 #1: ffff888057494078 (&hdev->lock){+.+.}-{3:3}, at: hci_dev_close_sync+0x572/0x11a0 net/bluetooth/hci_sync.c:5145 #2: ffffffff8fbe3c28 (hci_cb_list_lock){+.+.}-{3:3}, at: hci_disconn_cfm include/net/bluetooth/hci_core.h:1977 [inline] #2: ffffffff8fbe3c28 (hci_cb_list_lock){+.+.}-{3:3}, at: hci_conn_hash_flush+0xa6/0x240 net/bluetooth/hci_conn.c:2592 3 locks held by syz.1.1336/17711: #0: ffff888056b3cd80 (&hdev->req_lock){+.+.}-{3:3}, at: hci_dev_do_close net/bluetooth/hci_core.c:481 [inline] #0: ffff888056b3cd80 (&hdev->req_lock){+.+.}-{3:3}, at: hci_unregister_dev+0x203/0x510 net/bluetooth/hci_core.c:2698 #1: ffff888056b3c078 (&hdev->lock){+.+.}-{3:3}, at: hci_dev_close_sync+0x572/0x11a0 net/bluetooth/hci_sync.c:5145 #2: ffffffff8fbe3c28 (hci_cb_list_lock){+.+.}-{3:3}, at: hci_disconn_cfm include/net/bluetooth/hci_core.h:1977 [inline] #2: ffffffff8fbe3c28 (hci_cb_list_lock){+.+.}-{3:3}, at: hci_conn_hash_flush+0xa6/0x240 net/bluetooth/hci_conn.c:2592 2 locks held by dhcpcd-run-hook/17768: ============================================= NMI backtrace for cpu 0 CPU: 0 UID: 0 PID: 30 Comm: khungtaskd Not tainted 6.11.0-rc5-syzkaller-00176-g20371ba12063 #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: 2641 Comm: kworker/1:2 Not tainted 6.11.0-rc5-syzkaller-00176-g20371ba12063 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 08/06/2024 Workqueue: events nsim_dev_trap_report_work RIP: 0010:hlock_class kernel/locking/lockdep.c:227 [inline] RIP: 0010:check_wait_context kernel/locking/lockdep.c:4797 [inline] RIP: 0010:__lock_acquire+0x898/0x2040 kernel/locking/lockdep.c:5092 Code: 8b 5d 00 81 e3 ff 1f 00 00 48 89 d8 48 c1 e8 06 48 8d 3c c5 40 58 50 93 be 08 00 00 00 e8 f0 d5 87 00 48 0f a3 1d 98 7d e0 11 <73> 1a 48 69 c3 c8 00 00 00 48 8d 98 40 b7 1e 93 48 ba 00 00 00 00 RSP: 0018:ffffc90009477870 EFLAGS: 00000057 RAX: 0000000000000001 RBX: 00000000000000bc RCX: ffffffff816fdaa0 RDX: 0000000000000000 RSI: 0000000000000008 RDI: ffffffff93505850 RBP: 00000000ffffffff R08: ffffffff93505857 R09: 1ffffffff26a0b0a R10: dffffc0000000000 R11: fffffbfff26a0b0b R12: 0000000000000000 R13: ffff88802ab1a900 R14: 0000000000000000 R15: ffff88802ab1a900 FS: 0000000000000000(0000) GS:ffff8880b9300000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000055e58fbec048 CR3: 000000007dca6000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: lock_acquire+0x1ed/0x550 kernel/locking/lockdep.c:5759 __raw_spin_lock_bh include/linux/spinlock_api_smp.h:126 [inline] _raw_spin_lock_bh+0x35/0x50 kernel/locking/spinlock.c:178 spin_lock_bh include/linux/spinlock.h:356 [inline] nsim_dev_trap_report drivers/net/netdevsim/dev.c:816 [inline] nsim_dev_trap_report_work+0x6a7/0xaa0 drivers/net/netdevsim/dev.c:850 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