INFO: task syz.1.570:6723 blocked for more than 143 seconds. Not tainted 5.15.167-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz.1.570 state:D stack:25832 pid: 6723 ppid: 6226 flags:0x00004004 Call Trace: context_switch kernel/sched/core.c:5027 [inline] __schedule+0x12c4/0x45b0 kernel/sched/core.c:6373 schedule+0x11b/0x1f0 kernel/sched/core.c:6456 schedule_preempt_disabled+0xf/0x20 kernel/sched/core.c:6515 rwsem_down_read_slowpath+0x605/0xb40 kernel/locking/rwsem.c:1055 __down_read_common kernel/locking/rwsem.c:1239 [inline] __down_read kernel/locking/rwsem.c:1252 [inline] down_read+0x9a/0x2e0 kernel/locking/rwsem.c:1500 iterate_supers+0xac/0x1e0 fs/super.c:714 quota_sync_all fs/quota/quota.c:68 [inline] __do_sys_quotactl fs/quota/quota.c:936 [inline] __se_sys_quotactl+0x347/0x770 fs/quota/quota.c:915 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x3b/0xb0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x66/0xd0 RIP: 0033:0x7f81afd41ef9 RSP: 002b:00007f81ae1ba038 EFLAGS: 00000246 ORIG_RAX: 00000000000000b3 RAX: ffffffffffffffda RBX: 00007f81afef9f80 RCX: 00007f81afd41ef9 RDX: 0000000000000000 RSI: 0000000000000000 RDI: ffffffff80000102 RBP: 00007f81afdb4b76 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000001 R14: 00007f81afef9f80 R15: 00007fffe8938b18 Showing all locks held in the system: 1 lock held by khungtaskd/27: #0: ffffffff8c91fc60 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire+0x0/0x30 2 locks held by getty/3325: #0: ffff88802a432098 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x21/0x70 drivers/tty/tty_ldisc.c:252 #1: ffffc9000229c2e8 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0x6af/0x1db0 drivers/tty/n_tty.c:2158 2 locks held by kworker/0:3/3567: #0: ffff888017072138 ((wq_completion)rcu_gp){+.+.}-{0:0}, at: process_one_work+0x78a/0x10c0 kernel/workqueue.c:2283 #1: ffffc90002e17d20 ((work_completion)(&rew.rew_work)){+.+.}-{0:0}, at: process_one_work+0x7d0/0x10c0 kernel/workqueue.c:2285 3 locks held by kworker/0:5/3614: #0: ffff888017070938 ((wq_completion)events){+.+.}-{0:0}, at: process_one_work+0x78a/0x10c0 kernel/workqueue.c:2283 #1: ffffc900036e7d20 ((work_completion)(&data->fib_event_work)){+.+.}-{0:0}, at: process_one_work+0x7d0/0x10c0 kernel/workqueue.c:2285 #2: ffff888022c3f240 (&data->fib_lock){+.+.}-{3:3}, at: nsim_fib_event_work+0x2cd/0x4120 drivers/net/netdevsim/fib.c:1478 1 lock held by syz-executor/3786: #0: ffff8880241620e0 (&type->s_umount_key#61){++++}-{3:3}, at: deactivate_super+0xa9/0xe0 fs/super.c:365 6 locks held by kworker/1:10/4934: #0: ffff888141daad38 ((wq_completion)usb_hub_wq){+.+.}-{0:0}, at: process_one_work+0x78a/0x10c0 kernel/workqueue.c:2283 #1: ffffc90002ff7d20 ((work_completion)(&hub->events)){+.+.}-{0:0}, at: process_one_work+0x7d0/0x10c0 kernel/workqueue.c:2285 #2: ffff8881480ed220 (&dev->mutex){....}-{3:3}, at: device_lock include/linux/device.h:760 [inline] #2: ffff8881480ed220 (&dev->mutex){....}-{3:3}, at: hub_event+0x208/0x54c0 drivers/usb/core/hub.c:5769 #3: ffff8880691f5220 (&dev->mutex){....}-{3:3}, at: device_lock include/linux/device.h:760 [inline] #3: ffff8880691f5220 (&dev->mutex){....}-{3:3}, at: __device_attach+0x8a/0x570 drivers/base/dd.c:954 #4: ffff888077b781a8 (&dev->mutex){....}-{3:3}, at: device_lock include/linux/device.h:760 [inline] #4: ffff888077b781a8 (&dev->mutex){....}-{3:3}, at: __device_attach+0x8a/0x570 drivers/base/dd.c:954 #5: ffff8880b913a318 (&rq->__lock){-.-.}-{2:2}, at: raw_spin_rq_lock_nested+0x26/0x140 kernel/sched/core.c:475 3 locks held by kworker/u4:17/5271: 1 lock held by syz.1.570/6723: #0: ffff8880241620e0 (&type->s_umount_key#61){++++}-{3:3}, at: iterate_supers+0xac/0x1e0 fs/super.c:714 1 lock held by syz.0.593/6835: #0: ffff8880241620e0 (&type->s_umount_key#61){++++}-{3:3}, at: iterate_supers+0xac/0x1e0 fs/super.c:714 1 lock held by syz.3.596/6840: #0: ffff8880241620e0 (&type->s_umount_key#61){++++}-{3:3}, at: iterate_supers+0xac/0x1e0 fs/super.c:714 1 lock held by syz.1.613/6923: #0: ffff8880241620e0 (&type->s_umount_key#61){++++}-{3:3}, at: iterate_supers+0xac/0x1e0 fs/super.c:714 1 lock held by syz.2.619/6982: #0: ffff8880241620e0 (&type->s_umount_key#61){++++}-{3:3}, at: iterate_supers+0xac/0x1e0 fs/super.c:714 1 lock held by syz.3.630/7111: #0: ffff8880241620e0 (&type->s_umount_key#61){++++}-{3:3}, at: iterate_supers+0xac/0x1e0 fs/super.c:714 1 lock held by syz.0.634/7132: #0: ffff8880241620e0 (&type->s_umount_key#61){++++}-{3:3}, at: iterate_supers+0xac/0x1e0 fs/super.c:714 1 lock held by syz.4.616/7136: #0: ffff8880241620e0 (&type->s_umount_key#61){++++}-{3:3}, at: iterate_supers+0xac/0x1e0 fs/super.c:714 1 lock held by syz.3.660/7303: #0: ffff8880241620e0 (&type->s_umount_key#61){++++}-{3:3}, at: iterate_supers+0xac/0x1e0 fs/super.c:714 1 lock held by syz.0.662/7329: #0: ffff8880241620e0 (&type->s_umount_key#61){++++}-{3:3}, at: iterate_supers+0xac/0x1e0 fs/super.c:714 1 lock held by syz.1.654/7403: #0: ffff8880241620e0 (&type->s_umount_key#61){++++}-{3:3}, at: iterate_supers+0xac/0x1e0 fs/super.c:714 2 locks held by syz-executor/7478: #0: ffff888020a80918 (&disk->open_mutex){+.+.}-{3:3}, at: blkdev_put+0xfb/0x790 block/bdev.c:912 #1: ffff888147a66468 (&lo->lo_mutex){+.+.}-{3:3}, at: __loop_clr_fd+0xa9/0xbe0 drivers/block/loop.c:1365 1 lock held by syz.3.702/7751: #0: ffff8880241620e0 (&type->s_umount_key#61){++++}-{3:3}, at: iterate_supers+0xac/0x1e0 fs/super.c:714 3 locks held by kworker/1:15/7758: #0: ffff888017070938 ((wq_completion)events){+.+.}-{0:0}, at: process_one_work+0x78a/0x10c0 kernel/workqueue.c:2283 #1: ffffc9000131fd20 (fqdir_free_work){+.+.}-{0:0}, at: process_one_work+0x7d0/0x10c0 kernel/workqueue.c:2285 #2: ffffffff8c924130 (rcu_state.barrier_mutex){+.+.}-{3:3}, at: rcu_barrier+0x9c/0x4e0 kernel/rcu/tree.c:4039 2 locks held by syz.2.686/7799: #0: ffff888065ec7a10 (&sb->s_type->i_mutex_key#11){+.+.}-{3:3}, at: inode_lock include/linux/fs.h:789 [inline] #0: ffff888065ec7a10 (&sb->s_type->i_mutex_key#11){+.+.}-{3:3}, at: __sock_release net/socket.c:648 [inline] #0: ffff888065ec7a10 (&sb->s_type->i_mutex_key#11){+.+.}-{3:3}, at: sock_close+0x98/0x230 net/socket.c:1336 #1: ffffffff8c924228 (rcu_state.exp_mutex){+.+.}-{3:3}, at: exp_funnel_lock kernel/rcu/tree_exp.h:290 [inline] #1: ffffffff8c924228 (rcu_state.exp_mutex){+.+.}-{3:3}, at: synchronize_rcu_expedited+0x280/0x740 kernel/rcu/tree_exp.h:845 ============================================= NMI backtrace for cpu 1 CPU: 1 PID: 27 Comm: khungtaskd Not tainted 5.15.167-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 08/06/2024 Call Trace: __dump_stack lib/dump_stack.c:88 [inline] dump_stack_lvl+0x1e3/0x2d0 lib/dump_stack.c:106 nmi_cpu_backtrace+0x46a/0x4a0 lib/nmi_backtrace.c:111 nmi_trigger_cpumask_backtrace+0x181/0x2a0 lib/nmi_backtrace.c:62 trigger_all_cpu_backtrace include/linux/nmi.h:148 [inline] check_hung_uninterruptible_tasks kernel/hung_task.c:210 [inline] watchdog+0xe72/0xeb0 kernel/hung_task.c:295 kthread+0x3f6/0x4f0 kernel/kthread.c:334 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:287 Sending NMI from CPU 1 to CPUs 0: NMI backtrace for cpu 0 CPU: 0 PID: 7567 Comm: syz-executor Not tainted 5.15.167-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 08/06/2024 RIP: 0010:__orc_find arch/x86/kernel/unwind_orc.c:50 [inline] RIP: 0010:orc_find arch/x86/kernel/unwind_orc.c:178 [inline] RIP: 0010:unwind_next_frame+0x4f9/0x1fa0 arch/x86/kernel/unwind_orc.c:448 Code: 85 db 0f 84 af 0f 00 00 48 83 c3 60 e9 56 03 00 00 a9 00 04 00 00 0f 84 a7 11 00 00 e9 bc 11 00 00 49 89 fc 49 89 fe 48 89 e8 <4c> 29 f0 48 89 c1 48 c1 f9 02 48 c1 e8 3f 48 01 c8 48 83 e0 fe 49 RSP: 0018:ffffc90003176ca8 EFLAGS: 00000216 RAX: ffffffff8e56a2d4 RBX: ffffffff8f1a0100 RCX: ffffffff8eee923a RDX: dffffc0000000000 RSI: ffffffff8eee91f8 RDI: ffffffff8e56a2ac RBP: ffffffff8e56a2d4 R08: 000000000000000b R09: ffffc90003176e50 R10: 0000000000000000 R11: dffffc0000000001 R12: ffffffff8e56a2ac R13: ffffffff8a340b4a R14: ffffffff8e56a2ac R15: ffffc90003176d60 FS: 00005555562ad500(0000) GS:ffff8880b9000000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f0b99f9aab8 CR3: 00000000401ac000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: arch_stack_walk+0x10d/0x140 arch/x86/kernel/stacktrace.c:25 stack_trace_save+0x113/0x1c0 kernel/stacktrace.c:122 kasan_save_stack mm/kasan/common.c:38 [inline] kasan_set_track+0x4b/0x80 mm/kasan/common.c:46 kasan_set_free_info+0x1f/0x40 mm/kasan/generic.c:360 ____kasan_slab_free+0xd8/0x120 mm/kasan/common.c:366 kasan_slab_free include/linux/kasan.h:230 [inline] slab_free_hook mm/slub.c:1705 [inline] slab_free_freelist_hook+0xdd/0x160 mm/slub.c:1731 slab_free mm/slub.c:3499 [inline] kfree+0xf1/0x270 mm/slub.c:4559 __do_replace+0x8ba/0xae0 net/ipv6/netfilter/ip6_tables.c:1109 do_replace net/ipv6/netfilter/ip6_tables.c:1160 [inline] do_ip6t_set_ctl+0xe9a/0x1220 net/ipv6/netfilter/ip6_tables.c:1646 nf_setsockopt+0x28a/0x2b0 net/netfilter/nf_sockopt.c:101 ipv6_setsockopt+0x2f9a/0x4380 net/ipv6/ipv6_sockglue.c:1014 tcp_setsockopt+0x23f/0x3680 net/ipv4/tcp.c:3713 __sys_setsockopt+0x57e/0x990 net/socket.c:2198 __do_sys_setsockopt net/socket.c:2209 [inline] __se_sys_setsockopt net/socket.c:2206 [inline] __x64_sys_setsockopt+0xb1/0xc0 net/socket.c:2206 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x3b/0xb0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x66/0xd0 RIP: 0033:0x7f0b99e12dea Code: ff ff ff c3 0f 1f 40 00 48 c7 c2 a8 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 a8 ff ff ff f7 RSP: 002b:00007ffc499110a8 EFLAGS: 00000206 ORIG_RAX: 0000000000000036 RAX: ffffffffffffffda RBX: 00007ffc49911130 RCX: 00007f0b99e12dea RDX: 0000000000000040 RSI: 0000000000000029 RDI: 0000000000000003 RBP: 0000000000000003 R08: 0000000000000558 R09: 0079746972756365 R10: 00007f0b99f9aa60 R11: 0000000000000206 R12: 00007f0b99f9aa00 R13: 00007ffc499110cc R14: 0000000000000000 R15: 00007f0b99f9be40