INFO: task syz-executor.1:11090 can't die for more than 143 seconds. task:syz-executor.1 state:D stack:25888 pid:11090 ppid: 8443 flags:0x00004004 Call Trace: context_switch kernel/sched/core.c:4326 [inline] __schedule+0x90c/0x21a0 kernel/sched/core.c:5077 schedule+0xcf/0x270 kernel/sched/core.c:5156 schedule_preempt_disabled+0xf/0x20 kernel/sched/core.c:5215 __mutex_lock_common kernel/locking/mutex.c:1033 [inline] __mutex_lock+0x81a/0x1110 kernel/locking/mutex.c:1103 device_lock include/linux/device.h:739 [inline] usbdev_open+0x19d/0x930 drivers/usb/core/devio.c:1029 chrdev_open+0x266/0x770 fs/char_dev.c:414 do_dentry_open+0x4b9/0x11b0 fs/open.c:826 do_open fs/namei.c:3365 [inline] path_openat+0x1c0e/0x27e0 fs/namei.c:3498 do_filp_open+0x17e/0x3c0 fs/namei.c:3525 do_sys_openat2+0x16d/0x420 fs/open.c:1187 do_sys_open fs/open.c:1203 [inline] __do_sys_openat fs/open.c:1219 [inline] __se_sys_openat fs/open.c:1214 [inline] __x64_sys_openat+0x13f/0x1f0 fs/open.c:1214 do_syscall_64+0x2d/0x70 arch/x86/entry/common.c:46 entry_SYSCALL_64_after_hwframe+0x44/0xa9 RIP: 0033:0x4190f4 RSP: 002b:00007fe1a10adcc0 EFLAGS: 00000293 ORIG_RAX: 0000000000000101 RAX: ffffffffffffffda RBX: 6666666666666667 RCX: 00000000004190f4 RDX: 0000000000000001 RSI: 00007fe1a10add60 RDI: 00000000ffffff9c RBP: 00007fe1a10add60 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000293 R12: 0000000000000001 R13: 00007ffd8c92002f R14: 00007fe1a10ae300 R15: 0000000000022000 INFO: task syz-executor.1:11090 blocked for more than 143 seconds. Not tainted 5.11.0-rc6-next-20210201-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.1 state:D stack:25888 pid:11090 ppid: 8443 flags:0x00004004 Call Trace: context_switch kernel/sched/core.c:4326 [inline] __schedule+0x90c/0x21a0 kernel/sched/core.c:5077 schedule+0xcf/0x270 kernel/sched/core.c:5156 schedule_preempt_disabled+0xf/0x20 kernel/sched/core.c:5215 __mutex_lock_common kernel/locking/mutex.c:1033 [inline] __mutex_lock+0x81a/0x1110 kernel/locking/mutex.c:1103 device_lock include/linux/device.h:739 [inline] usbdev_open+0x19d/0x930 drivers/usb/core/devio.c:1029 chrdev_open+0x266/0x770 fs/char_dev.c:414 do_dentry_open+0x4b9/0x11b0 fs/open.c:826 do_open fs/namei.c:3365 [inline] path_openat+0x1c0e/0x27e0 fs/namei.c:3498 do_filp_open+0x17e/0x3c0 fs/namei.c:3525 do_sys_openat2+0x16d/0x420 fs/open.c:1187 do_sys_open fs/open.c:1203 [inline] __do_sys_openat fs/open.c:1219 [inline] __se_sys_openat fs/open.c:1214 [inline] __x64_sys_openat+0x13f/0x1f0 fs/open.c:1214 do_syscall_64+0x2d/0x70 arch/x86/entry/common.c:46 entry_SYSCALL_64_after_hwframe+0x44/0xa9 RIP: 0033:0x4190f4 RSP: 002b:00007fe1a10adcc0 EFLAGS: 00000293 ORIG_RAX: 0000000000000101 RAX: ffffffffffffffda RBX: 6666666666666667 RCX: 00000000004190f4 RDX: 0000000000000001 RSI: 00007fe1a10add60 RDI: 00000000ffffff9c RBP: 00007fe1a10add60 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000293 R12: 0000000000000001 R13: 00007ffd8c92002f R14: 00007fe1a10ae300 R15: 0000000000022000 INFO: task syz-executor.1:11094 can't die for more than 144 seconds. task:syz-executor.1 state:D stack:27976 pid:11094 ppid: 8443 flags:0x00000004 Call Trace: context_switch kernel/sched/core.c:4326 [inline] __schedule+0x90c/0x21a0 kernel/sched/core.c:5077 schedule+0xcf/0x270 kernel/sched/core.c:5156 schedule_preempt_disabled+0xf/0x20 kernel/sched/core.c:5215 __mutex_lock_common kernel/locking/mutex.c:1033 [inline] __mutex_lock+0x81a/0x1110 kernel/locking/mutex.c:1103 device_lock include/linux/device.h:739 [inline] usbdev_open+0x19d/0x930 drivers/usb/core/devio.c:1029 chrdev_open+0x266/0x770 fs/char_dev.c:414 do_dentry_open+0x4b9/0x11b0 fs/open.c:826 do_open fs/namei.c:3365 [inline] path_openat+0x1c0e/0x27e0 fs/namei.c:3498 do_filp_open+0x17e/0x3c0 fs/namei.c:3525 do_sys_openat2+0x16d/0x420 fs/open.c:1187 do_sys_open fs/open.c:1203 [inline] __do_sys_openat fs/open.c:1219 [inline] __se_sys_openat fs/open.c:1214 [inline] __x64_sys_openat+0x13f/0x1f0 fs/open.c:1214 do_syscall_64+0x2d/0x70 arch/x86/entry/common.c:46 entry_SYSCALL_64_after_hwframe+0x44/0xa9 RIP: 0033:0x4190f4 RSP: 002b:00007fe1a108ccc0 EFLAGS: 00000293 ORIG_RAX: 0000000000000101 RAX: ffffffffffffffda RBX: 6666666666666667 RCX: 00000000004190f4 RDX: 0000000000000001 RSI: 00007fe1a108cd60 RDI: 00000000ffffff9c RBP: 00007fe1a108cd60 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000293 R12: 0000000000000001 R13: 00007ffd8c92002f R14: 00007fe1a108d300 R15: 0000000000022000 INFO: task syz-executor.1:11094 blocked for more than 144 seconds. Not tainted 5.11.0-rc6-next-20210201-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.1 state:D stack:27976 pid:11094 ppid: 8443 flags:0x00000004 Call Trace: context_switch kernel/sched/core.c:4326 [inline] __schedule+0x90c/0x21a0 kernel/sched/core.c:5077 schedule+0xcf/0x270 kernel/sched/core.c:5156 schedule_preempt_disabled+0xf/0x20 kernel/sched/core.c:5215 __mutex_lock_common kernel/locking/mutex.c:1033 [inline] __mutex_lock+0x81a/0x1110 kernel/locking/mutex.c:1103 device_lock include/linux/device.h:739 [inline] usbdev_open+0x19d/0x930 drivers/usb/core/devio.c:1029 chrdev_open+0x266/0x770 fs/char_dev.c:414 do_dentry_open+0x4b9/0x11b0 fs/open.c:826 do_open fs/namei.c:3365 [inline] path_openat+0x1c0e/0x27e0 fs/namei.c:3498 do_filp_open+0x17e/0x3c0 fs/namei.c:3525 do_sys_openat2+0x16d/0x420 fs/open.c:1187 do_sys_open fs/open.c:1203 [inline] __do_sys_openat fs/open.c:1219 [inline] __se_sys_openat fs/open.c:1214 [inline] __x64_sys_openat+0x13f/0x1f0 fs/open.c:1214 do_syscall_64+0x2d/0x70 arch/x86/entry/common.c:46 entry_SYSCALL_64_after_hwframe+0x44/0xa9 RIP: 0033:0x4190f4 RSP: 002b:00007fe1a108ccc0 EFLAGS: 00000293 ORIG_RAX: 0000000000000101 RAX: ffffffffffffffda RBX: 6666666666666667 RCX: 00000000004190f4 RDX: 0000000000000001 RSI: 00007fe1a108cd60 RDI: 00000000ffffff9c RBP: 00007fe1a108cd60 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000293 R12: 0000000000000001 R13: 00007ffd8c92002f R14: 00007fe1a108d300 R15: 0000000000022000 Showing all locks held in the system: 5 locks held by kworker/0:1/7: #0: ffff88801483cd38 ((wq_completion)usb_hub_wq){+.+.}-{0:0}, at: arch_atomic64_set arch/x86/include/asm/atomic64_64.h:34 [inline] #0: ffff88801483cd38 ((wq_completion)usb_hub_wq){+.+.}-{0:0}, at: atomic64_set include/asm-generic/atomic-instrumented.h:856 [inline] #0: ffff88801483cd38 ((wq_completion)usb_hub_wq){+.+.}-{0:0}, at: atomic_long_set include/asm-generic/atomic-long.h:41 [inline] #0: ffff88801483cd38 ((wq_completion)usb_hub_wq){+.+.}-{0:0}, at: set_work_data kernel/workqueue.c:616 [inline] #0: ffff88801483cd38 ((wq_completion)usb_hub_wq){+.+.}-{0:0}, at: set_work_pool_and_clear_pending kernel/workqueue.c:643 [inline] #0: ffff88801483cd38 ((wq_completion)usb_hub_wq){+.+.}-{0:0}, at: process_one_work+0x871/0x15f0 kernel/workqueue.c:2246 #1: ffffc90000cc7da8 ((work_completion)(&hub->events)){+.+.}-{0:0}, at: process_one_work+0x8a5/0x15f0 kernel/workqueue.c:2250 #2: ffff88801bbd4218 (&dev->mutex){....}-{3:3}, at: device_lock include/linux/device.h:739 [inline] #2: ffff88801bbd4218 (&dev->mutex){....}-{3:3}, at: hub_event+0x1c1/0x4320 drivers/usb/core/hub.c:5537 #3: ffff888144c19578 (&port_dev->status_lock){+.+.}-{3:3}, at: usb_lock_port drivers/usb/core/hub.c:3030 [inline] #3: ffff888144c19578 (&port_dev->status_lock){+.+.}-{3:3}, at: hub_port_connect drivers/usb/core/hub.c:5154 [inline] #3: ffff888144c19578 (&port_dev->status_lock){+.+.}-{3:3}, at: hub_port_connect_change drivers/usb/core/hub.c:5363 [inline] #3: ffff888144c19578 (&port_dev->status_lock){+.+.}-{3:3}, at: port_event drivers/usb/core/hub.c:5509 [inline] #3: ffff888144c19578 (&port_dev->status_lock){+.+.}-{3:3}, at: hub_event+0x2178/0x4320 drivers/usb/core/hub.c:5591 #4: ffff88801ba6fd68 (hcd->address0_mutex){+.+.}-{3:3}, at: hub_port_init+0x1b5/0x2dd0 drivers/usb/core/hub.c:4582 3 locks held by kworker/u4:3/127: 1 lock held by khungtaskd/1655: #0: ffffffff8b56f5a0 (rcu_read_lock){....}-{1:2}, at: debug_show_all_locks+0x53/0x260 kernel/locking/lockdep.c:6326 1 lock held by in:imklog/8131: #0: ffff88801b804af0 (&f->f_pos_lock){+.+.}-{3:3}, at: __fdget_pos+0xe9/0x100 fs/file.c:961 1 lock held by syz-executor.1/11090: #0: ffff88801bbd4218 (&dev->mutex){....}-{3:3}, at: device_lock include/linux/device.h:739 [inline] #0: ffff88801bbd4218 (&dev->mutex){....}-{3:3}, at: usbdev_open+0x19d/0x930 drivers/usb/core/devio.c:1029 1 lock held by syz-executor.1/11094: #0: ffff88801bbd4218 (&dev->mutex){....}-{3:3}, at: device_lock include/linux/device.h:739 [inline] #0: ffff88801bbd4218 (&dev->mutex){....}-{3:3}, at: usbdev_open+0x19d/0x930 drivers/usb/core/devio.c:1029 ============================================= NMI backtrace for cpu 0 CPU: 0 PID: 1655 Comm: khungtaskd Not tainted 5.11.0-rc6-next-20210201-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+0x107/0x163 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:147 [inline] check_hung_uninterruptible_tasks kernel/hung_task.c:253 [inline] watchdog+0xd89/0xf30 kernel/hung_task.c:338 kthread+0x3b1/0x4a0 kernel/kthread.c:292 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:296 Sending NMI from CPU 0 to CPUs 1: NMI backtrace for cpu 1 CPU: 1 PID: 4831 Comm: systemd-journal Not tainted 5.11.0-rc6-next-20210201-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 RIP: 0010:unwind_next_frame+0x27/0x1f90 arch/x86/kernel/unwind_orc.c:418 Code: 0f 1f 00 48 b8 00 00 00 00 00 fc ff df 41 57 49 89 ff 41 56 41 55 41 54 55 53 48 81 ec a0 00 00 00 48 c7 44 24 40 b3 8a b5 41 <48> 8d 5c 24 40 48 c7 44 24 48 49 44 ea 8a 48 c1 eb 03 48 c7 44 24 RSP: 0018:ffffc9000173f5e0 EFLAGS: 00000282 RAX: dffffc0000000000 RBX: ffffffff81617300 RCX: 0000000000000000 RDX: 1ffff920002e7f06 RSI: ffffffff8900d22d RDI: ffffc9000173f6b8 RBP: ffffc9000173f740 R08: ffffffff8da866f6 R09: 0000000000000001 R10: 0000000000084083 R11: 0000000000000001 R12: ffffc9000173f770 R13: 0000000000000000 R14: ffff888024ca5400 R15: ffffc9000173f6b8 FS: 00007fd0ea4d68c0(0000) GS:ffff8880b9f00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fd0e7910000 CR3: 000000001140c000 CR4: 00000000001506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: arch_stack_walk+0x7d/0xe0 arch/x86/kernel/stacktrace.c:25 stack_trace_save+0x8c/0xc0 kernel/stacktrace.c:121 kasan_save_stack+0x1b/0x40 mm/kasan/common.c:38 kasan_set_track mm/kasan/common.c:46 [inline] set_alloc_info mm/kasan/common.c:403 [inline] ____kasan_kmalloc mm/kasan/common.c:434 [inline] ____kasan_kmalloc.constprop.0+0xa0/0xd0 mm/kasan/common.c:406 kasan_slab_alloc include/linux/kasan.h:208 [inline] slab_post_alloc_hook mm/slab.h:516 [inline] slab_alloc_node mm/slub.c:2907 [inline] slab_alloc mm/slub.c:2915 [inline] kmem_cache_alloc+0x15e/0x380 mm/slub.c:2920 kmem_cache_zalloc include/linux/slab.h:676 [inline] lsm_file_alloc security/security.c:569 [inline] security_file_alloc+0x34/0x170 security/security.c:1470 __alloc_file+0xd8/0x280 fs/file_table.c:106 alloc_empty_file+0x6d/0x170 fs/file_table.c:150 path_openat+0xe3/0x27e0 fs/namei.c:3484 do_filp_open+0x17e/0x3c0 fs/namei.c:3525 do_sys_openat2+0x16d/0x420 fs/open.c:1187 do_sys_open fs/open.c:1203 [inline] __do_sys_open fs/open.c:1211 [inline] __se_sys_open fs/open.c:1207 [inline] __x64_sys_open+0x119/0x1c0 fs/open.c:1207 do_syscall_64+0x2d/0x70 arch/x86/entry/common.c:46 entry_SYSCALL_64_after_hwframe+0x44/0xa9 RIP: 0033:0x7fd0e9a66840 Code: 73 01 c3 48 8b 0d 68 77 20 00 f7 d8 64 89 01 48 83 c8 ff c3 66 0f 1f 44 00 00 83 3d 89 bb 20 00 00 75 10 b8 02 00 00 00 0f 05 <48> 3d 01 f0 ff ff 73 31 c3 48 83 ec 08 e8 1e f6 ff ff 48 89 04 24 RSP: 002b:00007fff81430bd8 EFLAGS: 00000246 ORIG_RAX: 0000000000000002 RAX: ffffffffffffffda RBX: 00007fff81430ee0 RCX: 00007fd0e9a66840 RDX: 00000000000001a0 RSI: 0000000000080042 RDI: 0000560783d3a6a0 RBP: 000000000000000d R08: 000000000000c0c1 R09: 00000000ffffffff R10: 0000000000000069 R11: 0000000000000246 R12: 00000000ffffffff R13: 0000560783d2f040 R14: 00007fff81430ea0 R15: 0000560783d3b0e0