INFO: task syz-executor.0:30267 blocked for more than 143 seconds. Not tainted 5.12.0-rc8-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.0 state:D stack:28160 pid:30267 ppid: 8427 flags:0x00000004 Call Trace: context_switch kernel/sched/core.c:4322 [inline] __schedule+0x911/0x21b0 kernel/sched/core.c:5073 schedule+0xcf/0x270 kernel/sched/core.c:5152 schedule_preempt_disabled+0xf/0x20 kernel/sched/core.c:5211 __mutex_lock_common kernel/locking/mutex.c:1026 [inline] __mutex_lock+0x81f/0x1120 kernel/locking/mutex.c:1096 device_lock include/linux/device.h:740 [inline] usbdev_release+0x83/0x4b0 drivers/usb/core/devio.c:1074 __fput+0x288/0x920 fs/file_table.c:280 task_work_run+0xdd/0x1a0 kernel/task_work.c:140 tracehook_notify_resume include/linux/tracehook.h:189 [inline] exit_to_user_mode_loop kernel/entry/common.c:174 [inline] exit_to_user_mode_prepare+0x249/0x250 kernel/entry/common.c:208 __syscall_exit_to_user_mode_work kernel/entry/common.c:290 [inline] syscall_exit_to_user_mode+0x19/0x60 kernel/entry/common.c:301 entry_SYSCALL_64_after_hwframe+0x44/0xae RIP: 0033:0x41940b RSP: 002b:0000000000a9fb80 EFLAGS: 00000293 ORIG_RAX: 0000000000000003 RAX: 0000000000000000 RBX: 0000000000000005 RCX: 000000000041940b RDX: 0000000056ca7293 RSI: 0000000008ad4b0d RDI: 0000000000000004 RBP: 0000000000000001 R08: 0000000000000000 R09: 0000001b319251fc R10: 00000000000331fc R11: 0000000000000293 R12: 000000000056c9e0 R13: 000000000056c9e0 R14: 000000000056bf60 R15: 000000000010571d Showing all locks held in the system: 5 locks held by kworker/1:0/20: #0: ffff888014fc3138 ((wq_completion)usb_hub_wq){+.+.}-{0:0}, at: arch_atomic64_set arch/x86/include/asm/atomic64_64.h:34 [inline] #0: ffff888014fc3138 ((wq_completion)usb_hub_wq){+.+.}-{0:0}, at: atomic64_set include/asm-generic/atomic-instrumented.h:856 [inline] #0: ffff888014fc3138 ((wq_completion)usb_hub_wq){+.+.}-{0:0}, at: atomic_long_set include/asm-generic/atomic-long.h:41 [inline] #0: ffff888014fc3138 ((wq_completion)usb_hub_wq){+.+.}-{0:0}, at: set_work_data kernel/workqueue.c:616 [inline] #0: ffff888014fc3138 ((wq_completion)usb_hub_wq){+.+.}-{0:0}, at: set_work_pool_and_clear_pending kernel/workqueue.c:643 [inline] #0: ffff888014fc3138 ((wq_completion)usb_hub_wq){+.+.}-{0:0}, at: process_one_work+0x871/0x1600 kernel/workqueue.c:2246 #1: ffffc90000da7da8 ((work_completion)(&hub->events)){+.+.}-{0:0}, at: process_one_work+0x8a5/0x1600 kernel/workqueue.c:2250 #2: ffff88801bf9c218 (&dev->mutex){....}-{3:3}, at: device_lock include/linux/device.h:740 [inline] #2: ffff88801bf9c218 (&dev->mutex){....}-{3:3}, at: hub_event+0x1c1/0x4320 drivers/usb/core/hub.c:5537 #3: ffff88807a27f578 (&port_dev->status_lock){+.+.}-{3:3}, at: usb_lock_port drivers/usb/core/hub.c:3030 [inline] #3: ffff88807a27f578 (&port_dev->status_lock){+.+.}-{3:3}, at: hub_port_connect drivers/usb/core/hub.c:5154 [inline] #3: ffff88807a27f578 (&port_dev->status_lock){+.+.}-{3:3}, at: hub_port_connect_change drivers/usb/core/hub.c:5363 [inline] #3: ffff88807a27f578 (&port_dev->status_lock){+.+.}-{3:3}, at: port_event drivers/usb/core/hub.c:5509 [inline] #3: ffff88807a27f578 (&port_dev->status_lock){+.+.}-{3:3}, at: hub_event+0x2178/0x4320 drivers/usb/core/hub.c:5591 #4: ffff8881449c3568 (hcd->address0_mutex){+.+.}-{3:3}, at: hub_port_init+0x1b5/0x2dd0 drivers/usb/core/hub.c:4582 1 lock held by khungtaskd/1622: #0: ffffffff8bf74360 (rcu_read_lock){....}-{1:2}, at: debug_show_all_locks+0x53/0x260 kernel/locking/lockdep.c:6328 1 lock held by in:imklog/8146: #0: ffff8880141d1270 (&f->f_pos_lock){+.+.}-{3:3}, at: __fdget_pos+0xe9/0x100 fs/file.c:974 1 lock held by syz-executor.0/28025: #0: ffff88801bf9c218 (&dev->mutex){....}-{3:3}, at: device_lock include/linux/device.h:740 [inline] #0: ffff88801bf9c218 (&dev->mutex){....}-{3:3}, at: usbdev_release+0x83/0x4b0 drivers/usb/core/devio.c:1074 1 lock held by syz-executor.0/28035: #0: ffff88801bf9c218 (&dev->mutex){....}-{3:3}, at: device_lock include/linux/device.h:740 [inline] #0: ffff88801bf9c218 (&dev->mutex){....}-{3:3}, at: usbdev_release+0x83/0x4b0 drivers/usb/core/devio.c:1074 1 lock held by syz-executor.0/30267: #0: ffff88801bf9c218 (&dev->mutex){....}-{3:3}, at: device_lock include/linux/device.h:740 [inline] #0: ffff88801bf9c218 (&dev->mutex){....}-{3:3}, at: usbdev_release+0x83/0x4b0 drivers/usb/core/devio.c:1074 ============================================= NMI backtrace for cpu 0 CPU: 0 PID: 1622 Comm: khungtaskd Not tainted 5.12.0-rc8-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 Call Trace: __dump_stack lib/dump_stack.c:79 [inline] dump_stack+0x141/0x1d7 lib/dump_stack.c:120 nmi_cpu_backtrace.cold+0x44/0xd7 lib/nmi_backtrace.c:105 nmi_trigger_cpumask_backtrace+0x1b3/0x230 lib/nmi_backtrace.c:62 trigger_all_cpu_backtrace include/linux/nmi.h:146 [inline] check_hung_uninterruptible_tasks kernel/hung_task.c:209 [inline] watchdog+0xd48/0xfb0 kernel/hung_task.c:294 kthread+0x3b1/0x4a0 kernel/kthread.c:292 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:294 Sending NMI from CPU 0 to CPUs 1: NMI backtrace for cpu 1 CPU: 1 PID: 4825 Comm: systemd-journal Not tainted 5.12.0-rc8-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 RIP: 0010:debug_smp_processor_id+0xc/0x20 lib/smp_processor_id.c:64 Code: c7 c7 40 1c c2 89 e8 2c c4 bf ff e8 fb 09 ce ff eb a2 66 66 2e 0f 1f 84 00 00 00 00 00 90 0f 1f 44 00 00 48 c7 c6 80 1c c2 89 <48> c7 c7 c0 1c c2 89 e9 98 fe ff ff 0f 1f 84 00 00 00 00 00 55 48 RSP: 0018:ffffc9000156fce0 EFLAGS: 00000282 RAX: 0000000000000001 RBX: 0000000000000001 RCX: ffffffff8159a171 RDX: 0000000000000001 RSI: ffffffff89c21c80 RDI: ffff8880b9d36108 RBP: 1ffff920002adfa4 R08: 0000000000000000 R09: ffffffff8dc52b0f R10: fffffbfff1b8a561 R11: 0000000000000000 R12: 0000000000000001 R13: 0000000000000008 R14: 0000000000400cc0 R15: ffffffff838f30de FS: 00007f10ee0e28c0(0000) GS:ffff8880b9d00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f10eb678000 CR3: 0000000011640000 CR4: 00000000001506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: rcu_lockdep_current_cpu_online kernel/rcu/tree.c:1217 [inline] rcu_lockdep_current_cpu_online+0x2d/0x150 kernel/rcu/tree.c:1208 rcu_read_lock_held_common kernel/rcu/update.c:112 [inline] rcu_read_lock_held_common kernel/rcu/update.c:102 [inline] rcu_read_lock_sched_held+0x25/0x70 kernel/rcu/update.c:123 trace_lock_release include/trace/events/lock.h:58 [inline] lock_release+0x5d3/0x720 kernel/locking/lockdep.c:5522 might_alloc include/linux/sched/mm.h:194 [inline] slab_pre_alloc_hook mm/slab.h:497 [inline] slab_alloc_node mm/slub.c:2826 [inline] slab_alloc mm/slub.c:2915 [inline] __kmalloc+0x58/0x310 mm/slub.c:4051 kmalloc include/linux/slab.h:559 [inline] kzalloc include/linux/slab.h:684 [inline] lsm_cred_alloc security/security.c:534 [inline] security_prepare_creds+0x10e/0x190 security/security.c:1646 prepare_creds+0x509/0x730 kernel/cred.c:285 access_override_creds fs/open.c:355 [inline] do_faccessat+0x3f4/0x850 fs/open.c:419 do_syscall_64+0x2d/0x70 arch/x86/entry/common.c:46 entry_SYSCALL_64_after_hwframe+0x44/0xae RIP: 0033:0x7f10ed39d9c7 Code: 83 c4 08 48 3d 01 f0 ff ff 73 01 c3 48 8b 0d c8 d4 2b 00 f7 d8 64 89 01 48 83 c8 ff c3 66 0f 1f 44 00 00 b8 15 00 00 00 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 8b 0d a1 d4 2b 00 f7 d8 64 89 01 48 RSP: 002b:00007ffcd8585ed8 EFLAGS: 00000246 ORIG_RAX: 0000000000000015 RAX: ffffffffffffffda RBX: 00007ffcd8588df0 RCX: 00007f10ed39d9c7 RDX: 00007f10ede0ea00 RSI: 0000000000000000 RDI: 0000561eee5239a3 RBP: 00007ffcd8585f10 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000069 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000000 R14: 00007ffcd8588df0 R15: 00007ffcd8586400