INFO: task syz-executor.5:20199 blocked for more than 143 seconds. Not tainted 5.9.0-rc1-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.5 state:D stack:29112 pid:20199 ppid: 349 flags:0x80004006 Call Trace: context_switch kernel/sched/core.c:3778 [inline] __schedule+0x889/0x1f70 kernel/sched/core.c:4527 schedule+0xcd/0x2b0 kernel/sched/core.c:4602 wdm_flush+0x2e9/0x3c0 drivers/usb/class/cdc-wdm.c:590 filp_close+0xb4/0x170 fs/open.c:1276 close_files fs/file.c:401 [inline] put_files_struct fs/file.c:429 [inline] put_files_struct+0x1d0/0x350 fs/file.c:426 exit_files+0x7e/0xa0 fs/file.c:458 do_exit+0xb75/0x2890 kernel/exit.c:801 do_group_exit+0x125/0x310 kernel/exit.c:903 get_signal+0x42d/0x1f10 kernel/signal.c:2757 arch_do_signal+0x88/0x1a00 arch/x86/kernel/signal.c:811 exit_to_user_mode_loop kernel/entry/common.c:135 [inline] exit_to_user_mode_prepare+0xf9/0x150 kernel/entry/common.c:166 syscall_exit_to_user_mode+0x36/0x260 kernel/entry/common.c:241 entry_SYSCALL_64_after_hwframe+0x44/0xa9 RIP: 0033:0x417101 Code: Bad RIP value. RSP: 002b:00007f495d4d8820 EFLAGS: 00000293 ORIG_RAX: 0000000000000002 RAX: 0000000000000009 RBX: 000000000118d120 RCX: 0000000000417101 RDX: 0000000000000000 RSI: 0000000000000002 RDI: 00007f495d4d8850 RBP: 000000000118d160 R08: 0000000000000000 R09: 000000000000000f R10: 0000000000000064 R11: 0000000000000293 R12: 000000000118d12c R13: 00007ffda4810c6f R14: 00007f495d4d99c0 R15: 000000000118d12c Showing all locks held in the system: 1 lock held by khungtaskd/23: #0: ffffffff87313620 (rcu_read_lock){....}-{1:2}, at: debug_show_all_locks+0x53/0x264 kernel/locking/lockdep.c:5825 1 lock held by in:imklog/236: #0: ffff8881c875e870 (&f->f_pos_lock){+.+.}-{3:3}, at: __fdget_pos+0xe9/0x100 fs/file.c:930 2 locks held by agetty/245: #0: ffff8881cf608098 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x22/0x80 drivers/tty/tty_ldisc.c:267 #1: ffffc90000a222e8 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0x223/0x1a30 drivers/tty/n_tty.c:2156 5 locks held by kworker/1:6/3333: #0: ffff8881d886a938 ((wq_completion)usb_hub_wq){+.+.}-{0:0}, at: arch_atomic64_set arch/x86/include/asm/atomic64_64.h:34 [inline] #0: ffff8881d886a938 ((wq_completion)usb_hub_wq){+.+.}-{0:0}, at: atomic64_set include/asm-generic/atomic-instrumented.h:856 [inline] #0: ffff8881d886a938 ((wq_completion)usb_hub_wq){+.+.}-{0:0}, at: atomic_long_set include/asm-generic/atomic-long.h:41 [inline] #0: ffff8881d886a938 ((wq_completion)usb_hub_wq){+.+.}-{0:0}, at: set_work_data kernel/workqueue.c:616 [inline] #0: ffff8881d886a938 ((wq_completion)usb_hub_wq){+.+.}-{0:0}, at: set_work_pool_and_clear_pending kernel/workqueue.c:643 [inline] #0: ffff8881d886a938 ((wq_completion)usb_hub_wq){+.+.}-{0:0}, at: process_one_work+0x82b/0x15f0 kernel/workqueue.c:2240 #1: ffff8881cc427da8 ((work_completion)(&hub->events)){+.+.}-{0:0}, at: process_one_work+0x85f/0x15f0 kernel/workqueue.c:2244 #2: ffff8881d4bf4218 (&dev->mutex){....}-{3:3}, at: device_lock include/linux/device.h:784 [inline] #2: ffff8881d4bf4218 (&dev->mutex){....}-{3:3}, at: hub_event+0x1c5/0x4390 drivers/usb/core/hub.c:5522 #3: ffff8881aa8db218 (&dev->mutex){....}-{3:3}, at: device_lock include/linux/device.h:784 [inline] #3: ffff8881aa8db218 (&dev->mutex){....}-{3:3}, at: __device_attach+0x7a/0x4a0 drivers/base/dd.c:887 #4: ffff8881ce1a21a8 (&dev->mutex){....}-{3:3}, at: device_lock include/linux/device.h:784 [inline] #4: ffff8881ce1a21a8 (&dev->mutex){....}-{3:3}, at: __device_attach+0x7a/0x4a0 drivers/base/dd.c:887 ============================================= NMI backtrace for cpu 0 CPU: 0 PID: 23 Comm: khungtaskd Not tainted 5.9.0-rc1-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 Call Trace: __dump_stack lib/dump_stack.c:77 [inline] dump_stack+0xf6/0x16e lib/dump_stack.c:118 nmi_cpu_backtrace.cold+0x74/0xb6 lib/nmi_backtrace.c:101 nmi_trigger_cpumask_backtrace+0x1da/0x1f4 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+0xd6a/0xfd0 kernel/hung_task.c:295 kthread+0x392/0x470 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: 109 Comm: systemd-journal Not tainted 5.9.0-rc1-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 RIP: 0010:cmpxchg_double_slab mm/slub.c:401 [inline] RIP: 0010:__slab_free+0xa7/0x4e0 mm/slub.c:3019 Code: 41 0f 94 c2 66 85 f6 41 89 c7 0f b6 c0 74 07 31 ff 45 84 d2 74 0a 31 ff 85 c0 0f 84 f4 00 00 00 41 f6 46 0b 40 48 8b 4c 24 78 <74> 40 48 83 7c 24 30 00 0f 85 3e 02 00 00 48 89 da 4c 8b 5c 24 28 RSP: 0018:ffff8881d2207c70 EFLAGS: 00000202 RAX: 0000000000000000 RBX: 0000000000100008 RCX: 0000000000100007 RDX: ffff8881d4505d00 RSI: 0000000000100007 RDI: 0000000000000000 RBP: ffff8881d2207d28 R08: 0000000000000001 R09: ffffffff8169e399 R10: 0000000000000000 R11: ffffea00074aa1a0 R12: ffffea0007514140 R13: ffff8881d4505e00 R14: ffff8881da0c7dc0 R15: 0000000000000000 FS: 00007f8b4a6328c0(0000) GS:ffff8881db300000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f8b466a1010 CR3: 00000001d2247000 CR4: 00000000001506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: qlink_free mm/kasan/quarantine.c:149 [inline] qlist_free_all+0x4e/0xc0 mm/kasan/quarantine.c:168 quarantine_reduce+0x17e/0x200 mm/kasan/quarantine.c:261 __kasan_kmalloc.constprop.0+0x9e/0xd0 mm/kasan/common.c:442 slab_post_alloc_hook mm/slab.h:518 [inline] slab_alloc_node mm/slub.c:2892 [inline] slab_alloc mm/slub.c:2900 [inline] kmem_cache_alloc+0xd2/0x2f0 mm/slub.c:2905 getname_flags.part.0+0x50/0x4f0 fs/namei.c:138 getname_flags+0x9a/0xe0 include/linux/audit.h:320 getname fs/namei.c:209 [inline] user_path_create fs/namei.c:3524 [inline] do_mkdirat+0x8d/0x2a0 fs/namei.c:3664 do_syscall_64+0x2d/0x40 arch/x86/entry/common.c:46 entry_SYSCALL_64_after_hwframe+0x44/0xa9 RIP: 0033:0x7f8b498ee687 Code: 00 b8 ff ff ff ff c3 0f 1f 40 00 48 8b 05 09 d8 2b 00 64 c7 00 5f 00 00 00 b8 ff ff ff ff c3 0f 1f 40 00 b8 53 00 00 00 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 8b 0d e1 d7 2b 00 f7 d8 64 89 01 48 RSP: 002b:00007fff651fc7c8 EFLAGS: 00000293 ORIG_RAX: 0000000000000053 RAX: ffffffffffffffda RBX: 00007fff651ff830 RCX: 00007f8b498ee687 RDX: 0000000000000000 RSI: 00000000000001ed RDI: 0000556f8b93d8a0 RBP: 00007fff651fc800 R08: 0000556f8aa673e5 R09: 0000000000000018 R10: 0000000000000069 R11: 0000000000000293 R12: 0000000000000000 R13: 0000000000000001 R14: 0000556f8b93d8a0 R15: 00007fff651fce40