INFO: task syz-executor.1:13424 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.1 state:D stack:19480 pid:13424 ppid:3913 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:0x7f8a55a7cce9 RSP: 002b:00007f8a5689f0c8 EFLAGS: 00000246 ORIG_RAX: 00000000000000bc RAX: ffffffffffffffda RBX: 00007f8a55b9bf80 RCX: 00007f8a55a7cce9 RDX: 0000000020000380 RSI: 0000000020000340 RDI: 00000000200002c0 RBP: 00007f8a55ac947a R08: 0000000000000000 R09: 0000000000000000 R10: 000000000000ffed R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000000b R14: 00007f8a55b9bf80 R15: 00007ffc23c593d8 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 2 locks held by getty/3303: #0: ffff888028e9b098 (&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/1:13/4751: #0: ffff888012671938 ((wq_completion)usb_hub_wq){+.+.}-{0:0}, at: process_one_work+0x7a9/0x11d0 kernel/workqueue.c:2267 #1: ffffc900037ffd20 ((work_completion)(&hub->events)){+.+.}-{0:0}, at: process_one_work+0x7a9/0x11d0 kernel/workqueue.c:2267 #2: ffff8881447a9190 (&dev->mutex){....}-{3:3}, at: device_lock include/linux/device.h:836 [inline] #2: ffff8881447a9190 (&dev->mutex){....}-{3:3}, at: hub_event+0x1fe/0x5730 drivers/usb/core/hub.c:5758 2 locks held by kworker/u4:138/9479: #0: ffff888012479138 ((wq_completion)events_unbound){+.+.}-{0:0}, at: process_one_work+0x7a9/0x11d0 kernel/workqueue.c:2267 #1: ffffc900063efd20 ((quota_release_work).work){+.+.}-{0:0}, at: process_one_work+0x7a9/0x11d0 kernel/workqueue.c:2267 6 locks held by syz-executor.1/13424: #0: ffff888021506460 (sb_writers#4){.+.+}-{0:0}, at: mnt_want_write+0x3b/0x80 fs/namespace.c:393 #1: ffff888071d4ac20 (&type->i_mutex_dir_key#3){++++}-{3:3}, at: inode_lock include/linux/fs.h:756 [inline] #1: ffff888071d4ac20 (&type->i_mutex_dir_key#3){++++}-{3:3}, at: vfs_setxattr+0x1dd/0x420 fs/xattr.c:308 #2: ffff888071d4a8e8 (&ei->xattr_sem){++++}-{3:3}, at: ext4_write_lock_xattr fs/ext4/xattr.h:155 [inline] #2: ffff888071d4a8e8 (&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: ffff888071ece428 (&dquot->dq_lock){+.+.}-{3:3}, at: dquot_commit+0x57/0x510 fs/quota/dquot.c:505 #5: ffff888021506208 (&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.0/13518: #0: ffff8880786d2460 (sb_writers#4){.+.+}-{0:0}, at: mnt_want_write+0x3b/0x80 fs/namespace.c:393 #1: ffff888048294030 (&type->i_mutex_dir_key#3){++++}-{3:3}, at: inode_lock include/linux/fs.h:756 [inline] #1: ffff888048294030 (&type->i_mutex_dir_key#3){++++}-{3:3}, at: vfs_setxattr+0x1dd/0x420 fs/xattr.c:308 #2: ffff888048293cf8 (&ei->xattr_sem){++++}-{3:3}, at: ext4_write_lock_xattr fs/ext4/xattr.h:155 [inline] #2: ffff888048293cf8 (&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: ffff888071ecf3e8 (&dquot->dq_lock){+.+.}-{3:3}, at: dquot_commit+0x57/0x510 fs/quota/dquot.c:505 #5: ffff8880786d2208 (&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.2/13520: #0: ffff88802a30e460 (sb_writers#4){.+.+}-{0:0}, at: mnt_want_write+0x3b/0x80 fs/namespace.c:393 #1: ffff88802cc7c030 (&type->i_mutex_dir_key#3){++++}-{3:3}, at: inode_lock include/linux/fs.h:756 [inline] #1: ffff88802cc7c030 (&type->i_mutex_dir_key#3){++++}-{3:3}, at: vfs_setxattr+0x1dd/0x420 fs/xattr.c:308 #2: ffff88802cc7bcf8 (&ei->xattr_sem){++++}-{3:3}, at: ext4_write_lock_xattr fs/ext4/xattr.h:155 [inline] #2: ffff88802cc7bcf8 (&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: ffff888071ecf5a8 (&dquot->dq_lock){+.+.}-{3:3}, at: dquot_commit+0x57/0x510 fs/quota/dquot.c:505 #5: ffff88802a30e208 (&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/13536: #0: ffff88807b46c460 (sb_writers#4){.+.+}-{0:0}, at: mnt_want_write+0x3b/0x80 fs/namespace.c:393 #1: ffff888048293628 (&type->i_mutex_dir_key#3){++++}-{3:3}, at: inode_lock include/linux/fs.h:756 [inline] #1: ffff888048293628 (&type->i_mutex_dir_key#3){++++}-{3:3}, at: vfs_setxattr+0x1dd/0x420 fs/xattr.c:308 #2: ffff8880482932f0 (&ei->xattr_sem){++++}-{3:3}, at: ext4_write_lock_xattr fs/ext4/xattr.h:155 [inline] #2: ffff8880482932f0 (&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: ffff8880481b2ce8 (&dquot->dq_lock){+.+.}-{3:3}, at: dquot_commit+0x57/0x510 fs/quota/dquot.c:505 #5: ffff88807b46c208 (&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.5/13546: #0: ffff88802beb6460 (sb_writers#4){.+.+}-{0:0}, at: mnt_want_write+0x3b/0x80 fs/namespace.c:393 #1: ffff88804ef78400 (&type->i_mutex_dir_key#3){++++}-{3:3}, at: inode_lock include/linux/fs.h:756 [inline] #1: ffff88804ef78400 (&type->i_mutex_dir_key#3){++++}-{3:3}, at: vfs_setxattr+0x1dd/0x420 fs/xattr.c:308 #2: ffff88804ef780c8 (&ei->xattr_sem){++++}-{3:3}, at: ext4_write_lock_xattr fs/ext4/xattr.h:155 [inline] #2: ffff88804ef780c8 (&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: ffff8880481b2b28 (&dquot->dq_lock){+.+.}-{3:3}, at: dquot_commit+0x57/0x510 fs/quota/dquot.c:505 #5: ffff88802beb6208 (&s->s_dquot.dqio_sem){++++}-{3:3}, at: v2_write_dquot+0x8c/0x190 fs/quota/quota_v2.c:356 2 locks held by syz-executor.3/13841: #0: ffff88804feabc68 (&pipe->mutex/1){+.+.}-{3:3}, at: splice_from_pipe fs/splice.c:593 [inline] #0: ffff88804feabc68 (&pipe->mutex/1){+.+.}-{3:3}, at: generic_splice_sendpage+0x183/0x220 fs/splice.c:743 #1: ffff8880b9839e18 (&rq->__lock){-.-.}-{2:2}, at: raw_spin_rq_lock_nested+0x26/0x140 kernel/sched/core.c:537 3 locks held by syz-executor.2/13840: 2 locks held by syz-executor.1/13844: 2 locks held by syz-executor.5/13845: #0: ffff8880796d9068 (&pipe->mutex/1){+.+.}-{3:3}, at: splice_from_pipe fs/splice.c:593 [inline] #0: ffff8880796d9068 (&pipe->mutex/1){+.+.}-{3:3}, at: generic_splice_sendpage+0x183/0x220 fs/splice.c:743 #1: ffffffff920ad160 (nfnl_subsys_ctnetlink){+.+.}-{3:3}, at: nfnl_lock net/netfilter/nfnetlink.c:98 [inline] #1: ffffffff920ad160 (nfnl_subsys_ctnetlink){+.+.}-{3:3}, at: nfnetlink_rcv_msg+0xa4a/0x1160 net/netfilter/nfnetlink.c:295 2 locks held by syz-executor.4/13846: ============================================= NMI backtrace for cpu 1 CPU: 1 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 1 to CPUs 0: NMI backtrace for cpu 0 CPU: 0 PID: 13582 Comm: syz-executor.3 Not tainted 6.1.70-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 11/17/2023 RIP: 0010:hlock_class kernel/locking/lockdep.c:228 [inline] RIP: 0010:mark_lock+0xa2/0x340 kernel/locking/lockdep.c:4606 Code: 00 8b 1b 81 e3 ff 1f 00 00 48 89 d8 48 c1 e8 06 48 8d 3c c5 20 02 49 90 be 08 00 00 00 e8 56 35 77 00 48 0f a3 1d 4e 47 de 0e <73> 11 48 8d 04 5b 48 c1 e0 06 48 8d 98 20 61 18 90 eb 23 48 c7 c0 RSP: 0018:ffffc9000590f4b8 EFLAGS: 00000057 RAX: 0000000000000001 RBX: 00000000000000a4 RCX: ffffffff816abaca RDX: 0000000000000000 RSI: 0000000000000008 RDI: ffffffff90490230 RBP: 0000000000000006 R08: dffffc0000000000 R09: fffffbfff2092047 R10: 0000000000000000 R11: dffffc0000000001 R12: ffff888046066418 R13: dffffc0000000000 R14: 0000000000000040 R15: ffff888046066470 FS: 00005555574f1480(0000) GS:ffff8880b9800000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f0ab797c1f8 CR3: 00000000339ac000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: __lock_acquire+0xc50/0x1f80 kernel/locking/lockdep.c:5003 lock_acquire+0x1f8/0x5a0 kernel/locking/lockdep.c:5662 fs_reclaim_acquire+0xaa/0x120 mm/page_alloc.c:4687 might_alloc include/linux/sched/mm.h:271 [inline] slab_pre_alloc_hook+0x2a/0x300 mm/slab.h:710 slab_alloc_node mm/slub.c:3318 [inline] __kmem_cache_alloc_node+0x47/0x260 mm/slub.c:3437 __do_kmalloc_node mm/slab_common.c:954 [inline] __kmalloc+0xa1/0x230 mm/slab_common.c:968 kmalloc include/linux/slab.h:558 [inline] kzalloc include/linux/slab.h:689 [inline] xt_jumpstack_alloc net/netfilter/x_tables.c:1334 [inline] xt_replace_table+0x90/0x790 net/netfilter/x_tables.c:1393 __do_replace+0x1a4/0xa60 net/ipv4/netfilter/ip_tables.c:1066 do_replace net/ipv4/netfilter/ip_tables.c:1139 [inline] do_ipt_set_ctl+0x285c/0x3db0 net/ipv4/netfilter/ip_tables.c:1629 nf_setsockopt+0x28a/0x2b0 net/netfilter/nf_sockopt.c:101 __sys_setsockopt+0x57e/0xa00 net/socket.c:2269 __do_sys_setsockopt net/socket.c:2280 [inline] __se_sys_setsockopt net/socket.c:2277 [inline] __x64_sys_setsockopt+0xb1/0xc0 net/socket.c:2277 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:0x7f0ab787ea3a Code: ff ff ff c3 0f 1f 40 00 48 c7 c2 b0 ff ff ff f7 d8 64 89 02 48 c7 c0 ff ff ff ff eb b7 0f 1f 00 49 89 ca b8 36 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 06 c3 0f 1f 44 00 00 48 c7 c2 b0 ff ff ff f7 RSP: 002b:00007ffe77ce83f8 EFLAGS: 00000202 ORIG_RAX: 0000000000000036 RAX: ffffffffffffffda RBX: 00007ffe77ce8480 RCX: 00007f0ab787ea3a RDX: 0000000000000040 RSI: 0000000000000000 RDI: 0000000000000003 RBP: 0000000000000003 R08: 0000000000000240 R09: 00007ffe77ce8837 R10: 00007f0ab797c1a0 R11: 0000000000000202 R12: 00007f0ab797c140 R13: 00007ffe77ce841c R14: 0000000000000000 R15: 00007f0ab797cec0