INFO: task syz-executor.0:5228 blocked for more than 143 seconds. Not tainted 6.1.70-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.0 state:D stack:20096 pid:5228 ppid:3577 flags:0x00004006 Call Trace: context_switch kernel/sched/core.c:5245 [inline] __schedule+0x142d/0x4550 kernel/sched/core.c:6558 schedule+0xbf/0x180 kernel/sched/core.c:6634 io_schedule+0x88/0x100 kernel/sched/core.c:8786 bit_wait_io+0xe/0xc0 kernel/sched/wait_bit.c:209 __wait_on_bit_lock+0xcd/0x520 kernel/sched/wait_bit.c:90 out_of_line_wait_on_bit_lock+0x1d0/0x250 kernel/sched/wait_bit.c:117 lock_buffer include/linux/buffer_head.h:397 [inline] ext4_quota_write+0x378/0x570 fs/ext4/super.c:7150 qtree_write_dquot+0x23f/0x530 fs/quota/quota_tree.c:431 v2_write_dquot+0x11c/0x190 fs/quota/quota_v2.c:358 dquot_commit+0x3c0/0x510 fs/quota/dquot.c:512 ext4_write_dquot+0x1e8/0x2b0 fs/ext4/super.c:6753 mark_dquot_dirty fs/quota/dquot.c:372 [inline] mark_all_dquot_dirty fs/quota/dquot.c:410 [inline] dquot_alloc_inode+0x68a/0xb50 fs/quota/dquot.c:1838 ext4_xattr_inode_alloc_quota fs/ext4/xattr.c:883 [inline] ext4_xattr_set_entry+0xb06/0x3fb0 fs/ext4/xattr.c:1665 ext4_xattr_block_set+0x698/0x3630 fs/ext4/xattr.c:1920 ext4_xattr_set_handle+0xdac/0x1560 fs/ext4/xattr.c:2406 ext4_xattr_set+0x231/0x3d0 fs/ext4/xattr.c:2508 __vfs_setxattr+0x3e7/0x420 fs/xattr.c:182 __vfs_setxattr_noperm+0x12a/0x5e0 fs/xattr.c:216 vfs_setxattr+0x21d/0x420 fs/xattr.c:309 do_setxattr fs/xattr.c:594 [inline] setxattr+0x250/0x2b0 fs/xattr.c:617 path_setxattr+0x1bc/0x2a0 fs/xattr.c:636 __do_sys_setxattr fs/xattr.c:652 [inline] __se_sys_setxattr fs/xattr.c:648 [inline] __x64_sys_setxattr+0xb7/0xd0 fs/xattr.c:648 do_syscall_x64 arch/x86/entry/common.c:51 [inline] do_syscall_64+0x3d/0xb0 arch/x86/entry/common.c:81 entry_SYSCALL_64_after_hwframe+0x63/0xcd RIP: 0033:0x7f998267cce9 RSP: 002b:00007f99833de0c8 EFLAGS: 00000246 ORIG_RAX: 00000000000000bc RAX: ffffffffffffffda RBX: 00007f998279bf80 RCX: 00007f998267cce9 RDX: 0000000020000380 RSI: 0000000020000340 RDI: 00000000200002c0 RBP: 00007f99826c947a R08: 0000000000000000 R09: 0000000000000000 R10: 000000000000ffed R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000000b R14: 00007f998279bf80 R15: 00007ffeabc66e88 Showing all locks held in the system: 1 lock held by rcu_tasks_kthre/12: #0: ffffffff8d12a4f0 (rcu_tasks.tasks_gp_mutex){+.+.}-{3:3}, at: rcu_tasks_one_gp+0x29/0xe30 kernel/rcu/tasks.h:516 1 lock held by rcu_tasks_trace/13: #0: ffffffff8d12acf0 (rcu_tasks_trace.tasks_gp_mutex){+.+.}-{3:3}, at: rcu_tasks_one_gp+0x29/0xe30 kernel/rcu/tasks.h:516 1 lock held by khungtaskd/28: #0: ffffffff8d12a320 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire include/linux/rcupdate.h:306 [inline] #0: ffffffff8d12a320 (rcu_read_lock){....}-{1:2}, at: rcu_read_lock include/linux/rcupdate.h:747 [inline] #0: ffffffff8d12a320 (rcu_read_lock){....}-{1:2}, at: debug_show_all_locks+0x51/0x290 kernel/locking/lockdep.c:6494 1 lock held by klogd/2991: #0: ffff8880b9839e18 (&rq->__lock){-.-.}-{2:2}, at: raw_spin_rq_lock_nested+0xa8/0x140 kernel/sched/core.c:545 2 locks held by getty/3301: #0: ffff888014a49098 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x21/0x70 drivers/tty/tty_ldisc.c:244 #1: ffffc900031262f0 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0x6a7/0x1db0 drivers/tty/n_tty.c:2188 3 locks held by kworker/0:5/3635: #0: ffff888012470d38 ((wq_completion)events){+.+.}-{0:0}, at: process_one_work+0x7a9/0x11d0 kernel/workqueue.c:2267 #1: ffffc9000421fd20 ((work_completion)(&pwq->unbound_release_work)){+.+.}-{0:0}, at: process_one_work+0x7a9/0x11d0 kernel/workqueue.c:2267 #2: ffffffff8d12f8f8 ( rcu_state.exp_mutex ){+.+.}-{3:3} , at: exp_funnel_lock kernel/rcu/tree_exp.h:324 [inline] , at: synchronize_rcu_expedited+0x479/0x8a0 kernel/rcu/tree_exp.h:950 3 locks held by kworker/0:7/3638: #0: ffff888017e8d538 ((wq_completion)usb_hub_wq){+.+.}-{0:0}, at: process_one_work+0x7a9/0x11d0 kernel/workqueue.c:2267 #1: ffffc9000455fd20 ((work_completion)(&hub->events)){+.+.}-{0:0}, at: process_one_work+0x7a9/0x11d0 kernel/workqueue.c:2267 #2: ffff8881453c0190 (&dev->mutex){....}-{3:3}, at: device_lock include/linux/device.h:836 [inline] ffff8881453c0190 (&dev->mutex){....}-{3:3}, at: hub_event+0x1fe/0x5730 drivers/usb/core/hub.c:5758 3 locks held by kworker/u4:7/3833: #0: ffff8880210f4138 ((wq_completion)phy14){+.+.}-{0:0}, at: process_one_work+0x7a9/0x11d0 kernel/workqueue.c:2267 #1: ffffc90004b3fd20 ((work_completion)(&sdata->work)){+.+.}-{0:0}, at: process_one_work+0x7a9/0x11d0 kernel/workqueue.c:2267 #2: ffff88807fb10d40 (&wdev->mtx){+.+.}-{3:3}, at: sdata_lock net/mac80211/ieee80211_i.h:1114 [inline] #2: ffff88807fb10d40 (&wdev->mtx){+.+.}-{3:3}, at: ieee80211_ibss_rx_queued_mgmt+0x118/0x2dd0 net/mac80211/ibss.c:1627 4 locks held by kworker/u4:9/3867: #0: ffff888012616938 ((wq_completion)netns){+.+.}-{0:0}, at: process_one_work+0x7a9/0x11d0 kernel/workqueue.c:2267 #1: ffffc90004d87d20 (net_cleanup_work){+.+.}-{0:0}, at: process_one_work+0x7a9/0x11d0 kernel/workqueue.c:2267 #2: ffffffff8e288ed0 (pernet_ops_rwsem){++++}-{3:3}, at: cleanup_net+0xf1/0xb60 net/core/net_namespace.c:563 #3: ffffffff8d12f7c0 (rcu_state.barrier_mutex){+.+.}-{3:3}, at: rcu_barrier+0x48/0x5f0 kernel/rcu/tree.c:3986 2 locks held by kworker/u4:17/4302: #0: ffff888012479138 ((wq_completion)events_unbound){+.+.}-{0:0}, at: process_one_work+0x7a9/0x11d0 kernel/workqueue.c:2267 #1: ffffc9000bd97d20 ((quota_release_work).work){+.+.}-{0:0}, at: process_one_work+0x7a9/0x11d0 kernel/workqueue.c:2267 6 locks held by syz-executor.0/5228: #0: ffff888076db8460 (sb_writers#4){.+.+}-{0:0}, at: mnt_want_write+0x3b/0x80 fs/namespace.c:393 #1: ffff8880892e3628 (&type->i_mutex_dir_key#3){++++}-{3:3}, at: inode_lock include/linux/fs.h:756 [inline] #1: ffff8880892e3628 (&type->i_mutex_dir_key#3){++++}-{3:3}, at: vfs_setxattr+0x1dd/0x420 fs/xattr.c:308 #2: ffff8880892e32f0 (&ei->xattr_sem){++++}-{3:3}, at: ext4_write_lock_xattr fs/ext4/xattr.h:155 [inline] #2: ffff8880892e32f0 (&ei->xattr_sem){++++}-{3:3}, at: ext4_xattr_set_handle+0x270/0x1560 fs/ext4/xattr.c:2321 #3: ffffffff8d270368 (dquot_srcu){....}-{0:0}, at: rcu_lock_acquire include/linux/rcupdate.h:306 [inline] #3: ffffffff8d270368 (dquot_srcu){....}-{0:0}, at: srcu_read_lock include/linux/srcu.h:165 [inline] #3: ffffffff8d270368 (dquot_srcu){....}-{0:0}, at: dquot_alloc_inode+0x199/0xb50 fs/quota/dquot.c:1816 #4: ffff888071939228 (&dquot->dq_lock){+.+.}-{3:3}, at: dquot_commit+0x57/0x510 fs/quota/dquot.c:505 #5: ffff888076db8208 (&s->s_dquot.dqio_sem){++++}-{3:3}, at: v2_write_dquot+0x8c/0x190 fs/quota/quota_v2.c:356 6 locks held by syz-executor.4/5366: #0: ffff88807d22a460 (sb_writers#4){.+.+}-{0:0}, at: mnt_want_write+0x3b/0x80 fs/namespace.c:393 #1: ffff8880891d2c20 (&type->i_mutex_dir_key#3){++++}-{3:3}, at: inode_lock include/linux/fs.h:756 [inline] #1: ffff8880891d2c20 (&type->i_mutex_dir_key#3){++++}-{3:3}, at: vfs_setxattr+0x1dd/0x420 fs/xattr.c:308 #2: ffff8880891d28e8 (&ei->xattr_sem){++++}-{3:3}, at: ext4_write_lock_xattr fs/ext4/xattr.h:155 [inline] #2: ffff8880891d28e8 (&ei->xattr_sem){++++}-{3:3}, at: ext4_xattr_set_handle+0x270/0x1560 fs/ext4/xattr.c:2321 #3: ffffffff8d270368 (dquot_srcu){....}-{0:0}, at: rcu_lock_acquire include/linux/rcupdate.h:306 [inline] #3: ffffffff8d270368 (dquot_srcu){....}-{0:0}, at: srcu_read_lock include/linux/srcu.h:165 [inline] #3: ffffffff8d270368 (dquot_srcu){....}-{0:0}, at: dquot_alloc_inode+0x199/0xb50 fs/quota/dquot.c:1816 #4: ffff888089179068 (&dquot->dq_lock){+.+.}-{3:3}, at: dquot_commit+0x57/0x510 fs/quota/dquot.c:505 #5: ffff88807d22a208 (&s->s_dquot.dqio_sem){++++}-{3:3}, at: v2_write_dquot+0x8c/0x190 fs/quota/quota_v2.c:356 6 locks held by syz-executor.3/5787: #0: ffffffff8e2f6070 (cb_lock){++++}-{3:3}, at: genl_rcv+0x15/0x40 net/netlink/genetlink.c:860 #1: ffffffff8e295268 (rtnl_mutex){+.+.}-{3:3}, at: nl80211_pre_doit+0x5b/0x8a0 net/wireless/nl80211.c:16186 #2: ffff8880844507c8 (&rdev->wiphy.mtx){+.+.}-{3:3}, at: wiphy_lock include/net/cfg80211.h:5639 [inline] #2: ffff8880844507c8 (&rdev->wiphy.mtx){+.+.}-{3:3}, at: nl80211_pre_doit+0x58b/0x8a0 net/wireless/nl80211.c:16259 #3: ffff88807fb10d40 (&wdev->mtx){+.+.}-{3:3}, at: wdev_lock net/wireless/core.h:231 [inline] #3: ffff88807fb10d40 (&wdev->mtx){+.+.}-{3:3}, at: cfg80211_leave_ibss+0x4c/0x70 net/wireless/ibss.c:228 #4: ffff888084451780 (&local->sta_mtx){+.+.}-{3:3}, at: __sta_info_flush+0x181/0x4d0 net/mac80211/sta_info.c:1420 #5: ffffffff8d12f8f8 (rcu_state.exp_mutex){+.+.}-{3:3}, at: exp_funnel_lock kernel/rcu/tree_exp.h:324 [inline] #5: ffffffff8d12f8f8 (rcu_state.exp_mutex){+.+.}-{3:3}, at: synchronize_rcu_expedited+0x479/0x8a0 kernel/rcu/tree_exp.h:950 2 locks held by syz-executor.3/5788: #0: ffffffff8e2f6070 (cb_lock){++++}-{3:3}, at: genl_rcv+0x15/0x40 net/netlink/genetlink.c:860 #1: ffffffff8e295268 (rtnl_mutex){+.+.}-{3:3}, at: nl80211_pre_doit+0x5b/0x8a0 net/wireless/nl80211.c:16186 2 locks held by syz-executor.4/5779: #0: ffff8880892a4410 (&sb->s_type->i_mutex_key#10){+.+.}-{3:3}, at: inode_lock include/linux/fs.h:756 [inline] #0: ffff8880892a4410 (&sb->s_type->i_mutex_key#10){+.+.}-{3:3}, at: __sock_release net/socket.c:651 [inline] #0: ffff8880892a4410 (&sb->s_type->i_mutex_key#10){+.+.}-{3:3}, at: sock_close+0x98/0x230 net/socket.c:1387 #1: ffffffff8e295268 (rtnl_mutex){+.+.}-{3:3}, at: ipv6_sock_mc_close+0xc5/0x130 net/ipv6/mcast.c:354 1 lock held by syz-executor.5/5786: #0: ffffffff8e295268 (rtnl_mutex){+.+.}-{3:3}, at: do_ipv6_setsockopt+0x38d/0x43e0 net/ipv6/ipv6_sockglue.c:419 ============================================= NMI backtrace for cpu 0 CPU: 0 PID: 28 Comm: khungtaskd Not tainted 6.1.70-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 11/17/2023 Call Trace: __dump_stack lib/dump_stack.c:88 [inline] dump_stack_lvl+0x1e3/0x2cb lib/dump_stack.c:106 nmi_cpu_backtrace+0x4e1/0x560 lib/nmi_backtrace.c:111 nmi_trigger_cpumask_backtrace+0x1b0/0x3f0 lib/nmi_backtrace.c:62 trigger_all_cpu_backtrace include/linux/nmi.h:148 [inline] check_hung_uninterruptible_tasks kernel/hung_task.c:220 [inline] watchdog+0xf88/0xfd0 kernel/hung_task.c:377 kthread+0x28d/0x320 kernel/kthread.c:376 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:306 Sending NMI from CPU 0 to CPUs 1: NMI backtrace for cpu 1 CPU: 1 PID: 3970 Comm: kworker/u4:12 Not tainted 6.1.70-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 11/17/2023 Workqueue: phy13 ieee80211_iface_work RIP: 0010:memcmp+0xb/0x1e0 lib/string.c:756 Code: 80 e1 07 38 c1 0f 8c 5d ff ff ff 4c 89 ef e8 bc 79 5d f7 e9 50 ff ff ff 0f 1f 80 00 00 00 00 55 41 57 41 56 41 55 41 54 53 50 <49> 89 d6 49 89 f7 49 89 fc 48 ba 00 00 00 00 00 fc ff df 49 83 fe RSP: 0018:ffffc9000545f330 EFLAGS: 00000282 RAX: ffffffff89ea2f35 RBX: ffff888076f181a0 RCX: ffff88807eefd940 RDX: 0000000000000006 RSI: ffff88806442f49f RDI: ffff8880664f889f RBP: ffffc9000545f540 R08: ffffffff89ea2f2b R09: ffffffff89ea2de5 R10: 0000000000000002 R11: ffff88807eefd940 R12: ffff88807f454020 R13: ffffc9000545f5a8 R14: 0000000000000001 R15: dffffc0000000000 FS: 0000000000000000(0000) GS:ffff8880b9900000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000055555603a918 CR3: 000000000ce8e000 CR4: 00000000003506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: rb_find_bss net/wireless/scan.c:1562 [inline] cfg80211_bss_update+0xf6/0x20d0 net/wireless/scan.c:1770 cfg80211_inform_single_bss_frame_data net/wireless/scan.c:2430 [inline] cfg80211_inform_bss_frame_data+0xae4/0x1680 net/wireless/scan.c:2463 ieee80211_bss_info_update+0x847/0xf00 net/mac80211/scan.c:190 ieee80211_rx_bss_info net/mac80211/ibss.c:1120 [inline] ieee80211_rx_mgmt_probe_beacon net/mac80211/ibss.c:1609 [inline] ieee80211_ibss_rx_queued_mgmt+0x1962/0x2dd0 net/mac80211/ibss.c:1638 ieee80211_iface_process_skb net/mac80211/iface.c:1632 [inline] ieee80211_iface_work+0x7aa/0xce0 net/mac80211/iface.c:1686 process_one_work+0x8a9/0x11d0 kernel/workqueue.c:2292 worker_thread+0xa47/0x1200 kernel/workqueue.c:2439 kthread+0x28d/0x320 kernel/kthread.c:376 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:306