INFO: task kworker/0:2:1107 blocked for more than 143 seconds. Not tainted 6.2.0-rc3-syzkaller-00021-g7dd4b804e080 #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:kworker/0:2 state:D stack:24368 pid:1107 ppid:2 flags:0x00004000 Workqueue: usb_hub_wq hub_event Call Trace: context_switch kernel/sched/core.c:5244 [inline] __schedule+0xb8a/0x5450 kernel/sched/core.c:6555 schedule+0xde/0x1b0 kernel/sched/core.c:6631 rwsem_down_read_slowpath+0x5a7/0xb20 kernel/locking/rwsem.c:1095 __down_read_common kernel/locking/rwsem.c:1260 [inline] __down_read kernel/locking/rwsem.c:1269 [inline] down_read+0xe6/0x450 kernel/locking/rwsem.c:1511 kernfs_find_and_get_ns+0x73/0xc0 fs/kernfs/dir.c:891 kernfs_find_and_get include/linux/kernfs.h:597 [inline] sysfs_unmerge_group+0x61/0x170 fs/sysfs/group.c:365 dev_pm_qos_constraints_destroy+0x30/0x790 drivers/base/power/qos.c:259 dpm_sysfs_remove+0x6e/0xb0 drivers/base/power/sysfs.c:834 device_del+0x20f/0xc80 drivers/base/core.c:3643 device_unregister+0x1e/0xc0 drivers/base/core.c:3698 usb_remove_ep_devs+0x42/0x80 drivers/usb/core/endpoint.c:188 usb_disconnect.cold+0x489/0x6ed drivers/usb/core/hub.c:2254 hub_port_connect drivers/usb/core/hub.c:5244 [inline] hub_port_connect_change drivers/usb/core/hub.c:5549 [inline] port_event drivers/usb/core/hub.c:5709 [inline] hub_event+0x1fb5/0x4810 drivers/usb/core/hub.c:5791 process_one_work+0x9bf/0x1710 kernel/workqueue.c:2289 process_scheduled_works kernel/workqueue.c:2352 [inline] worker_thread+0x858/0x1090 kernel/workqueue.c:2438 kthread+0x2e8/0x3a0 kernel/kthread.c:376 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:308 INFO: task udevd:4428 blocked for more than 143 seconds. Not tainted 6.2.0-rc3-syzkaller-00021-g7dd4b804e080 #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:udevd state:D stack:26176 pid:4428 ppid:1 flags:0x00004000 Call Trace: context_switch kernel/sched/core.c:5244 [inline] __schedule+0xb8a/0x5450 kernel/sched/core.c:6555 schedule+0xde/0x1b0 kernel/sched/core.c:6631 rwsem_down_read_slowpath+0x5a7/0xb20 kernel/locking/rwsem.c:1095 __down_read_common kernel/locking/rwsem.c:1260 [inline] __down_read kernel/locking/rwsem.c:1269 [inline] down_read+0xe6/0x450 kernel/locking/rwsem.c:1511 kernfs_dop_revalidate+0xf0/0x5b0 fs/kernfs/dir.c:1130 d_revalidate fs/namei.c:856 [inline] d_revalidate fs/namei.c:853 [inline] lookup_fast+0x22d/0x520 fs/namei.c:1646 walk_component+0x5e/0x5a0 fs/namei.c:1989 link_path_walk.part.0+0x730/0xdf0 fs/namei.c:2320 link_path_walk fs/namei.c:2245 [inline] path_openat+0x25c/0x2a50 fs/namei.c:3710 do_filp_open+0x1ba/0x410 fs/namei.c:3741 do_sys_openat2+0x16d/0x4c0 fs/open.c:1310 do_sys_open fs/open.c:1326 [inline] __do_sys_openat fs/open.c:1342 [inline] __se_sys_openat fs/open.c:1337 [inline] __x64_sys_openat+0x143/0x1f0 fs/open.c:1337 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x39/0xb0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x63/0xcd RIP: 0033:0x7f397b9995a4 RSP: 002b:00007ffc80fd0098 EFLAGS: 00000287 ORIG_RAX: 0000000000000101 RAX: ffffffffffffffda RBX: 00005608603cde50 RCX: 00007f397b9995a4 RDX: 0000000000090800 RSI: 00005608603a28e0 RDI: 00000000ffffff9c RBP: 00005608603e1870 R08: 0000000000090800 R09: 00005608603a28e0 R10: 0000000000000000 R11: 0000000000000287 R12: 00005608603a28e0 R13: 00000000000000ff R14: 00007ffc80fd00f0 R15: 0000000000000000 INFO: task syz-executor.0:5101 blocked for more than 144 seconds. Not tainted 6.2.0-rc3-syzkaller-00021-g7dd4b804e080 #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.0 state:D stack:24312 pid:5101 ppid:1 flags:0x00000004 Call Trace: context_switch kernel/sched/core.c:5244 [inline] __schedule+0xb8a/0x5450 kernel/sched/core.c:6555 schedule+0xde/0x1b0 kernel/sched/core.c:6631 rwsem_down_read_slowpath+0x5a7/0xb20 kernel/locking/rwsem.c:1095 __down_read_common kernel/locking/rwsem.c:1260 [inline] __down_read kernel/locking/rwsem.c:1269 [inline] down_read+0xe6/0x450 kernel/locking/rwsem.c:1511 kernfs_iop_permission+0xbc/0x120 fs/kernfs/inode.c:288 do_inode_permission fs/namei.c:458 [inline] inode_permission.part.0+0x3d6/0x670 fs/namei.c:525 inode_permission fs/namei.c:506 [inline] may_lookup fs/namei.c:1715 [inline] link_path_walk.part.0+0x81e/0xdf0 fs/namei.c:2262 link_path_walk fs/namei.c:2245 [inline] path_openat+0x25c/0x2a50 fs/namei.c:3710 do_filp_open+0x1ba/0x410 fs/namei.c:3741 do_sys_openat2+0x16d/0x4c0 fs/open.c:1310 do_sys_open fs/open.c:1326 [inline] __do_sys_openat fs/open.c:1342 [inline] __se_sys_openat fs/open.c:1337 [inline] __x64_sys_openat+0x143/0x1f0 fs/open.c:1337 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x39/0xb0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x63/0xcd RIP: 0033:0x7fabaa08bc38 RSP: 002b:00007fff51dafd00 EFLAGS: 00000287 ORIG_RAX: 0000000000000101 RAX: ffffffffffffffda RBX: 0000000000000095 RCX: 00007fabaa08bc38 RDX: 0000000000090800 RSI: 00007fabaa0e6bc8 RDI: 00000000ffffff9c RBP: 00007fff51dafdcc R08: 0000000000090800 R09: 00007fabaa0e6bc8 R10: 0000000000000000 R11: 0000000000000287 R12: 0000000000000000 R13: 000000000005de67 R14: 000000000000000e R15: 00007fff51dafe30 INFO: task syz-executor.1:5102 blocked for more than 144 seconds. Not tainted 6.2.0-rc3-syzkaller-00021-g7dd4b804e080 #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.1 state:D stack:22992 pid:5102 ppid:1 flags:0x00000004 Call Trace: context_switch kernel/sched/core.c:5244 [inline] __schedule+0xb8a/0x5450 kernel/sched/core.c:6555 schedule+0xde/0x1b0 kernel/sched/core.c:6631 rwsem_down_read_slowpath+0x5a7/0xb20 kernel/locking/rwsem.c:1095 __down_read_common kernel/locking/rwsem.c:1260 [inline] __down_read kernel/locking/rwsem.c:1269 [inline] down_read+0xe6/0x450 kernel/locking/rwsem.c:1511 kernfs_iop_permission+0xbc/0x120 fs/kernfs/inode.c:288 do_inode_permission fs/namei.c:458 [inline] inode_permission.part.0+0x3d6/0x670 fs/namei.c:525 inode_permission fs/namei.c:506 [inline] may_lookup fs/namei.c:1715 [inline] link_path_walk.part.0+0x81e/0xdf0 fs/namei.c:2262 link_path_walk fs/namei.c:2245 [inline] path_openat+0x25c/0x2a50 fs/namei.c:3710 do_filp_open+0x1ba/0x410 fs/namei.c:3741 do_sys_openat2+0x16d/0x4c0 fs/open.c:1310 do_sys_open fs/open.c:1326 [inline] __do_sys_openat fs/open.c:1342 [inline] __se_sys_openat fs/open.c:1337 [inline] __x64_sys_openat+0x143/0x1f0 fs/open.c:1337 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x39/0xb0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x63/0xcd RIP: 0033:0x7f965f68bc38 RSP: 002b:00007ffe39466390 EFLAGS: 00000287 ORIG_RAX: 0000000000000101 RAX: ffffffffffffffda RBX: 000000000000009f RCX: 00007f965f68bc38 RDX: 0000000000090800 RSI: 00007f965f6e6bc8 RDI: 00000000ffffff9c RBP: 00007ffe3946645c R08: 0000000000090800 R09: 00007f965f6e6bc8 R10: 0000000000000000 R11: 0000000000000287 R12: 0000000000000000 R13: 000000000005db12 R14: 000000000000001e R15: 00007ffe394664c0 INFO: task syz-executor.5:5106 blocked for more than 145 seconds. Not tainted 6.2.0-rc3-syzkaller-00021-g7dd4b804e080 #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.5 state:D stack:24336 pid:5106 ppid:1 flags:0x00000004 Call Trace: context_switch kernel/sched/core.c:5244 [inline] __schedule+0xb8a/0x5450 kernel/sched/core.c:6555 schedule+0xde/0x1b0 kernel/sched/core.c:6631 rwsem_down_read_slowpath+0x5a7/0xb20 kernel/locking/rwsem.c:1095 __down_read_common kernel/locking/rwsem.c:1260 [inline] __down_read kernel/locking/rwsem.c:1269 [inline] down_read+0xe6/0x450 kernel/locking/rwsem.c:1511 kernfs_iop_permission+0xbc/0x120 fs/kernfs/inode.c:288 do_inode_permission fs/namei.c:458 [inline] inode_permission.part.0+0x3d6/0x670 fs/namei.c:525 inode_permission fs/namei.c:506 [inline] may_lookup fs/namei.c:1715 [inline] link_path_walk.part.0+0x81e/0xdf0 fs/namei.c:2262 link_path_walk fs/namei.c:2245 [inline] path_openat+0x25c/0x2a50 fs/namei.c:3710 do_filp_open+0x1ba/0x410 fs/namei.c:3741 do_sys_openat2+0x16d/0x4c0 fs/open.c:1310 do_sys_open fs/open.c:1326 [inline] __do_sys_openat fs/open.c:1342 [inline] __se_sys_openat fs/open.c:1337 [inline] __x64_sys_openat+0x143/0x1f0 fs/open.c:1337 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x39/0xb0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x63/0xcd RIP: 0033:0x7fa63ca8bc38 RSP: 002b:00007ffc402a5bb0 EFLAGS: 00000287 ORIG_RAX: 0000000000000101 RAX: ffffffffffffffda RBX: 000000000000007a RCX: 00007fa63ca8bc38 RDX: 0000000000090800 RSI: 00007fa63cae6bc8 RDI: 00000000ffffff9c RBP: 00007ffc402a5c7c R08: 0000000000090800 R09: 00007fa63cae6bc8 R10: 0000000000000000 R11: 0000000000000287 R12: 0000000000000000 R13: 000000000005e163 R14: 000000000000000b R15: 00007ffc402a5ce0 INFO: task syz-executor.2:5111 blocked for more than 145 seconds. Not tainted 6.2.0-rc3-syzkaller-00021-g7dd4b804e080 #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.2 state:D stack:23640 pid:5111 ppid:1 flags:0x00004004 Call Trace: context_switch kernel/sched/core.c:5244 [inline] __schedule+0xb8a/0x5450 kernel/sched/core.c:6555 schedule+0xde/0x1b0 kernel/sched/core.c:6631 rwsem_down_read_slowpath+0x5a7/0xb20 kernel/locking/rwsem.c:1095 __down_read_common kernel/locking/rwsem.c:1260 [inline] __down_read kernel/locking/rwsem.c:1269 [inline] down_read+0xe6/0x450 kernel/locking/rwsem.c:1511 kernfs_find_and_get_ns+0x73/0xc0 fs/kernfs/dir.c:891 kernfs_find_and_get include/linux/kernfs.h:597 [inline] sysfs_remove_group+0x73/0x170 fs/sysfs/group.c:276 loop_sysfs_exit drivers/block/loop.c:753 [inline] __loop_clr_fd+0x685/0x8a0 drivers/block/loop.c:1165 lo_release+0x187/0x1c0 drivers/block/loop.c:1745 blkdev_put_whole+0xbb/0xf0 block/bdev.c:695 blkdev_put+0x22a/0x770 block/bdev.c:953 deactivate_locked_super+0x98/0x160 fs/super.c:332 deactivate_super+0xb1/0xd0 fs/super.c:363 cleanup_mnt+0x2ae/0x3d0 fs/namespace.c:1291 task_work_run+0x16f/0x270 kernel/task_work.c:179 resume_user_mode_work include/linux/resume_user_mode.h:49 [inline] exit_to_user_mode_loop kernel/entry/common.c:171 [inline] exit_to_user_mode_prepare+0x23c/0x250 kernel/entry/common.c:203 __syscall_exit_to_user_mode_work kernel/entry/common.c:285 [inline] syscall_exit_to_user_mode+0x1d/0x50 kernel/entry/common.c:296 do_syscall_64+0x46/0xb0 arch/x86/entry/common.c:86 entry_SYSCALL_64_after_hwframe+0x63/0xcd RIP: 0033:0x7f73c688d537 RSP: 002b:00007ffcb468a2f8 EFLAGS: 00000246 ORIG_RAX: 00000000000000a6 RAX: 0000000000000000 RBX: 0000000000000000 RCX: 00007f73c688d537 RDX: 00007ffcb468a3ca RSI: 000000000000000a RDI: 00007ffcb468a3c0 RBP: 00007ffcb468a3c0 R08: 00000000ffffffff R09: 00007ffcb468a190 R10: 0000555555d538b3 R11: 0000000000000246 R12: 00007f73c68e6b24 R13: 00007ffcb468b480 R14: 0000555555d53810 R15: 00007ffcb468b4c0 INFO: task syz-executor.4:5114 blocked for more than 146 seconds. Not tainted 6.2.0-rc3-syzkaller-00021-g7dd4b804e080 #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.4 state:D stack:24320 pid:5114 ppid:1 flags:0x00000004 Call Trace: context_switch kernel/sched/core.c:5244 [inline] __schedule+0xb8a/0x5450 kernel/sched/core.c:6555 schedule+0xde/0x1b0 kernel/sched/core.c:6631 rwsem_down_read_slowpath+0x5a7/0xb20 kernel/locking/rwsem.c:1095 __down_read_common kernel/locking/rwsem.c:1260 [inline] __down_read kernel/locking/rwsem.c:1269 [inline] down_read+0xe6/0x450 kernel/locking/rwsem.c:1511 kernfs_iop_permission+0xbc/0x120 fs/kernfs/inode.c:288 do_inode_permission fs/namei.c:458 [inline] inode_permission.part.0+0x3d6/0x670 fs/namei.c:525 inode_permission fs/namei.c:506 [inline] may_lookup fs/namei.c:1715 [inline] link_path_walk.part.0+0x81e/0xdf0 fs/namei.c:2262 link_path_walk fs/namei.c:2245 [inline] path_openat+0x25c/0x2a50 fs/namei.c:3710 do_filp_open+0x1ba/0x410 fs/namei.c:3741 do_sys_openat2+0x16d/0x4c0 fs/open.c:1310 do_sys_open fs/open.c:1326 [inline] __do_sys_openat fs/open.c:1342 [inline] __se_sys_openat fs/open.c:1337 [inline] __x64_sys_openat+0x143/0x1f0 fs/open.c:1337 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x39/0xb0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x63/0xcd RIP: 0033:0x7f0bfb88bc38 RSP: 002b:00007ffd69a21b30 EFLAGS: 00000287 ORIG_RAX: 0000000000000101 RAX: ffffffffffffffda RBX: 000000000000007a RCX: 00007f0bfb88bc38 RDX: 0000000000090800 RSI: 00007f0bfb8e6bc8 RDI: 00000000ffffff9c RBP: 00007ffd69a21bfc R08: 0000000000090800 R09: 00007f0bfb8e6bc8 R10: 0000000000000000 R11: 0000000000000287 R12: 0000000000000000 R13: 000000000005dd5d R14: 000000000000000e R15: 00007ffd69a21c60 INFO: task syz-executor.3:5117 blocked for more than 146 seconds. Not tainted 6.2.0-rc3-syzkaller-00021-g7dd4b804e080 #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.3 state:D stack:24232 pid:5117 ppid:1 flags:0x00000004 Call Trace: context_switch kernel/sched/core.c:5244 [inline] __schedule+0xb8a/0x5450 kernel/sched/core.c:6555 schedule+0xde/0x1b0 kernel/sched/core.c:6631 rwsem_down_read_slowpath+0x5a7/0xb20 kernel/locking/rwsem.c:1095 __down_read_common kernel/locking/rwsem.c:1260 [inline] __down_read kernel/locking/rwsem.c:1269 [inline] down_read+0xe6/0x450 kernel/locking/rwsem.c:1511 kernfs_iop_permission+0xbc/0x120 fs/kernfs/inode.c:288 do_inode_permission fs/namei.c:458 [inline] inode_permission.part.0+0x3d6/0x670 fs/namei.c:525 inode_permission fs/namei.c:506 [inline] may_lookup fs/namei.c:1715 [inline] link_path_walk.part.0+0x81e/0xdf0 fs/namei.c:2262 link_path_walk fs/namei.c:2245 [inline] path_openat+0x25c/0x2a50 fs/namei.c:3710 do_filp_open+0x1ba/0x410 fs/namei.c:3741 do_sys_openat2+0x16d/0x4c0 fs/open.c:1310 do_sys_open fs/open.c:1326 [inline] __do_sys_openat fs/open.c:1342 [inline] __se_sys_openat fs/open.c:1337 [inline] __x64_sys_openat+0x143/0x1f0 fs/open.c:1337 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x39/0xb0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x63/0xcd RIP: 0033:0x7f4b2988bc38 RSP: 002b:00007ffd9e3eb430 EFLAGS: 00000287 ORIG_RAX: 0000000000000101 RAX: ffffffffffffffda RBX: 000000000000008f RCX: 00007f4b2988bc38 RDX: 0000000000090800 RSI: 00007f4b298e6bc8 RDI: 00000000ffffff9c RBP: 00007ffd9e3eb4fc R08: 0000000000090800 R09: 00007f4b298e6bc8 R10: 0000000000000000 R11: 0000000000000287 R12: 0000000000000000 R13: 000000000005e12b R14: 0000000000000009 R15: 00007ffd9e3eb560 INFO: task modprobe:6452 blocked for more than 146 seconds. Not tainted 6.2.0-rc3-syzkaller-00021-g7dd4b804e080 #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:modprobe state:D stack:26664 pid:6452 ppid:5177 flags:0x00004000 Call Trace: context_switch kernel/sched/core.c:5244 [inline] __schedule+0xb8a/0x5450 kernel/sched/core.c:6555 schedule+0xde/0x1b0 kernel/sched/core.c:6631 rwsem_down_read_slowpath+0x5a7/0xb20 kernel/locking/rwsem.c:1095 __down_read_common kernel/locking/rwsem.c:1260 [inline] __down_read kernel/locking/rwsem.c:1269 [inline] down_read+0xe6/0x450 kernel/locking/rwsem.c:1511 kernfs_dop_revalidate+0x39a/0x5b0 fs/kernfs/dir.c:1112 d_revalidate fs/namei.c:856 [inline] d_revalidate fs/namei.c:853 [inline] lookup_fast+0x22d/0x520 fs/namei.c:1646 walk_component+0x5e/0x5a0 fs/namei.c:1989 lookup_last fs/namei.c:2450 [inline] path_lookupat+0x1ba/0x840 fs/namei.c:2474 filename_lookup+0x1d2/0x590 fs/namei.c:2503 user_path_at_empty+0x46/0x60 fs/namei.c:2876 user_path_at include/linux/namei.h:57 [inline] user_statfs+0x8a/0x170 fs/statfs.c:103 __do_sys_statfs+0x7a/0xf0 fs/statfs.c:195 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x39/0xb0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x63/0xcd RIP: 0033:0x7f7451b1f2a7 RSP: 002b:00007fff948c5f88 EFLAGS: 00000246 ORIG_RAX: 0000000000000089 RAX: ffffffffffffffda RBX: 00007f7451a1c4f8 RCX: 00007f7451b1f2a7 RDX: 00007f7451a1e17c RSI: 00007fff948c6010 RDI: 00007f7451a14723 RBP: 00007f7451a14723 R08: 0000000000007fff R09: 0000000000000000 R10: 00007fff948c6020 R11: 0000000000000246 R12: 00007fff948c6010 R13: 00007fff948c61a0 R14: 00007f7451a1c4f8 R15: 0000000000000000 Showing all locks held in the system: 1 lock held by rcu_tasks_kthre/12: #0: ffffffff8c790f30 (rcu_tasks.tasks_gp_mutex){+.+.}-{3:3}, at: rcu_tasks_one_gp+0x26/0xc70 kernel/rcu/tasks.h:507 1 lock held by rcu_tasks_trace/13: #0: ffffffff8c790c30 (rcu_tasks_trace.tasks_gp_mutex){+.+.}-{3:3}, at: rcu_tasks_one_gp+0x26/0xc70 kernel/rcu/tasks.h:507 1 lock held by khungtaskd/27: #0: ffffffff8c791a80 (rcu_read_lock){....}-{1:2}, at: debug_show_all_locks+0x57/0x264 kernel/locking/lockdep.c:6494 6 locks held by kworker/0:2/1107: #0: ffff888017a36538 ((wq_completion)usb_hub_wq){+.+.}-{0:0}, at: arch_atomic64_set arch/x86/include/asm/atomic64_64.h:34 [inline] #0: ffff888017a36538 ((wq_completion)usb_hub_wq){+.+.}-{0:0}, at: arch_atomic_long_set include/linux/atomic/atomic-long.h:41 [inline] #0: ffff888017a36538 ((wq_completion)usb_hub_wq){+.+.}-{0:0}, at: atomic_long_set include/linux/atomic/atomic-instrumented.h:1280 [inline] #0: ffff888017a36538 ((wq_completion)usb_hub_wq){+.+.}-{0:0}, at: set_work_data kernel/workqueue.c:636 [inline] #0: ffff888017a36538 ((wq_completion)usb_hub_wq){+.+.}-{0:0}, at: set_work_pool_and_clear_pending kernel/workqueue.c:663 [inline] #0: ffff888017a36538 ((wq_completion)usb_hub_wq){+.+.}-{0:0}, at: process_one_work+0x86d/0x1710 kernel/workqueue.c:2260 #1: ffffc90004ee7da8 ((work_completion)(&hub->events)){+.+.}-{0:0}, at: process_one_work+0x8a1/0x1710 kernel/workqueue.c:2264 #2: ffff888147173190 (&dev->mutex){....}-{3:3}, at: device_lock include/linux/device.h:831 [inline] #2: ffff888147173190 (&dev->mutex){....}-{3:3}, at: hub_event+0x1c0/0x4810 drivers/usb/core/hub.c:5737 #3: ffff88807bd75190 (&dev->mutex){....}-{3:3}, at: device_lock include/linux/device.h:831 [inline] #3: ffff88807bd75190 (&dev->mutex){....}-{3:3}, at: usb_disconnect.cold+0x43/0x6ed drivers/usb/core/hub.c:2226 #4: ffffffff8d40a8a8 (dev_pm_qos_sysfs_mtx){+.+.}-{3:3}, at: dev_pm_qos_constraints_destroy+0x28/0x790 drivers/base/power/qos.c:253 #5: ffff888012473948 (&root->kernfs_rwsem){++++}-{3:3}, at: kernfs_find_and_get_ns+0x73/0xc0 fs/kernfs/dir.c:891 1 lock held by udevd/4428: #0: ffff888012473948 (&root->kernfs_rwsem){++++}-{3:3}, at: kernfs_dop_revalidate+0xf0/0x5b0 fs/kernfs/dir.c:1130 2 locks held by getty/4745: #0: ffff88802bc0b098 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x26/0x80 drivers/tty/tty_ldisc.c:244 #1: ffffc900015a02f0 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0xef4/0x13e0 drivers/tty/n_tty.c:2177 1 lock held by syz-fuzzer/5056: 1 lock held by syz-executor.0/5101: #0: ffff888012473948 (&root->kernfs_rwsem){++++}-{3:3}, at: kernfs_iop_permission+0xbc/0x120 fs/kernfs/inode.c:288 1 lock held by syz-executor.1/5102: #0: ffff888012473948 (&root->kernfs_rwsem){++++}-{3:3}, at: kernfs_iop_permission+0xbc/0x120 fs/kernfs/inode.c:288 1 lock held by syz-executor.5/5106: #0: ffff888012473948 (&root->kernfs_rwsem){++++}-{3:3}, at: kernfs_iop_permission+0xbc/0x120 fs/kernfs/inode.c:288 2 locks held by syz-executor.2/5111: #0: ffff88801e53e4c8 (&disk->open_mutex){+.+.}-{3:3}, at: blkdev_put+0xc0/0x770 block/bdev.c:911 #1: ffff888012473948 (&root->kernfs_rwsem){++++}-{3:3}, at: kernfs_find_and_get_ns+0x73/0xc0 fs/kernfs/dir.c:891 1 lock held by syz-executor.4/5114: #0: ffff888012473948 (&root->kernfs_rwsem){++++}-{3:3}, at: kernfs_iop_permission+0xbc/0x120 fs/kernfs/inode.c:288 1 lock held by syz-executor.3/5117: #0: ffff888012473948 (&root->kernfs_rwsem){++++}-{3:3}, at: kernfs_iop_permission+0xbc/0x120 fs/kernfs/inode.c:288 2 locks held by kworker/u4:2/5177: #0: ffff888012479138 ((wq_completion)events_unbound){+.+.}-{0:0}, at: arch_atomic64_set arch/x86/include/asm/atomic64_64.h:34 [inline] #0: ffff888012479138 ((wq_completion)events_unbound){+.+.}-{0:0}, at: arch_atomic_long_set include/linux/atomic/atomic-long.h:41 [inline] #0: ffff888012479138 ((wq_completion)events_unbound){+.+.}-{0:0}, at: atomic_long_set include/linux/atomic/atomic-instrumented.h:1280 [inline] #0: ffff888012479138 ((wq_completion)events_unbound){+.+.}-{0:0}, at: set_work_data kernel/workqueue.c:636 [inline] #0: ffff888012479138 ((wq_completion)events_unbound){+.+.}-{0:0}, at: set_work_pool_and_clear_pending kernel/workqueue.c:663 [inline] #0: ffff888012479138 ((wq_completion)events_unbound){+.+.}-{0:0}, at: process_one_work+0x86d/0x1710 kernel/workqueue.c:2260 #1: ffffc9000434fda8 ((work_completion)(&sub_info->work)){+.+.}-{0:0}, at: process_one_work+0x8a1/0x1710 kernel/workqueue.c:2264 2 locks held by kworker/u4:14/6370: 1 lock held by modprobe/6452: #0: ffff888012473948 (&root->kernfs_rwsem){++++}-{3:3}, at: kernfs_dop_revalidate+0x39a/0x5b0 fs/kernfs/dir.c:1112 2 locks held by syz-executor.3/6465: 2 locks held by syz-executor.5/6469: #0: ffff88801e5f2368 (&lo->lo_mutex){+.+.}-{3:3}, at: loop_global_lock_killable drivers/block/loop.c:120 [inline] #0: ffff88801e5f2368 (&lo->lo_mutex){+.+.}-{3:3}, at: loop_configure+0x2f7/0x19e0 drivers/block/loop.c:1026 #1: ffff888012473948 (&root->kernfs_rwsem){++++}-{3:3}, at: kernfs_add_one+0xa7/0x4f0 fs/kernfs/dir.c:754 ============================================= NMI backtrace for cpu 0 CPU: 0 PID: 27 Comm: khungtaskd Not tainted 6.2.0-rc3-syzkaller-00021-g7dd4b804e080 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/26/2022 Call Trace: __dump_stack lib/dump_stack.c:88 [inline] dump_stack_lvl+0xd1/0x138 lib/dump_stack.c:106 nmi_cpu_backtrace.cold+0x24/0x18a lib/nmi_backtrace.c:111 nmi_trigger_cpumask_backtrace+0x333/0x3c0 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+0xc75/0xfc0 kernel/hung_task.c:377 kthread+0x2e8/0x3a0 kernel/kthread.c:376 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:308 Sending NMI from CPU 0 to CPUs 1: NMI backtrace for cpu 1 CPU: 1 PID: 6469 Comm: syz-executor.5 Not tainted 6.2.0-rc3-syzkaller-00021-g7dd4b804e080 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/26/2022 RIP: 0010:mark_lock.part.0+0x5a/0x1910 kernel/locking/lockdep.c:4593 Code: 8a b5 41 48 c1 eb 03 48 c7 44 24 40 e8 96 01 8c 48 8d 04 13 48 c7 44 24 48 b0 6e 63 81 c7 00 f1 f1 f1 f1 c7 40 04 f1 f1 04 f2 40 08 00 f2 f2 f2 c7 40 0c 00 f2 f2 f2 c7 40 14 00 00 00 f3 c7 RSP: 0018:ffffc900159c7488 EFLAGS: 00000012 RAX: fffff52002b38e98 RBX: 1ffff92002b38e98 RCX: 1ffffffff226f816 RDX: dffffc0000000000 RSI: ffff888075398a60 RDI: ffff888075398000 RBP: 0000000000000006 R08: 0000000000000000 R09: ffffffff91336b7f R10: 0000000000000001 R11: 0000000000000000 R12: ffff888075398a60 R13: 0000000000000006 R14: ffff888075398a38 R15: ffff8880124738f0 FS: 00007fa63d8d1700(0000) GS:ffff8880b9900000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f95cb796000 CR3: 0000000021334000 CR4: 0000000000350ee0 Call Trace: mark_lock kernel/locking/lockdep.c:4598 [inline] mark_held_locks+0x9f/0xe0 kernel/locking/lockdep.c:4236 __trace_hardirqs_on_caller kernel/locking/lockdep.c:4262 [inline] lockdep_hardirqs_on_prepare kernel/locking/lockdep.c:4321 [inline] lockdep_hardirqs_on_prepare+0x28f/0x410 kernel/locking/lockdep.c:4273 trace_hardirqs_on+0x31/0x180 kernel/trace/trace_preemptirq.c:49 __raw_spin_unlock_irq include/linux/spinlock_api_smp.h:159 [inline] _raw_spin_unlock_irq+0x23/0x50 kernel/locking/spinlock.c:202 rwsem_down_write_slowpath+0x5af/0x12e0 kernel/locking/rwsem.c:1166 __down_write_common kernel/locking/rwsem.c:1305 [inline] __down_write_common kernel/locking/rwsem.c:1302 [inline] __down_write kernel/locking/rwsem.c:1314 [inline] down_write+0x1e8/0x220 kernel/locking/rwsem.c:1563 kernfs_add_one+0xa7/0x4f0 fs/kernfs/dir.c:754 __kernfs_create_file+0x2a0/0x350 fs/kernfs/file.c:1076 sysfs_add_file_mode_ns+0x213/0x3f0 fs/sysfs/file.c:294 create_files fs/sysfs/group.c:64 [inline] internal_create_group+0x322/0xb10 fs/sysfs/group.c:148 loop_sysfs_init drivers/block/loop.c:746 [inline] loop_configure+0xf33/0x19e0 drivers/block/loop.c:1097 lo_ioctl+0x936/0x1990 drivers/block/loop.c:1550 blkdev_ioctl+0x375/0x800 block/ioctl.c:616 vfs_ioctl fs/ioctl.c:51 [inline] __do_sys_ioctl fs/ioctl.c:870 [inline] __se_sys_ioctl fs/ioctl.c:856 [inline] __x64_sys_ioctl+0x197/0x210 fs/ioctl.c:856 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x39/0xb0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x63/0xcd RIP: 0033:0x7fa63ca8beb7 Code: 3c 1c 48 f7 d8 49 39 c4 72 b8 e8 c4 57 02 00 85 c0 78 bd 48 83 c4 08 4c 89 e0 5b 41 5c c3 0f 1f 44 00 00 b8 10 00 00 00 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 b8 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007fa63d8d0f38 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 RAX: ffffffffffffffda RBX: 0000000000000005 RCX: 00007fa63ca8beb7 RDX: 0000000000000005 RSI: 0000000000004c00 RDI: 0000000000000006 RBP: 0000000000000006 R08: 0000000000000000 R09: 00000000000004a0 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007fa63d8d0fdc R14: 00007fa63d8d0fe0 R15: 0000000020000a42