INFO: task syz-executor:5834 blocked for more than 143 seconds. Not tainted 6.13.0-rc1-next-20241205-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor state:D stack:19648 pid:5834 tgid:5834 ppid:1 flags:0x00004002 Call Trace: context_switch kernel/sched/core.c:5371 [inline] __schedule+0x189f/0x4c80 kernel/sched/core.c:6758 __schedule_loop kernel/sched/core.c:6835 [inline] schedule+0x14b/0x320 kernel/sched/core.c:6850 wb_wait_for_completion+0x166/0x290 fs/fs-writeback.c:216 sync_inodes_sb+0x28d/0xb50 fs/fs-writeback.c:2821 sync_filesystem+0x176/0x230 fs/sync.c:64 generic_shutdown_super+0x72/0x2d0 fs/super.c:621 kill_block_super+0x44/0x90 fs/super.c:1710 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:227 exit_task_work include/linux/task_work.h:40 [inline] do_exit+0xa2f/0x28e0 kernel/exit.c:938 do_group_exit+0x207/0x2c0 kernel/exit.c:1087 __do_sys_exit_group kernel/exit.c:1098 [inline] __se_sys_exit_group kernel/exit.c:1096 [inline] __x64_sys_exit_group+0x3f/0x40 kernel/exit.c:1096 x64_sys_call+0x26a8/0x26b0 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:0x7fe5e037fed9 RSP: 002b:00007fffa68d0e88 EFLAGS: 00000246 ORIG_RAX: 00000000000000e7 RAX: ffffffffffffffda RBX: 00007fe5e03f3b14 RCX: 00007fe5e037fed9 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000001 RBP: 000000000000000c R08: 00007fffa68cec26 R09: 00007fffa68d2140 R10: 0000000000000000 R11: 0000000000000246 R12: 00007fffa68d2140 R13: 00007fe5e03f3ab4 R14: 000055557b13b4a8 R15: 00007fffa68d3200 INFO: task syz.0.181:6811 blocked for more than 143 seconds. Not tainted 6.13.0-rc1-next-20241205-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz.0.181 state:D stack:24184 pid:6811 tgid:6809 ppid:5833 flags:0x00004004 Call Trace: context_switch kernel/sched/core.c:5371 [inline] __schedule+0x189f/0x4c80 kernel/sched/core.c:6758 __schedule_loop kernel/sched/core.c:6835 [inline] schedule+0x14b/0x320 kernel/sched/core.c:6850 schedule_preempt_disabled+0x13/0x30 kernel/sched/core.c:6907 rwsem_down_read_slowpath kernel/locking/rwsem.c:1084 [inline] __down_read_common kernel/locking/rwsem.c:1248 [inline] __down_read kernel/locking/rwsem.c:1261 [inline] down_read+0x705/0xa40 kernel/locking/rwsem.c:1526 __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 quota_sync_all fs/quota/quota.c:69 [inline] __do_sys_quotactl fs/quota/quota.c:938 [inline] __se_sys_quotactl+0x38e/0xa30 fs/quota/quota.c:917 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:0x7f588017fed9 RSP: 002b:00007f5880f6b058 EFLAGS: 00000246 ORIG_RAX: 00000000000000b3 RAX: ffffffffffffffda RBX: 00007f5880346080 RCX: 00007f588017fed9 RDX: 0000000000000000 RSI: 0000000000000000 RDI: ffffffff80000101 RBP: 00007f58801f3cc8 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000000 R14: 00007f5880346080 R15: 00007ffc8652e548 Showing all locks held in the system: 1 lock held by khungtaskd/30: #0: ffffffff8e9374a0 (rcu_read_lock){....}-{1:3}, at: rcu_lock_acquire include/linux/rcupdate.h:337 [inline] #0: ffffffff8e9374a0 (rcu_read_lock){....}-{1:3}, at: rcu_read_lock include/linux/rcupdate.h:849 [inline] #0: ffffffff8e9374a0 (rcu_read_lock){....}-{1:3}, at: debug_show_all_locks+0x55/0x2a0 kernel/locking/lockdep.c:6744 4 locks held by kworker/u8:5/1143: #0: ffff88801ac89148 ((wq_completion)events_unbound){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3204 [inline] #0: ffff88801ac89148 ((wq_completion)events_unbound){+.+.}-{0:0}, at: process_scheduled_works+0x93b/0x1840 kernel/workqueue.c:3310 #1: ffffc90004007d00 ((linkwatch_work).work){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3205 [inline] #1: ffffc90004007d00 ((linkwatch_work).work){+.+.}-{0:0}, at: process_scheduled_works+0x976/0x1840 kernel/workqueue.c:3310 #2: ffffffff8fcb8188 (rtnl_mutex){+.+.}-{4:4}, at: linkwatch_event+0xe/0x60 net/core/link_watch.c:276 #3: ffffffff8e93c9b8 (rcu_state.exp_mutex){+.+.}-{4:4}, at: exp_funnel_lock kernel/rcu/tree_exp.h:329 [inline] #3: ffffffff8e93c9b8 (rcu_state.exp_mutex){+.+.}-{4:4}, at: synchronize_rcu_expedited+0x451/0x830 kernel/rcu/tree_exp.h:976 2 locks held by kworker/u8:7/3006: #0: ffff88801da9d148 ((wq_completion)writeback){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3204 [inline] #0: ffff88801da9d148 ((wq_completion)writeback){+.+.}-{0:0}, at: process_scheduled_works+0x93b/0x1840 kernel/workqueue.c:3310 #1: ffffc9000bc9fd00 ((work_completion)(&(&wb->dwork)->work)){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3205 [inline] #1: ffffc9000bc9fd00 ((work_completion)(&(&wb->dwork)->work)){+.+.}-{0:0}, at: process_scheduled_works+0x976/0x1840 kernel/workqueue.c:3310 2 locks held by getty/5584: #0: ffff88814d3470a0 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x25/0x70 drivers/tty/tty_ldisc.c:243 #1: ffffc90002fde2f0 (&ldata->atomic_read_lock){+.+.}-{4:4}, at: n_tty_read+0x6a6/0x1e00 drivers/tty/n_tty.c:2211 2 locks held by syz-executor/5834: #0: ffff88806095a0e0 (&type->s_umount_key#82){++++}-{4:4}, at: __super_lock fs/super.c:56 [inline] #0: ffff88806095a0e0 (&type->s_umount_key#82){++++}-{4:4}, at: __super_lock_excl fs/super.c:71 [inline] #0: ffff88806095a0e0 (&type->s_umount_key#82){++++}-{4:4}, at: deactivate_super+0xb5/0xf0 fs/super.c:505 #1: ffff8881437347d0 (&bdi->wb_switch_rwsem){+.+.}-{4:4}, at: bdi_down_write_wb_switch_rwsem fs/fs-writeback.c:387 [inline] #1: ffff8881437347d0 (&bdi->wb_switch_rwsem){+.+.}-{4:4}, at: sync_inodes_sb+0x26e/0xb50 fs/fs-writeback.c:2819 3 locks held by kworker/1:5/5888: #0: ffff88801ac80948 ((wq_completion)events){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3204 [inline] #0: ffff88801ac80948 ((wq_completion)events){+.+.}-{0:0}, at: process_scheduled_works+0x93b/0x1840 kernel/workqueue.c:3310 #1: ffffc90004137d00 (free_ipc_work){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3205 [inline] #1: ffffc90004137d00 (free_ipc_work){+.+.}-{0:0}, at: process_scheduled_works+0x976/0x1840 kernel/workqueue.c:3310 #2: ffffffff8e93c9b8 (rcu_state.exp_mutex){+.+.}-{4:4}, at: exp_funnel_lock kernel/rcu/tree_exp.h:329 [inline] #2: ffffffff8e93c9b8 (rcu_state.exp_mutex){+.+.}-{4:4}, at: synchronize_rcu_expedited+0x451/0x830 kernel/rcu/tree_exp.h:976 3 locks held by kworker/u8:10/6597: #0: ffff88814d16a148 ((wq_completion)ipv6_addrconf){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3204 [inline] #0: ffff88814d16a148 ((wq_completion)ipv6_addrconf){+.+.}-{0:0}, at: process_scheduled_works+0x93b/0x1840 kernel/workqueue.c:3310 #1: ffffc9002b29fd00 ((work_completion)(&(&ifa->dad_work)->work)){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3205 [inline] #1: ffffc9002b29fd00 ((work_completion)(&(&ifa->dad_work)->work)){+.+.}-{0:0}, at: process_scheduled_works+0x976/0x1840 kernel/workqueue.c:3310 #2: ffffffff8fcb8188 (rtnl_mutex){+.+.}-{4:4}, at: addrconf_dad_work+0xd0/0x16f0 net/ipv6/addrconf.c:4215 3 locks held by segctord/6759: 1 lock held by syz.0.181/6811: #0: ffff88806095a0e0 (&type->s_umount_key#82){++++}-{4:4}, at: __super_lock fs/super.c:58 [inline] #0: ffff88806095a0e0 (&type->s_umount_key#82){++++}-{4:4}, at: super_lock+0x27c/0x400 fs/super.c:120 1 lock held by syz.9.561/8486: #0: ffff88806095a0e0 (&type->s_umount_key#82){++++}-{4:4}, at: __super_lock fs/super.c:58 [inline] #0: ffff88806095a0e0 (&type->s_umount_key#82){++++}-{4:4}, at: super_lock+0x27c/0x400 fs/super.c:120 1 lock held by syz.9.561/8519: #0: ffff88806095a0e0 (&type->s_umount_key#82){++++}-{4:4}, at: __super_lock fs/super.c:58 [inline] #0: ffff88806095a0e0 (&type->s_umount_key#82){++++}-{4:4}, at: super_lock+0x27c/0x400 fs/super.c:120 3 locks held by syz-executor/8573: #0: ffff8880446dcd80 (&hdev->req_lock){+.+.}-{4:4}, at: hci_dev_do_close net/bluetooth/hci_core.c:481 [inline] #0: ffff8880446dcd80 (&hdev->req_lock){+.+.}-{4:4}, at: hci_unregister_dev+0x203/0x510 net/bluetooth/hci_core.c:2698 #1: ffff8880446dc078 (&hdev->lock){+.+.}-{4:4}, at: hci_dev_close_sync+0x5c8/0x11c0 net/bluetooth/hci_sync.c:5200 #2: ffffffff8fe18aa8 (hci_cb_list_lock){+.+.}-{4:4}, at: hci_disconn_cfm include/net/bluetooth/hci_core.h:2047 [inline] #2: ffffffff8fe18aa8 (hci_cb_list_lock){+.+.}-{4:4}, at: hci_conn_hash_flush+0xa6/0x240 net/bluetooth/hci_conn.c:2698 3 locks held by syz-executor/8717: #0: ffff88806f7f0d80 (&hdev->req_lock){+.+.}-{4:4}, at: hci_dev_do_close net/bluetooth/hci_core.c:481 [inline] #0: ffff88806f7f0d80 (&hdev->req_lock){+.+.}-{4:4}, at: hci_unregister_dev+0x203/0x510 net/bluetooth/hci_core.c:2698 #1: ffff88806f7f0078 (&hdev->lock){+.+.}-{4:4}, at: hci_dev_close_sync+0x5c8/0x11c0 net/bluetooth/hci_sync.c:5200 #2: ffffffff8fe18aa8 (hci_cb_list_lock){+.+.}-{4:4}, at: hci_disconn_cfm include/net/bluetooth/hci_core.h:2047 [inline] #2: ffffffff8fe18aa8 (hci_cb_list_lock){+.+.}-{4:4}, at: hci_conn_hash_flush+0xa6/0x240 net/bluetooth/hci_conn.c:2698 2 locks held by syz.1.620/8733: #0: ffffffff901a17d0 (&ops->srcu#2){.+.+}-{0:0}, at: rcu_lock_acquire include/linux/rcupdate.h:337 [inline] #0: ffffffff901a17d0 (&ops->srcu#2){.+.+}-{0:0}, at: rcu_read_lock include/linux/rcupdate.h:849 [inline] #0: ffffffff901a17d0 (&ops->srcu#2){.+.+}-{0:0}, at: rtnl_link_ops_get+0x22/0x250 net/core/rtnetlink.c:555 #1: ffffffff8fcb8188 (rtnl_mutex){+.+.}-{4:4}, at: rtnl_lock net/core/rtnetlink.c:79 [inline] #1: ffffffff8fcb8188 (rtnl_mutex){+.+.}-{4:4}, at: rtnl_nets_lock net/core/rtnetlink.c:326 [inline] #1: ffffffff8fcb8188 (rtnl_mutex){+.+.}-{4:4}, at: rtnl_newlink+0xbb0/0x20e0 net/core/rtnetlink.c:4008 1 lock held by syz.4.621/8746: #0: ffffffff8fcb8188 (rtnl_mutex){+.+.}-{4:4}, at: tun_detach drivers/net/tun.c:698 [inline] #0: ffffffff8fcb8188 (rtnl_mutex){+.+.}-{4:4}, at: tun_chr_close+0x3b/0x1b0 drivers/net/tun.c:3517 3 locks held by syz.0.622/8747: #0: ffff8880606d0d80 (&hdev->req_lock){+.+.}-{4:4}, at: hci_dev_do_close net/bluetooth/hci_core.c:481 [inline] #0: ffff8880606d0d80 (&hdev->req_lock){+.+.}-{4:4}, at: hci_unregister_dev+0x203/0x510 net/bluetooth/hci_core.c:2698 #1: ffff8880606d0078 (&hdev->lock){+.+.}-{4:4}, at: hci_dev_close_sync+0x5c8/0x11c0 net/bluetooth/hci_sync.c:5200 #2: ffffffff8fe18aa8 (hci_cb_list_lock){+.+.}-{4:4}, at: hci_disconn_cfm include/net/bluetooth/hci_core.h:2047 [inline] #2: ffffffff8fe18aa8 (hci_cb_list_lock){+.+.}-{4:4}, at: hci_conn_hash_flush+0xa6/0x240 net/bluetooth/hci_conn.c:2698 ============================================= NMI backtrace for cpu 0 CPU: 0 UID: 0 PID: 30 Comm: khungtaskd Not tainted 6.13.0-rc1-next-20241205-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024 Call Trace: __dump_stack lib/dump_stack.c:94 [inline] dump_stack_lvl+0x241/0x360 lib/dump_stack.c:120 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:234 [inline] watchdog+0xff6/0x1040 kernel/hung_task.c:397 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: 1143 Comm: kworker/u8:5 Not tainted 6.13.0-rc1-next-20241205-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024 Workqueue: events_unbound nsim_dev_trap_report_work RIP: 0010:__lock_acquire+0xdcd/0x2100 kernel/locking/lockdep.c:5216 Code: 74 0d 41 bf 01 00 00 00 49 c7 c6 ff ff ff ff 4d 89 ec 48 8b 44 24 18 0f b6 04 38 84 c0 0f 85 22 0c 00 00 48 8b 44 24 10 8b 18 <48> 83 bc 24 c8 00 00 00 00 0f 84 a1 00 00 00 48 8b 44 24 30 0f b6 RSP: 0018:ffffc90004007570 EFLAGS: 00000046 RAX: ffff8880271ea9a8 RBX: 00000000000c0031 RCX: ffff8880271ea8e8 RDX: 0000000000000000 RSI: 0000000000000008 RDI: dffffc0000000000 RBP: ffff8880271ea988 R08: ffffffff942b2847 R09: 1ffffffff2856508 R10: dffffc0000000000 R11: fffffbfff2856509 R12: ffff8880271e9e00 R13: ffff8880271e9e00 R14: 26af59bbeffc35af R15: 0000000000000000 FS: 0000000000000000(0000) GS:ffff8880b8700000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000001b31b1eff8 CR3: 000000000e736000 CR4: 00000000003526f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: lock_acquire+0x1ed/0x550 kernel/locking/lockdep.c:5849 local_lock_acquire include/linux/local_lock_internal.h:29 [inline] crng_make_state+0x1b3/0xa80 drivers/char/random.c:368 _get_random_bytes+0xd7/0x2c0 drivers/char/random.c:406 nsim_dev_trap_skb_build drivers/net/netdevsim/dev.c:775 [inline] nsim_dev_trap_report drivers/net/netdevsim/dev.c:805 [inline] nsim_dev_trap_report_work+0x690/0xb50 drivers/net/netdevsim/dev.c:851 process_one_work kernel/workqueue.c:3229 [inline] process_scheduled_works+0xa66/0x1840 kernel/workqueue.c:3310 worker_thread+0x870/0xd30 kernel/workqueue.c:3391 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