INFO: task syz.0.1121:14453 blocked for more than 143 seconds. Not tainted 6.12.0-rc2-syzkaller-00307-g36c254515dc6 #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz.0.1121 state:D stack:23424 pid:14453 tgid:14452 ppid:14180 flags:0x00000004 Call Trace: context_switch kernel/sched/core.c:5322 [inline] __schedule+0x1843/0x4ae0 kernel/sched/core.c:6682 __schedule_loop kernel/sched/core.c:6759 [inline] schedule+0x14b/0x320 kernel/sched/core.c:6774 schedule_preempt_disabled+0x13/0x30 kernel/sched/core.c:6831 rwsem_down_write_slowpath+0xeee/0x13b0 kernel/locking/rwsem.c:1176 __down_write_common kernel/locking/rwsem.c:1304 [inline] __down_write kernel/locking/rwsem.c:1313 [inline] down_write+0x1d7/0x220 kernel/locking/rwsem.c:1578 __super_lock fs/super.c:56 [inline] super_lock+0x196/0x400 fs/super.c:120 user_get_super+0xd2/0x180 fs/super.c:1000 quotactl_block fs/quota/quota.c:890 [inline] __do_sys_quotactl fs/quota/quota.c:955 [inline] __se_sys_quotactl+0x527/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:0x7efd3497dff9 RSP: 002b:00007efd35835038 EFLAGS: 00000246 ORIG_RAX: 00000000000000b3 RAX: ffffffffffffffda RBX: 00007efd34b35f80 RCX: 00007efd3497dff9 RDX: 000000000000ee01 RSI: 0000000020006280 RDI: ffffffff80000301 RBP: 00007efd349f0296 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000000 R14: 00007efd34b35f80 R15: 00007ffe3c5066a8 INFO: task syz.0.1121:14472 blocked for more than 144 seconds. Not tainted 6.12.0-rc2-syzkaller-00307-g36c254515dc6 #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz.0.1121 state:D stack:25176 pid:14472 tgid:14452 ppid:14180 flags:0x00004006 Call Trace: context_switch kernel/sched/core.c:5322 [inline] __schedule+0x1843/0x4ae0 kernel/sched/core.c:6682 __schedule_loop kernel/sched/core.c:6759 [inline] schedule+0x14b/0x320 kernel/sched/core.c:6774 xfs_ail_push_all_sync+0x236/0x310 fs/xfs/xfs_trans_ail.c:726 xfs_log_quiesce+0xdf/0x5b0 fs/xfs/xfs_log.c:1018 xfs_fs_freeze+0x8d/0x1a0 fs/xfs/xfs_super.c:936 freeze_super+0x81b/0xee0 fs/super.c:2107 fs_bdev_freeze+0x1ac/0x320 fs/super.c:1484 bdev_freeze+0xd6/0x220 block/bdev.c:257 xfs_fs_goingdown+0xa9/0x160 fs/xfs/xfs_fsops.c:446 xfs_file_ioctl+0x12e5/0x1a30 fs/xfs/xfs_ioctl.c:1343 vfs_ioctl fs/ioctl.c:51 [inline] __do_sys_ioctl fs/ioctl.c:907 [inline] __se_sys_ioctl+0xf9/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:0x7efd3497dff9 RSP: 002b:00007efd35814038 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 RAX: ffffffffffffffda RBX: 00007efd34b36058 RCX: 00007efd3497dff9 RDX: 000000002001f980 RSI: 000000008004587d RDI: 0000000000000004 RBP: 00007efd349f0296 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000000 R14: 00007efd34b36058 R15: 00007ffe3c5066a8 Showing all locks held in the system: 3 locks held by kworker/u8:1/12: #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/0x1850 kernel/workqueue.c:3310 #1: ffffc90000117d00 ((linkwatch_work).work){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3205 [inline] #1: ffffc90000117d00 ((linkwatch_work).work){+.+.}-{0:0}, at: process_scheduled_works+0x976/0x1850 kernel/workqueue.c:3310 #2: ffffffff8fcbfc48 (rtnl_mutex){+.+.}-{3:3}, at: linkwatch_event+0xe/0x60 net/core/link_watch.c:276 3 locks held by kworker/1:0/25: 1 lock held by khungtaskd/30: #0: ffffffff8e937de0 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire include/linux/rcupdate.h:337 [inline] #0: ffffffff8e937de0 (rcu_read_lock){....}-{1:2}, at: rcu_read_lock include/linux/rcupdate.h:849 [inline] #0: ffffffff8e937de0 (rcu_read_lock){....}-{1:2}, at: debug_show_all_locks+0x55/0x2a0 kernel/locking/lockdep.c:6720 3 locks held by kworker/u8:7/1081: #0: ffff88814bbc5948 ((wq_completion)ipv6_addrconf){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3204 [inline] #0: ffff88814bbc5948 ((wq_completion)ipv6_addrconf){+.+.}-{0:0}, at: process_scheduled_works+0x93b/0x1850 kernel/workqueue.c:3310 #1: ffffc90003eb7d00 ((work_completion)(&(&ifa->dad_work)->work)){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3205 [inline] #1: ffffc90003eb7d00 ((work_completion)(&(&ifa->dad_work)->work)){+.+.}-{0:0}, at: process_scheduled_works+0x976/0x1850 kernel/workqueue.c:3310 #2: ffffffff8fcbfc48 (rtnl_mutex){+.+.}-{3:3}, at: addrconf_dad_work+0xd0/0x16f0 net/ipv6/addrconf.c:4196 5 locks held by kworker/u8:8/1119: #0: ffff88801baeb148 ((wq_completion)netns){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3204 [inline] #0: ffff88801baeb148 ((wq_completion)netns){+.+.}-{0:0}, at: process_scheduled_works+0x93b/0x1850 kernel/workqueue.c:3310 #1: ffffc900040c7d00 (net_cleanup_work){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3205 [inline] #1: ffffc900040c7d00 (net_cleanup_work){+.+.}-{0:0}, at: process_scheduled_works+0x976/0x1850 kernel/workqueue.c:3310 #2: ffffffff8fcb3150 (pernet_ops_rwsem){++++}-{3:3}, at: cleanup_net+0x16a/0xcc0 net/core/net_namespace.c:580 #3: ffffffff8fcbfc48 (rtnl_mutex){+.+.}-{3:3}, at: default_device_exit_batch+0xe9/0xaa0 net/core/dev.c:11934 #4: ffffffff8e93d378 (rcu_state.exp_mutex){+.+.}-{3:3}, at: exp_funnel_lock kernel/rcu/tree_exp.h:329 [inline] #4: ffffffff8e93d378 (rcu_state.exp_mutex){+.+.}-{3:3}, at: synchronize_rcu_expedited+0x451/0x830 kernel/rcu/tree_exp.h:976 1 lock held by dhcpcd/4890: #0: ffffffff8fcbfc48 (rtnl_mutex){+.+.}-{3:3}, at: devinet_ioctl+0x2ce/0x1aa0 net/ipv4/devinet.c:1097 2 locks held by getty/4977: #0: ffff888032b6a0a0 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x25/0x70 drivers/tty/tty_ldisc.c:243 #1: ffffc90002f062f0 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0x6a6/0x1e00 drivers/tty/n_tty.c:2211 2 locks held by syz.3.128/6094: 1 lock held by syz.0.1121/14453: #0: ffff88807bd480e0 (&type->s_umount_key#56){++++}-{3:3}, at: __super_lock fs/super.c:56 [inline] #0: ffff88807bd480e0 (&type->s_umount_key#56){++++}-{3:3}, at: super_lock+0x196/0x400 fs/super.c:120 5 locks held by syz.0.1121/14472: #0: ffff888148c8c6b0 (&bdev->bd_fsfreeze_mutex){+.+.}-{3:3}, at: bdev_freeze+0x2a/0x220 block/bdev.c:248 #1: ffff88807bd48420 (sb_writers#15){++++}-{0:0}, at: sb_wait_write fs/super.c:1896 [inline] #1: ffff88807bd48420 (sb_writers#15){++++}-{0:0}, at: freeze_super+0x4e9/0xee0 fs/super.c:2085 #2: ffff88807bd480e0 (&type->s_umount_key#56){++++}-{3:3}, at: __super_lock fs/super.c:56 [inline] #2: ffff88807bd480e0 (&type->s_umount_key#56){++++}-{3:3}, at: __super_lock_excl fs/super.c:71 [inline] #2: ffff88807bd480e0 (&type->s_umount_key#56){++++}-{3:3}, at: freeze_super+0x4f1/0xee0 fs/super.c:2086 #3: ffff88807bd48518 (sb_pagefaults#7){++++}-{0:0}, at: sb_wait_write fs/super.c:1896 [inline] #3: ffff88807bd48518 (sb_pagefaults#7){++++}-{0:0}, at: freeze_super+0x519/0xee0 fs/super.c:2090 #4: ffff88807bd48610 (sb_internal#2){++++}-{0:0}, at: sb_wait_write fs/super.c:1896 [inline] #4: ffff88807bd48610 (sb_internal#2){++++}-{0:0}, at: freeze_super+0x7cc/0xee0 fs/super.c:2104 1 lock held by syz.0.1161/14820: #0: ffff88807bd480e0 (&type->s_umount_key#56){++++}-{3:3}, at: __super_lock fs/super.c:58 [inline] #0: ffff88807bd480e0 (&type->s_umount_key#56){++++}-{3:3}, at: super_lock+0x27c/0x400 fs/super.c:120 1 lock held by syz.1.1163/15210: #0: ffff88807bd480e0 (&type->s_umount_key#56){++++}-{3:3}, at: __super_lock fs/super.c:58 [inline] #0: ffff88807bd480e0 (&type->s_umount_key#56){++++}-{3:3}, at: super_lock+0x27c/0x400 fs/super.c:120 1 lock held by syz.0.1222/15265: #0: ffff88807bd480e0 (&type->s_umount_key#56){++++}-{3:3}, at: __super_lock fs/super.c:58 [inline] #0: ffff88807bd480e0 (&type->s_umount_key#56){++++}-{3:3}, at: super_lock+0x27c/0x400 fs/super.c:120 1 lock held by syz.3.1249/15392: #0: ffff88807bd480e0 (&type->s_umount_key#56){++++}-{3:3}, at: __super_lock fs/super.c:58 [inline] #0: ffff88807bd480e0 (&type->s_umount_key#56){++++}-{3:3}, at: super_lock+0x27c/0x400 fs/super.c:120 1 lock held by syz-executor/15557: #0: ffffffff8fcbfc48 (rtnl_mutex){+.+.}-{3:3}, at: rtnl_lock net/core/rtnetlink.c:79 [inline] #0: ffffffff8fcbfc48 (rtnl_mutex){+.+.}-{3:3}, at: rtnetlink_rcv_msg+0x6e6/0xcf0 net/core/rtnetlink.c:6672 1 lock held by syz-executor/15795: #0: ffffffff8fcbfc48 (rtnl_mutex){+.+.}-{3:3}, at: rtnl_lock net/core/rtnetlink.c:79 [inline] #0: ffffffff8fcbfc48 (rtnl_mutex){+.+.}-{3:3}, at: rtnetlink_rcv_msg+0x6e6/0xcf0 net/core/rtnetlink.c:6672 3 locks held by syz.1.1319/15904: #0: ffff888067538d80 (&hdev->req_lock){+.+.}-{3:3}, at: hci_dev_do_close net/bluetooth/hci_core.c:481 [inline] #0: ffff888067538d80 (&hdev->req_lock){+.+.}-{3:3}, at: hci_unregister_dev+0x203/0x510 net/bluetooth/hci_core.c:2698 #1: ffff888067538078 (&hdev->lock){+.+.}-{3:3}, at: hci_dev_close_sync+0x572/0x11a0 net/bluetooth/hci_sync.c:5183 #2: ffffffff8fe2c568 (hci_cb_list_lock){+.+.}-{3:3}, at: hci_disconn_cfm include/net/bluetooth/hci_core.h:1972 [inline] #2: ffffffff8fe2c568 (hci_cb_list_lock){+.+.}-{3:3}, at: hci_conn_hash_flush+0xa6/0x240 net/bluetooth/hci_conn.c:2592 3 locks held by syz.3.1320/15897: #0: ffff888043f28d80 (&hdev->req_lock){+.+.}-{3:3}, at: hci_dev_do_close net/bluetooth/hci_core.c:481 [inline] #0: ffff888043f28d80 (&hdev->req_lock){+.+.}-{3:3}, at: hci_unregister_dev+0x203/0x510 net/bluetooth/hci_core.c:2698 #1: ffff888043f28078 (&hdev->lock){+.+.}-{3:3}, at: hci_dev_close_sync+0x572/0x11a0 net/bluetooth/hci_sync.c:5183 #2: ffffffff8fe2c568 (hci_cb_list_lock){+.+.}-{3:3}, at: hci_disconn_cfm include/net/bluetooth/hci_core.h:1972 [inline] #2: ffffffff8fe2c568 (hci_cb_list_lock){+.+.}-{3:3}, at: hci_conn_hash_flush+0xa6/0x240 net/bluetooth/hci_conn.c:2592 3 locks held by syz.0.1325/15908: #0: ffff888031fa0d80 (&hdev->req_lock){+.+.}-{3:3}, at: hci_dev_do_close net/bluetooth/hci_core.c:481 [inline] #0: ffff888031fa0d80 (&hdev->req_lock){+.+.}-{3:3}, at: hci_unregister_dev+0x203/0x510 net/bluetooth/hci_core.c:2698 #1: ffff888031fa0078 (&hdev->lock){+.+.}-{3:3}, at: hci_dev_close_sync+0x572/0x11a0 net/bluetooth/hci_sync.c:5183 #2: ffffffff8fe2c568 (hci_cb_list_lock){+.+.}-{3:3}, at: hci_disconn_cfm include/net/bluetooth/hci_core.h:1972 [inline] #2: ffffffff8fe2c568 (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.12.0-rc2-syzkaller-00307-g36c254515dc6 #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: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: 6094 Comm: syz.3.128 Not tainted 6.12.0-rc2-syzkaller-00307-g36c254515dc6 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024 RIP: 0010:rcu_read_lock_sched_held+0x126/0x130 Code: 44 24 20 00 00 00 00 9c 8f 44 24 20 43 80 3c 34 00 74 08 4c 89 ff e8 69 fd 81 00 45 31 ff f7 44 24 20 00 02 00 00 41 0f 94 c7 6c ff ff ff e8 b0 9f 43 0a 90 90 90 90 90 90 90 90 90 90 90 90 RSP: 0018:ffffc90003b47840 EFLAGS: 00000206 RAX: 0000000080000000 RBX: 1ffff92000768f08 RCX: 0000000080000000 RDX: ffffc90009222000 RSI: ffffffff8c0adc40 RDI: ffffffff8c602720 RBP: ffffc90003b478d0 R08: ffffffff81e10849 R09: 1ffffffff2852500 R10: dffffc0000000000 R11: fffffbfff2852501 R12: 1ffff92000768f0c R13: ffffffff81e10764 R14: dffffc0000000000 R15: 0000000000000000 FS: 00007ff08498c6c0(0000) GS:ffff8880b8700000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00000000200000c0 CR3: 000000002effc000 CR4: 00000000003526f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: task_css include/linux/cgroup.h:434 [inline] mem_cgroup_from_task+0x4d/0x120 mm/memcontrol.c:866 count_memcg_events_mm include/linux/memcontrol.h:1044 [inline] count_memcg_event_mm+0x195/0x420 include/linux/memcontrol.h:1052 mm_account_fault mm/memory.c:5928 [inline] handle_mm_fault+0x1624/0x1ad0 mm/memory.c:6088 do_user_addr_fault arch/x86/mm/fault.c:1389 [inline] handle_page_fault arch/x86/mm/fault.c:1481 [inline] exc_page_fault+0x2b9/0x8c0 arch/x86/mm/fault.c:1539 asm_exc_page_fault+0x26/0x30 arch/x86/include/asm/idtentry.h:623 RIP: 0010:rep_movs_alternative+0x33/0x70 arch/x86/lib/copy_user_64.S:58 Code: 40 83 f9 08 73 21 85 c9 74 0f 8a 06 88 07 48 ff c7 48 ff c6 48 ff c9 75 f1 c3 cc cc cc cc 66 0f 1f 84 00 00 00 00 00 48 8b 06 <48> 89 07 48 83 c6 08 48 83 c7 08 83 e9 08 74 df 83 f9 08 73 e8 eb RSP: 0018:ffffc90003b47d50 EFLAGS: 00050212 RAX: 00000000670bda0f RBX: 00000000200000d0 RCX: 0000000000000010 RDX: 0000000000000000 RSI: ffffc90003b47dc0 RDI: 00000000200000c0 RBP: ffffc90003b47e30 R08: ffffc90003b47dcf R09: 1ffff92000768fb9 R10: dffffc0000000000 R11: fffff52000768fba R12: 0000000000000010 R13: dffffc0000000000 R14: 00000000200000c0 R15: ffffc90003b47dc0 copy_user_generic arch/x86/include/asm/uaccess_64.h:121 [inline] raw_copy_to_user arch/x86/include/asm/uaccess_64.h:142 [inline] _inline_copy_to_user include/linux/uaccess.h:188 [inline] _copy_to_user+0x86/0xb0 lib/usercopy.c:26 copy_to_user include/linux/uaccess.h:216 [inline] put_timespec64+0xfa/0x150 kernel/time/time.c:910 __do_sys_clock_gettime kernel/time/posix-timers.c:1159 [inline] __se_sys_clock_gettime kernel/time/posix-timers.c:1147 [inline] __x64_sys_clock_gettime+0x1d7/0x230 kernel/time/posix-timers.c:1147 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:0x7ff083b7dff9 Code: ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 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 a8 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007ff08498c038 EFLAGS: 00000246 ORIG_RAX: 00000000000000e4 RAX: ffffffffffffffda RBX: 00007ff083d35f80 RCX: 00007ff083b7dff9 RDX: 0000000000000000 RSI: 00000000200000c0 RDI: 0000000000000000 RBP: 00007ff083bf0296 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000000 R14: 00007ff083d35f80 R15: 00007ffe6f743028