INFO: task syz-executor:7063 blocked for more than 143 seconds. Not tainted 6.10.0-next-20240726-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor state:D stack:20560 pid:7063 tgid:7063 ppid:1 flags:0x00004004 Call Trace: context_switch kernel/sched/core.c:5239 [inline] __schedule+0x1800/0x4a60 kernel/sched/core.c:6603 __schedule_loop kernel/sched/core.c:6680 [inline] schedule+0x14b/0x320 kernel/sched/core.c:6695 schedule_preempt_disabled+0x13/0x30 kernel/sched/core.c:6752 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 __super_lock fs/super.c:56 [inline] __super_lock_excl fs/super.c:71 [inline] deactivate_super+0xb5/0xf0 fs/super.c:505 cleanup_mnt+0x41f/0x4b0 fs/namespace.c:1373 task_work_run+0x24f/0x310 kernel/task_work.c:222 resume_user_mode_work include/linux/resume_user_mode.h:50 [inline] exit_to_user_mode_loop kernel/entry/common.c:114 [inline] exit_to_user_mode_prepare include/linux/entry-common.h:328 [inline] __syscall_exit_to_user_mode_work kernel/entry/common.c:207 [inline] syscall_exit_to_user_mode+0x168/0x370 kernel/entry/common.c:218 do_syscall_64+0x100/0x230 arch/x86/entry/common.c:89 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f51fad785c7 RSP: 002b:00007ffdfe70dc48 EFLAGS: 00000246 ORIG_RAX: 00000000000000a6 RAX: 0000000000000000 RBX: 0000000000000000 RCX: 00007f51fad785c7 RDX: 0000000000000000 RSI: 0000000000000009 RDI: 00007ffdfe70dd00 RBP: 00007ffdfe70dd00 R08: 0000000000000000 R09: 0000000000000000 R10: 00000000ffffffff R11: 0000000000000246 R12: 00007ffdfe70ed80 R13: 00007f51fade4784 R14: 000000000008f9fa R15: 00007ffdfe70edc0 INFO: task syz.1.815:9867 blocked for more than 143 seconds. Not tainted 6.10.0-next-20240726-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz.1.815 state:D stack:23800 pid:9867 tgid:9866 ppid:6762 flags:0x00004004 Call Trace: context_switch kernel/sched/core.c:5239 [inline] __schedule+0x1800/0x4a60 kernel/sched/core.c:6603 __schedule_loop kernel/sched/core.c:6680 [inline] schedule+0x14b/0x320 kernel/sched/core.c:6695 io_schedule+0x8d/0x110 kernel/sched/core.c:7480 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_keep_errors+0x31/0xd0 mm/filemap.c:627 wait_sb_inodes fs/fs-writeback.c:2673 [inline] sync_inodes_sb+0x8b2/0xb20 fs/fs-writeback.c:2795 iterate_supers+0xc6/0x190 fs/super.c:934 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:0x7f6e27177299 RSP: 002b:00007f6e27f5c048 EFLAGS: 00000246 ORIG_RAX: 00000000000000a2 RAX: ffffffffffffffda RBX: 00007f6e27305f80 RCX: 00007f6e27177299 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000 RBP: 00007f6e271e48e6 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000000b R14: 00007f6e27305f80 R15: 00007fff303ce2c8 Showing all locks held in the system: 1 lock held by khungtaskd/30: #0: ffffffff8e937a60 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire include/linux/rcupdate.h:326 [inline] #0: ffffffff8e937a60 (rcu_read_lock){....}-{1:2}, at: rcu_read_lock include/linux/rcupdate.h:838 [inline] #0: ffffffff8e937a60 (rcu_read_lock){....}-{1:2}, at: debug_show_all_locks+0x55/0x2a0 kernel/locking/lockdep.c:6695 6 locks held by kworker/u8:2/35: 2 locks held by getty/4984: #0: ffff88802f71a0a0 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x25/0x70 drivers/tty/tty_ldisc.c:243 #1: ffffc9000311b2f0 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0x6b5/0x1e10 drivers/tty/n_tty.c:2211 3 locks held by kworker/0:6/5283: #0: ffff888015880948 ((wq_completion)events){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3206 [inline] #0: ffff888015880948 ((wq_completion)events){+.+.}-{0:0}, at: process_scheduled_works+0x90a/0x1830 kernel/workqueue.c:3312 #1: ffffc90003e6fd00 ((work_completion)(&data->fib_event_work)){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3207 [inline] #1: ffffc90003e6fd00 ((work_completion)(&data->fib_event_work)){+.+.}-{0:0}, at: process_scheduled_works+0x945/0x1830 kernel/workqueue.c:3312 #2: ffff88802ce60240 (&data->fib_lock){+.+.}-{3:3}, at: nsim_fib_event_work+0x2d1/0x4130 drivers/net/netdevsim/fib.c:1489 3 locks held by kworker/u8:13/6556: #0: ffff88802a653148 ((wq_completion)ipv6_addrconf){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3206 [inline] #0: ffff88802a653148 ((wq_completion)ipv6_addrconf){+.+.}-{0:0}, at: process_scheduled_works+0x90a/0x1830 kernel/workqueue.c:3312 #1: ffffc90005167d00 ((work_completion)(&(&ifa->dad_work)->work)){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3207 [inline] #1: ffffc90005167d00 ((work_completion)(&(&ifa->dad_work)->work)){+.+.}-{0:0}, at: process_scheduled_works+0x945/0x1830 kernel/workqueue.c:3312 #2: ffffffff8fc82ac8 (rtnl_mutex){+.+.}-{3:3}, at: addrconf_dad_work+0xd0/0x16f0 net/ipv6/addrconf.c:4194 1 lock held by syz-executor/7063: #0: ffff88807e4fe0e0 (&type->s_umount_key#102){++++}-{3:3}, at: __super_lock fs/super.c:56 [inline] #0: ffff88807e4fe0e0 (&type->s_umount_key#102){++++}-{3:3}, at: __super_lock_excl fs/super.c:71 [inline] #0: ffff88807e4fe0e0 (&type->s_umount_key#102){++++}-{3:3}, at: deactivate_super+0xb5/0xf0 fs/super.c:505 2 locks held by kworker/1:7/7076: #0: ffff888015880948 ((wq_completion)events){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3206 [inline] #0: ffff888015880948 ((wq_completion)events){+.+.}-{0:0}, at: process_scheduled_works+0x90a/0x1830 kernel/workqueue.c:3312 #1: ffffc90004f27d00 (free_ipc_work){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3207 [inline] #1: ffffc90004f27d00 (free_ipc_work){+.+.}-{0:0}, at: process_scheduled_works+0x945/0x1830 kernel/workqueue.c:3312 2 locks held by syz-executor/9570: #0: ffff88802d5a20e0 (&type->s_umount_key#102){++++}-{3:3}, at: __super_lock fs/super.c:56 [inline] #0: ffff88802d5a20e0 (&type->s_umount_key#102){++++}-{3:3}, at: __super_lock_excl fs/super.c:71 [inline] #0: ffff88802d5a20e0 (&type->s_umount_key#102){++++}-{3:3}, at: deactivate_super+0xb5/0xf0 fs/super.c:505 #1: ffff88802d5a2938 (&s->s_sync_lock){+.+.}-{3:3}, at: wait_sb_inodes fs/fs-writeback.c:2612 [inline] #1: ffff88802d5a2938 (&s->s_sync_lock){+.+.}-{3:3}, at: sync_inodes_sb+0x335/0xb20 fs/fs-writeback.c:2795 2 locks held by syz-executor/9804: #0: ffff8880216e20e0 (&type->s_umount_key#102){++++}-{3:3}, at: __super_lock fs/super.c:56 [inline] #0: ffff8880216e20e0 (&type->s_umount_key#102){++++}-{3:3}, at: __super_lock_excl fs/super.c:71 [inline] #0: ffff8880216e20e0 (&type->s_umount_key#102){++++}-{3:3}, at: deactivate_super+0xb5/0xf0 fs/super.c:505 #1: ffff8880216e2938 (&s->s_sync_lock){+.+.}-{3:3}, at: wait_sb_inodes fs/fs-writeback.c:2612 [inline] #1: ffff8880216e2938 (&s->s_sync_lock){+.+.}-{3:3}, at: sync_inodes_sb+0x335/0xb20 fs/fs-writeback.c:2795 2 locks held by syz.1.815/9867: #0: ffff88807e4fe0e0 (&type->s_umount_key#102){++++}-{3:3}, at: __super_lock fs/super.c:58 [inline] #0: ffff88807e4fe0e0 (&type->s_umount_key#102){++++}-{3:3}, at: super_lock+0x27c/0x400 fs/super.c:120 #1: ffff88807e4fe938 (&s->s_sync_lock){+.+.}-{3:3}, at: wait_sb_inodes fs/fs-writeback.c:2612 [inline] #1: ffff88807e4fe938 (&s->s_sync_lock){+.+.}-{3:3}, at: sync_inodes_sb+0x335/0xb20 fs/fs-writeback.c:2795 1 lock held by syz.1.837/10016: #0: ffff88807e4fe0e0 (&type->s_umount_key#102){++++}-{3:3}, at: __super_lock fs/super.c:58 [inline] #0: ffff88807e4fe0e0 (&type->s_umount_key#102){++++}-{3:3}, at: super_lock+0x27c/0x400 fs/super.c:120 1 lock held by syz.0.842/10075: #0: ffff88807e4fe0e0 (&type->s_umount_key#102){++++}-{3:3}, at: __super_lock fs/super.c:58 [inline] #0: ffff88807e4fe0e0 (&type->s_umount_key#102){++++}-{3:3}, at: super_lock+0x27c/0x400 fs/super.c:120 1 lock held by syz.2.853/10124: #0: ffff88807e4fe0e0 (&type->s_umount_key#102){++++}-{3:3}, at: __super_lock fs/super.c:58 [inline] #0: ffff88807e4fe0e0 (&type->s_umount_key#102){++++}-{3:3}, at: super_lock+0x27c/0x400 fs/super.c:120 2 locks held by kworker/u8:9/10845: 3 locks held by syz-executor/10867: #0: ffff8880308b0d80 (&hdev->req_lock){+.+.}-{3:3}, at: hci_dev_do_close net/bluetooth/hci_core.c:488 [inline] #0: ffff8880308b0d80 (&hdev->req_lock){+.+.}-{3:3}, at: hci_unregister_dev+0x203/0x510 net/bluetooth/hci_core.c:2699 #1: ffff8880308b0078 (&hdev->lock){+.+.}-{3:3}, at: hci_dev_close_sync+0x572/0x11a0 net/bluetooth/hci_sync.c:5131 #2: ffffffff8fdee5e8 (hci_cb_list_lock){+.+.}-{3:3}, at: hci_disconn_cfm include/net/bluetooth/hci_core.h:1977 [inline] #2: ffffffff8fdee5e8 (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/10875: #0: ffff888043318d80 (&hdev->req_lock){+.+.}-{3:3}, at: hci_dev_do_close net/bluetooth/hci_core.c:488 [inline] #0: ffff888043318d80 (&hdev->req_lock){+.+.}-{3:3}, at: hci_unregister_dev+0x203/0x510 net/bluetooth/hci_core.c:2699 #1: ffff888043318078 (&hdev->lock){+.+.}-{3:3}, at: hci_dev_close_sync+0x572/0x11a0 net/bluetooth/hci_sync.c:5131 #2: ffffffff8fdee5e8 (hci_cb_list_lock){+.+.}-{3:3}, at: hci_disconn_cfm include/net/bluetooth/hci_core.h:1977 [inline] #2: ffffffff8fdee5e8 (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/10882: #0: ffff888046cc8d80 (&hdev->req_lock){+.+.}-{3:3}, at: hci_dev_do_close net/bluetooth/hci_core.c:488 [inline] #0: ffff888046cc8d80 (&hdev->req_lock){+.+.}-{3:3}, at: hci_unregister_dev+0x203/0x510 net/bluetooth/hci_core.c:2699 #1: ffff888046cc8078 (&hdev->lock){+.+.}-{3:3}, at: hci_dev_close_sync+0x572/0x11a0 net/bluetooth/hci_sync.c:5131 #2: ffffffff8fdee5e8 (hci_cb_list_lock){+.+.}-{3:3}, at: hci_disconn_cfm include/net/bluetooth/hci_core.h:1977 [inline] #2: ffffffff8fdee5e8 (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/10885: #0: ffff88801f370d80 (&hdev->req_lock){+.+.}-{3:3}, at: hci_dev_do_close net/bluetooth/hci_core.c:488 [inline] #0: ffff88801f370d80 (&hdev->req_lock){+.+.}-{3:3}, at: hci_unregister_dev+0x203/0x510 net/bluetooth/hci_core.c:2699 #1: ffff88801f370078 (&hdev->lock){+.+.}-{3:3}, at: hci_dev_close_sync+0x572/0x11a0 net/bluetooth/hci_sync.c:5131 #2: ffffffff8fdee5e8 (hci_cb_list_lock){+.+.}-{3:3}, at: hci_disconn_cfm include/net/bluetooth/hci_core.h:1977 [inline] #2: ffffffff8fdee5e8 (hci_cb_list_lock){+.+.}-{3:3}, at: hci_conn_hash_flush+0xa6/0x240 net/bluetooth/hci_conn.c:2592 #3: ffffffff8e93ce38 (rcu_state.exp_mutex){+.+.}-{3:3}, at: exp_funnel_lock kernel/rcu/tree_exp.h:329 [inline] #3: ffffffff8e93ce38 (rcu_state.exp_mutex){+.+.}-{3:3}, at: synchronize_rcu_expedited+0x451/0x830 kernel/rcu/tree_exp.h:967 3 locks held by syz-executor/10887: #0: ffff888049d98d80 (&hdev->req_lock){+.+.}-{3:3}, at: hci_dev_do_close net/bluetooth/hci_core.c:488 [inline] #0: ffff888049d98d80 (&hdev->req_lock){+.+.}-{3:3}, at: hci_unregister_dev+0x203/0x510 net/bluetooth/hci_core.c:2699 #1: ffff888049d98078 (&hdev->lock){+.+.}-{3:3}, at: hci_dev_close_sync+0x572/0x11a0 net/bluetooth/hci_sync.c:5131 #2: ffffffff8fdee5e8 (hci_cb_list_lock){+.+.}-{3:3}, at: hci_disconn_cfm include/net/bluetooth/hci_core.h:1977 [inline] #2: ffffffff8fdee5e8 (hci_cb_list_lock){+.+.}-{3:3}, at: hci_conn_hash_flush+0xa6/0x240 net/bluetooth/hci_conn.c:2592 ============================================= NMI backtrace for cpu 0 CPU: 0 UID: 0 PID: 30 Comm: khungtaskd Not tainted 6.10.0-next-20240726-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 06/27/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: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:144 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: 977 Comm: kworker/u8:6 Not tainted 6.10.0-next-20240726-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 06/27/2024 Workqueue: bat_events batadv_nc_worker RIP: 0010:__rcu_read_lock+0x51/0xb0 kernel/rcu/tree_plugin.h:414 Code: 48 c1 eb 03 42 0f b6 04 33 84 c0 75 35 41 8b 2f ff c5 42 0f b6 04 33 84 c0 75 3e 41 89 2f 42 0f b6 04 33 84 c0 75 49 41 8b 07 <3d> 00 00 00 40 7d 0b 5b 41 5e 41 5f 5d c3 cc cc cc cc 90 0f 0b 90 RSP: 0018:ffffc90003e8fac0 EFLAGS: 00000246 RAX: 0000000000000001 RBX: 1ffff11004328bc8 RCX: 1ffff1100fd31168 RDX: 0000000000000000 RSI: 000000000000005c RDI: ffffffff8c607c40 RBP: 0000000000000001 R08: ffffffff9017e3af R09: 1ffffffff202fc75 R10: dffffc0000000000 R11: fffffbfff202fc76 R12: ffff888069cdccc0 R13: 1ffff1100d39bafb R14: dffffc0000000000 R15: ffff888021945e44 FS: 0000000000000000(0000) GS:ffff8880b9300000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000055b86b8eb950 CR3: 000000000e734000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: rcu_read_lock include/linux/rcupdate.h:836 [inline] batadv_nc_process_nc_paths+0xae/0x3a0 net/batman-adv/network-coding.c:687 batadv_nc_worker+0x42a/0x610 net/batman-adv/network-coding.c:728 process_one_work kernel/workqueue.c:3231 [inline] process_scheduled_works+0xa2c/0x1830 kernel/workqueue.c:3312 worker_thread+0x86d/0xd40 kernel/workqueue.c:3390 kthread+0x2f0/0x390 kernel/kthread.c:389 ret_from_fork+0x4b/0x80 arch/x86/kernel/process.c:144 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:244