INFO: task syz.3.285:5941 blocked for more than 157 seconds. Tainted: G L syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz.3.285 state:D stack:0 pid:5941 tgid:5941 ppid:4672 task_flags:0x400040 flags:0x00800001 Call trace: __switch_to+0x2b0/0x6e0 arch/arm64/kernel/process.c:810 (T) context_switch kernel/sched/core.c:5387 [inline] __schedule+0x1b74/0x2d24 kernel/sched/core.c:7188 __schedule_loop kernel/sched/core.c:7267 [inline] schedule+0xa4/0x140 kernel/sched/core.c:7282 schedule_preempt_disabled+0x18/0x2c kernel/sched/core.c:7339 __mutex_lock_common+0x98c/0x20f4 kernel/locking/mutex.c:726 __mutex_lock kernel/locking/mutex.c:820 [inline] mutex_lock_nested+0x2c/0x38 kernel/locking/mutex.c:873 device_lock include/linux/device.h:1040 [inline] usbdev_release+0x70/0x380 drivers/usb/core/devio.c:1099 __fput+0x340/0x744 fs/file_table.c:510 ____fput+0x20/0x30 fs/file_table.c:538 task_work_run+0x1c4/0x254 kernel/task_work.c:233 resume_user_mode_work include/linux/resume_user_mode.h:50 [inline] __exit_to_user_mode_loop kernel/entry/common.c:67 [inline] exit_to_user_mode_loop+0x10c/0x17c kernel/entry/common.c:98 __exit_to_user_mode_prepare include/linux/irq-entry-common.h:207 [inline] exit_to_user_mode_prepare_legacy include/linux/irq-entry-common.h:224 [inline] arm64_exit_to_user_mode arch/arm64/kernel/entry-common.c:86 [inline] el0_svc+0x180/0x25c arch/arm64/kernel/entry-common.c:724 el0t_64_sync_handler+0x48/0x148 arch/arm64/kernel/entry-common.c:742 el0t_64_sync+0x198/0x19c arch/arm64/kernel/entry.S:594 INFO: task syz.4.491:6733 blocked for more than 141 seconds. Tainted: G L syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz.4.491 state:D stack:0 pid:6733 tgid:6732 ppid:4671 task_flags:0x400040 flags:0x00800001 Call trace: __switch_to+0x2b0/0x6e0 arch/arm64/kernel/process.c:810 (T) context_switch kernel/sched/core.c:5387 [inline] __schedule+0x1b74/0x2d24 kernel/sched/core.c:7188 __schedule_loop kernel/sched/core.c:7267 [inline] schedule+0xa4/0x140 kernel/sched/core.c:7282 schedule_preempt_disabled+0x18/0x2c kernel/sched/core.c:7339 __mutex_lock_common+0x98c/0x20f4 kernel/locking/mutex.c:726 __mutex_lock kernel/locking/mutex.c:820 [inline] mutex_lock_nested+0x2c/0x38 kernel/locking/mutex.c:873 device_lock include/linux/device.h:1040 [inline] usbdev_open+0x138/0x664 drivers/usb/core/devio.c:1054 chrdev_open+0x398/0x3e8 fs/char_dev.c:411 do_dentry_open+0x5c8/0x10dc fs/open.c:947 vfs_open+0x44/0x2d4 fs/open.c:1079 do_open fs/namei.c:4699 [inline] path_openat+0x2234/0x2a6c fs/namei.c:4858 do_file_open+0x1c4/0x2e4 fs/namei.c:4887 do_sys_openat2+0x114/0x1e8 fs/open.c:1364 do_sys_open+0xac/0xdc fs/open.c:1370 __do_sys_openat fs/open.c:1386 [inline] __se_sys_openat fs/open.c:1381 [inline] __arm64_sys_openat+0x9c/0xb8 fs/open.c:1381 __invoke_syscall arch/arm64/kernel/syscall.c:35 [inline] invoke_syscall+0x98/0x244 arch/arm64/kernel/syscall.c:49 el0_svc_common+0xe8/0x23c arch/arm64/kernel/syscall.c:121 do_el0_svc+0x48/0x58 arch/arm64/kernel/syscall.c:140 el0_svc+0x60/0x25c arch/arm64/kernel/entry-common.c:723 el0t_64_sync_handler+0x48/0x148 arch/arm64/kernel/entry-common.c:742 el0t_64_sync+0x198/0x19c arch/arm64/kernel/entry.S:594 Showing all locks held in the system: 5 locks held by kworker/u8:0/12: 3 locks held by kworker/u8:1/14: 5 locks held by kworker/1:0/24: #0: ffff0000c2444140 ((wq_completion)usb_hub_wq){+.+.}-{0:0}, at: process_one_work+0x640/0x173c kernel/workqueue.c:3276 #1: ffff80008ead7be0 ((work_completion)(&hub->events)){+.+.}-{0:0}, at: process_one_work+0x6a4/0x173c kernel/workqueue.c:3276 #2: ffff0000cb71a1d8 (&dev->mutex){....}-{4:4}, at: device_lock include/linux/device.h:1040 [inline] #2: ffff0000cb71a1d8 (&dev->mutex){....}-{4:4}, at: hub_event+0x12c/0x3b20 drivers/usb/core/hub.c:5899 #3: ffff0000cb71f578 (&port_dev->status_lock){+.+.}-{4:4}, at: usb_lock_port drivers/usb/core/hub.c:3252 [inline] #3: ffff0000cb71f578 (&port_dev->status_lock){+.+.}-{4:4}, at: hub_port_connect drivers/usb/core/hub.c:5464 [inline] #3: ffff0000cb71f578 (&port_dev->status_lock){+.+.}-{4:4}, at: hub_port_connect_change drivers/usb/core/hub.c:5707 [inline] #3: ffff0000cb71f578 (&port_dev->status_lock){+.+.}-{4:4}, at: port_event drivers/usb/core/hub.c:5871 [inline] #3: ffff0000cb71f578 (&port_dev->status_lock){+.+.}-{4:4}, at: hub_event+0x198c/0x3b20 drivers/usb/core/hub.c:5953 #4: ffff0000cb3dfd60 (hcd->address0_mutex){+.+.}-{4:4}, at: hub_port_connect drivers/usb/core/hub.c:5465 [inline] #4: ffff0000cb3dfd60 (hcd->address0_mutex){+.+.}-{4:4}, at: hub_port_connect_change drivers/usb/core/hub.c:5707 [inline] #4: ffff0000cb3dfd60 (hcd->address0_mutex){+.+.}-{4:4}, at: port_event drivers/usb/core/hub.c:5871 [inline] #4: ffff0000cb3dfd60 (hcd->address0_mutex){+.+.}-{4:4}, at: hub_event+0x19c0/0x3b20 drivers/usb/core/hub.c:5953 1 lock held by khungtaskd/31: #0: ffff800088ac66e0 (rcu_read_lock){....}-{1:3}, at: __ll_sc_atomic64_fetch_or arch/arm64/include/asm/atomic_ll_sc.h:-1 [inline] #0: ffff800088ac66e0 (rcu_read_lock){....}-{1:3}, at: arch_atomic64_fetch_or arch/arm64/include/asm/atomic.h:86 [inline] #0: ffff800088ac66e0 (rcu_read_lock){....}-{1:3}, at: raw_atomic64_fetch_or include/linux/atomic/atomic-arch-fallback.h:3816 [inline] #0: ffff800088ac66e0 (rcu_read_lock){....}-{1:3}, at: raw_atomic_long_fetch_or include/linux/atomic/atomic-long.h:1090 [inline] #0: ffff800088ac66e0 (rcu_read_lock){....}-{1:3}, at: arch_test_and_set_bit include/asm-generic/bitops/atomic.h:42 [inline] #0: ffff800088ac66e0 (rcu_read_lock){....}-{1:3}, at: test_and_set_bit include/asm-generic/bitops/instrumented-atomic.h:72 [inline] #0: ffff800088ac66e0 (rcu_read_lock){....}-{1:3}, at: rcu_lock_acquire+0x0/0x44 kernel/sched/sched.h:3869 2 locks held by kworker/u8:4/314: 3 locks held by kworker/u8:6/2956: 6 locks held by kworker/u8:7/3218: 2 locks held by kworker/u8:8/3295: 3 locks held by kworker/u8:9/3589: 1 lock held by klogd/4292: 3 locks held by udevd/4303: 3 locks held by dhcpcd/4359: 2 locks held by crond/4434: 2 locks held by getty/4451: #0: ffff0000d3b8b0a0 (&tty->ldisc_sem){++++}-{0:0}, at: ldsem_down_read+0x3c/0x4c drivers/tty/tty_ldsem.c:340 #1: ffff80009228b2e8 (&ldata->atomic_read_lock){+.+.}-{4:4}, at: n_tty_read+0x354/0xf84 drivers/tty/n_tty.c:2211 1 lock held by syz-executor/4657: 1 lock held by syz-executor/4669: 4 locks held by syz-executor/4670: 1 lock held by syz-executor/4676: 3 locks held by kworker/u8:10/5115: 3 locks held by kworker/u8:11/5116: 3 locks held by kworker/u8:13/5118: 1 lock held by syz.3.285/5941: #0: ffff0000cb71a1d8 (&dev->mutex){....}-{4:4}, at: device_lock include/linux/device.h:1040 [inline] #0: ffff0000cb71a1d8 (&dev->mutex){....}-{4:4}, at: usbdev_release+0x70/0x380 drivers/usb/core/devio.c:1099 1 lock held by syz-executor/6620: 1 lock held by syz.4.491/6733: #0: ffff0000cb71a1d8 (&dev->mutex){....}-{4:4}, at: device_lock include/linux/device.h:1040 [inline] #0: ffff0000cb71a1d8 (&dev->mutex){....}-{4:4}, at: usbdev_open+0x138/0x664 drivers/usb/core/devio.c:1054 1 lock held by syz-executor/7215: =============================================