INFO: task syz-executor.0:27612 blocked for more than 143 seconds. Not tainted 5.14.0-rc6-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.0 state:D stack:26008 pid:27612 ppid: 6929 flags:0x00004004 Call Trace: context_switch kernel/sched/core.c:4681 [inline] __schedule+0xc07/0x11f0 kernel/sched/core.c:5938 schedule+0x14b/0x210 kernel/sched/core.c:6017 schedule_timeout+0x98/0x2f0 kernel/time/timer.c:1857 do_wait_for_common+0x2da/0x480 kernel/sched/completion.c:85 __wait_for_common kernel/sched/completion.c:106 [inline] wait_for_common kernel/sched/completion.c:117 [inline] wait_for_completion_timeout+0x46/0x60 kernel/sched/completion.c:157 usb_start_wait_urb+0x167/0x550 drivers/usb/core/message.c:63 do_proc_bulk+0x978/0x1080 drivers/usb/core/devio.c:1236 proc_bulk_compat drivers/usb/core/devio.c:2057 [inline] usbdev_do_ioctl drivers/usb/core/devio.c:2608 [inline] usbdev_ioctl+0x10b0/0x6b10 drivers/usb/core/devio.c:2713 vfs_ioctl fs/ioctl.c:51 [inline] __do_sys_ioctl fs/ioctl.c:1069 [inline] __se_sys_ioctl+0xfb/0x170 fs/ioctl.c:1055 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x3d/0xb0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x44/0xae RIP: 0033:0x4665e9 RSP: 002b:00007f6c1d37f188 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 RAX: ffffffffffffffda RBX: 000000000056bf80 RCX: 00000000004665e9 RDX: 0000000020000040 RSI: 00000000c0105502 RDI: 0000000000000003 RBP: 00000000004bfcc4 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 000000000056bf80 R13: 00007ffe3f8fab4f R14: 00007f6c1d37f300 R15: 0000000000022000 Showing all locks held in the system: 1 lock held by khungtaskd/1591: #0: ffffffff8c717ec0 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire+0x0/0x30 arch/x86/pci/mmconfig_64.c:151 1 lock held by in:imklog/8130: #0: ffff8880181e05f0 (&f->f_pos_lock){+.+.}-{3:3}, at: __fdget_pos+0x24e/0x2f0 fs/file.c:974 2 locks held by login/8146: #0: ffff888019a7b098 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x21/0x70 drivers/tty/tty_ldisc.c:252 #1: ffff888019a7b130 (&tty->atomic_write_lock){+.+.}-{3:3}, at: tty_write_lock drivers/tty/tty_io.c:961 [inline] #1: ffff888019a7b130 (&tty->atomic_write_lock){+.+.}-{3:3}, at: do_tty_write drivers/tty/tty_io.c:984 [inline] #1: ffff888019a7b130 (&tty->atomic_write_lock){+.+.}-{3:3}, at: file_tty_write+0x271/0x9a0 drivers/tty/tty_io.c:1110 2 locks held by login/8370: #0: ffff888020dfb098 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x21/0x70 drivers/tty/tty_ldisc.c:252 #1: ffff888020dfb130 (&tty->atomic_write_lock){+.+.}-{3:3}, at: tty_write_lock drivers/tty/tty_io.c:961 [inline] #1: ffff888020dfb130 (&tty->atomic_write_lock){+.+.}-{3:3}, at: do_tty_write drivers/tty/tty_io.c:984 [inline] #1: ffff888020dfb130 (&tty->atomic_write_lock){+.+.}-{3:3}, at: file_tty_write+0x271/0x9a0 drivers/tty/tty_io.c:1110 2 locks held by kworker/u4:6/10464: #0: ffff8880b9d51558 (&rq->__lock){-.-.}-{2:2}, at: raw_spin_rq_lock_nested+0x1b/0x30 kernel/sched/core.c:460 #1: ffffc900016cfd20 ((work_completion)(&(&bat_priv->nc.work)->work)){+.+.}-{0:0}, at: process_one_work+0x7e8/0x10c0 kernel/workqueue.c:2251 ============================================= NMI backtrace for cpu 0 CPU: 0 PID: 1591 Comm: khungtaskd Not tainted 5.14.0-rc6-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 Call Trace: __dump_stack lib/dump_stack.c:88 [inline] dump_stack_lvl+0x1d3/0x29f lib/dump_stack.c:105 nmi_cpu_backtrace+0x16c/0x190 lib/nmi_backtrace.c:105 nmi_trigger_cpumask_backtrace+0x191/0x2f0 lib/nmi_backtrace.c:62 trigger_all_cpu_backtrace include/linux/nmi.h:146 [inline] check_hung_uninterruptible_tasks kernel/hung_task.c:210 [inline] watchdog+0xd06/0xd50 kernel/hung_task.c:295 kthread+0x453/0x480 kernel/kthread.c:319 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:295 Sending NMI from CPU 0 to CPUs 1: NMI backtrace for cpu 1 CPU: 1 PID: 4842 Comm: systemd-journal Not tainted 5.14.0-rc6-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 RIP: 0010:kasan_check_range+0x22a/0x2f0 mm/kasan/generic.c:189 Code: 4d 85 f6 49 0f 49 de 48 83 e3 f8 49 29 de 74 11 45 0f b6 1f 45 84 db 75 64 49 ff c7 49 ff ce 75 ef 5b 41 5c 41 5d 41 5e 41 5f 45 84 db 75 50 45 8a 59 01 45 84 db 0f 85 8a 00 00 00 45 8a 59 RSP: 0018:ffffc900015ffa78 EFLAGS: 00000256 RAX: dead000000000101 RBX: ffffea0002811400 RCX: ffffffff81be5c27 RDX: 0000000000000000 RSI: 0000000000000008 RDI: ffffea0002811400 RBP: 0000000000000003 R08: dffffc0000000000 R09: fffff94000502281 R10: fffff94000502281 R11: 0000000000000000 R12: ffffea0002811400 R13: dffffc0000000000 R14: ffffea0002811458 R15: 0000000000000008 FS: 00007f34ac18e8c0(0000) GS:ffff8880b9d00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f34a98d2000 CR3: 0000000016c6a000 CR4: 00000000001506e0 Call Trace: instrument_atomic_read include/linux/instrumented.h:71 [inline] test_bit include/asm-generic/bitops/instrumented-non-atomic.h:134 [inline] PageCompound include/linux/page-flags.h:201 [inline] hpage_pincount_available include/linux/mm.h:960 [inline] prep_compound_page+0x1e7/0x500 mm/page_alloc.c:748 prep_new_page mm/page_alloc.c:2439 [inline] get_page_from_freelist+0x792/0xa30 mm/page_alloc.c:4169 __alloc_pages+0x26c/0x5f0 mm/page_alloc.c:5391 alloc_slab_page mm/slub.c:1691 [inline] allocate_slab+0xf1/0x540 mm/slub.c:1831 new_slab mm/slub.c:1894 [inline] new_slab_objects mm/slub.c:2640 [inline] ___slab_alloc+0x1cf/0x350 mm/slub.c:2803 __slab_alloc mm/slub.c:2843 [inline] slab_alloc_node mm/slub.c:2925 [inline] slab_alloc mm/slub.c:2967 [inline] kmem_cache_alloc+0x299/0x340 mm/slub.c:2972 getname_flags+0xba/0x640 fs/namei.c:138 user_path_at_empty+0x28/0x50 fs/namei.c:2747 user_path_at include/linux/namei.h:57 [inline] do_faccessat+0x403/0x910 fs/open.c:425 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x3d/0xb0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x44/0xae RIP: 0033:0x7f34ab4499c7 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:00007ffe38b3bce8 EFLAGS: 00000246 ORIG_RAX: 0000000000000015 RAX: ffffffffffffffda RBX: 00007ffe38b3ec00 RCX: 00007f34ab4499c7 RDX: 00007f34abebaa00 RSI: 0000000000000000 RDI: 0000558f497cf9a3 RBP: 00007ffe38b3bd20 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000069 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000000 R14: 00007ffe38b3ec00 R15: 00007ffe38b3c210 ---------------- Code disassembly (best guess): 0: 4d 85 f6 test %r14,%r14 3: 49 0f 49 de cmovns %r14,%rbx 7: 48 83 e3 f8 and $0xfffffffffffffff8,%rbx b: 49 29 de sub %rbx,%r14 e: 74 11 je 0x21 10: 45 0f b6 1f movzbl (%r15),%r11d 14: 45 84 db test %r11b,%r11b 17: 75 64 jne 0x7d 19: 49 ff c7 inc %r15 1c: 49 ff ce dec %r14 1f: 75 ef jne 0x10 21: 5b pop %rbx 22: 41 5c pop %r12 24: 41 5d pop %r13 26: 41 5e pop %r14 28: 41 5f pop %r15 2a: c3 retq <-- trapping instruction 2b: 45 84 db test %r11b,%r11b 2e: 75 50 jne 0x80 30: 45 8a 59 01 mov 0x1(%r9),%r11b 34: 45 84 db test %r11b,%r11b 37: 0f 85 8a 00 00 00 jne 0xc7 3d: 45 rex.RB 3e: 8a .byte 0x8a 3f: 59 pop %rcx