block nbd1: shutting down sockets ieee802154 phy0 wpan0: encryption failed: -22 ieee802154 phy1 wpan1: encryption failed: -22 ieee802154 phy0 wpan0: encryption failed: -22 ieee802154 phy1 wpan1: encryption failed: -22 INFO: task syz-executor.3:21502 blocked for more than 140 seconds. Not tainted 4.19.211-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. syz-executor.3 D28184 21502 8135 0x00000004 Call Trace: context_switch kernel/sched/core.c:2828 [inline] __schedule+0x887/0x2040 kernel/sched/core.c:3517 schedule+0x8d/0x1b0 kernel/sched/core.c:3561 schedule_timeout+0x92d/0xfe0 kernel/time/timer.c:1794 do_wait_for_common kernel/sched/completion.c:83 [inline] __wait_for_common kernel/sched/completion.c:104 [inline] wait_for_common+0x29c/0x470 kernel/sched/completion.c:115 flush_workqueue+0x40b/0x13e0 kernel/workqueue.c:2713 nbd_start_device_ioctl drivers/block/nbd.c:1276 [inline] __nbd_ioctl drivers/block/nbd.c:1347 [inline] nbd_ioctl+0x75b/0xbe0 drivers/block/nbd.c:1387 __blkdev_driver_ioctl block/ioctl.c:303 [inline] blkdev_ioctl+0x5cb/0x1a80 block/ioctl.c:601 block_ioctl+0xe9/0x130 fs/block_dev.c:1906 vfs_ioctl fs/ioctl.c:46 [inline] file_ioctl fs/ioctl.c:501 [inline] do_vfs_ioctl+0xcdb/0x12e0 fs/ioctl.c:688 ksys_ioctl+0x9b/0xc0 fs/ioctl.c:705 __do_sys_ioctl fs/ioctl.c:712 [inline] __se_sys_ioctl fs/ioctl.c:710 [inline] __x64_sys_ioctl+0x6f/0xb0 fs/ioctl.c:710 do_syscall_64+0xf9/0x620 arch/x86/entry/common.c:293 entry_SYSCALL_64_after_hwframe+0x49/0xbe RIP: 0033:0x7fc345ccb059 Code: Bad RIP value. RSP: 002b:00007fc3445fe168 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 RAX: ffffffffffffffda RBX: 00007fc345dde100 RCX: 00007fc345ccb059 RDX: 0000000000000000 RSI: 000000000000ab03 RDI: 0000000000000003 RBP: 00007fc345d2508d R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007ffcff5a8b7f R14: 00007fc3445fe300 R15: 0000000000022000 Showing all locks held in the system: 1 lock held by khungtaskd/1570: #0: 000000005b8c18e1 (rcu_read_lock){....}, at: debug_show_all_locks+0x53/0x265 kernel/locking/lockdep.c:4441 1 lock held by in:imklog/7811: 2 locks held by kworker/u4:0/26244: #0: 00000000b7b267ba (&rq->lock){-.-.}, at: idle_balance kernel/sched/fair.c:9702 [inline] #0: 00000000b7b267ba (&rq->lock){-.-.}, at: pick_next_task_fair+0x556/0x1570 kernel/sched/fair.c:6841 #1: 000000005b8c18e1 (rcu_read_lock){....}, at: cpu_of kernel/sched/sched.h:923 [inline] #1: 000000005b8c18e1 (rcu_read_lock){....}, at: __update_idle_core+0x39/0x3e0 kernel/sched/fair.c:6057 2 locks held by agetty/27147: #0: 00000000315bbae0 (&tty->ldisc_sem){++++}, at: tty_ldisc_ref_wait+0x22/0x80 drivers/tty/tty_ldisc.c:272 #1: 00000000c6058c63 (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x217/0x1950 drivers/tty/n_tty.c:2154 2 locks held by kworker/u5:0/17766: #0: 00000000b3739f4c ((wq_completion)"knbd%d-recv"nbd->index){+.+.}, at: process_one_work+0x767/0x1570 kernel/workqueue.c:2124 #1: 00000000cb422b2d ((work_completion)(&args->work)){+.+.}, at: process_one_work+0x79c/0x1570 kernel/workqueue.c:2128 ============================================= NMI backtrace for cpu 1 CPU: 1 PID: 1570 Comm: khungtaskd Not tainted 4.19.211-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+0x1fc/0x2ef lib/dump_stack.c:118 nmi_cpu_backtrace.cold+0x63/0xa2 lib/nmi_backtrace.c:101 nmi_trigger_cpumask_backtrace+0x1a6/0x1f0 lib/nmi_backtrace.c:62 trigger_all_cpu_backtrace include/linux/nmi.h:146 [inline] check_hung_uninterruptible_tasks kernel/hung_task.c:203 [inline] watchdog+0x991/0xe60 kernel/hung_task.c:287 kthread+0x33f/0x460 kernel/kthread.c:259 ret_from_fork+0x24/0x30 arch/x86/entry/entry_64.S:415 Sending NMI from CPU 1 to CPUs 0: NMI backtrace for cpu 0 CPU: 0 PID: 7812 Comm: rs:main Q:Reg Not tainted 4.19.211-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 RIP: 0010:__orc_find+0x11/0xf0 arch/x86/kernel/unwind_orc.c:31 Code: 00 e9 ea fc ff ff 48 8b 3c 24 e8 3a eb 6e 00 e9 7b fe ff ff 90 90 90 90 90 41 57 89 d0 41 56 41 55 41 54 4c 8d 64 87 fc 55 53 <48> 83 ec 10 85 d2 0f 84 95 00 00 00 4c 39 e7 49 89 fd 0f 87 9a 00 RSP: 0018:ffff8880948e7290 EFLAGS: 00000206 RAX: 0000000000000009 RBX: 1ffff1101291ce62 RCX: ffffffff817d5cba RDX: 0000000000000009 RSI: ffffffff8b97c636 RDI: ffffffff8b379bd8 RBP: 0000000000000001 R08: 0000000000000000 R09: ffffffff8b97c636 R10: ffff8880948e7457 R11: 0000000000074071 R12: ffffffff8b379bf8 R13: ffff8880948e742d R14: ffff8880948e73f8 R15: ffffffff817d5cba FS: 00007f376ebcb700(0000) GS:ffff8880ba000000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fa8d908c000 CR3: 00000000aaf77000 CR4: 00000000003406f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: orc_find arch/x86/kernel/unwind_orc.c:159 [inline] unwind_next_frame+0x339/0x1400 arch/x86/kernel/unwind_orc.c:422 __save_stack_trace+0x9f/0x190 arch/x86/kernel/stacktrace.c:44 save_stack mm/kasan/kasan.c:448 [inline] set_track mm/kasan/kasan.c:460 [inline] kasan_kmalloc+0xeb/0x160 mm/kasan/kasan.c:553 kmem_cache_alloc+0x122/0x370 mm/slab.c:3559 kmem_cache_zalloc include/linux/slab.h:699 [inline] alloc_buffer_head+0x20/0x130 fs/buffer.c:3372 alloc_page_buffers+0x169/0x5c0 fs/buffer.c:830 create_empty_buffers+0x2c/0x760 fs/buffer.c:1528 create_page_buffers+0x212/0x350 fs/buffer.c:1645 __block_write_begin_int+0x22b/0x17b0 fs/buffer.c:1957 ext4_da_write_begin+0x4e1/0x10e0 fs/ext4/inode.c:3109 generic_perform_write+0x1f8/0x4d0 mm/filemap.c:3170 __generic_file_write_iter+0x24b/0x610 mm/filemap.c:3295 ext4_file_write_iter+0x2fe/0xf20 fs/ext4/file.c:272 call_write_iter include/linux/fs.h:1821 [inline] new_sync_write fs/read_write.c:474 [inline] __vfs_write+0x51b/0x770 fs/read_write.c:487 vfs_write+0x1f3/0x540 fs/read_write.c:549 ksys_write+0x12b/0x2a0 fs/read_write.c:599 do_syscall_64+0xf9/0x620 arch/x86/entry/common.c:293 entry_SYSCALL_64_after_hwframe+0x49/0xbe RIP: 0033:0x7f377160f1cd Code: c2 20 00 00 75 10 b8 01 00 00 00 0f 05 48 3d 01 f0 ff ff 73 31 c3 48 83 ec 08 e8 ae fc ff ff 48 89 04 24 b8 01 00 00 00 0f 05 <48> 8b 3c 24 48 89 c2 e8 f7 fc ff ff 48 89 d0 48 83 c4 08 48 3d 01 RSP: 002b:00007f376ebca590 EFLAGS: 00000293 ORIG_RAX: 0000000000000001 RAX: ffffffffffffffda RBX: 00007f3764023fb0 RCX: 00007f377160f1cd RDX: 0000000000000456 RSI: 00007f3764023fb0 RDI: 0000000000000006 RBP: 0000000000000000 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000293 R12: 00007f3764023d30 R13: 00007f376ebca5b0 R14: 000056122ee03360 R15: 0000000000000456 ---------------- Code disassembly (best guess), 1 bytes skipped: 0: e9 ea fc ff ff jmpq 0xfffffcef 5: 48 8b 3c 24 mov (%rsp),%rdi 9: e8 3a eb 6e 00 callq 0x6eeb48 e: e9 7b fe ff ff jmpq 0xfffffe8e 13: 90 nop 14: 90 nop 15: 90 nop 16: 90 nop 17: 90 nop 18: 41 57 push %r15 1a: 89 d0 mov %edx,%eax 1c: 41 56 push %r14 1e: 41 55 push %r13 20: 41 54 push %r12 22: 4c 8d 64 87 fc lea -0x4(%rdi,%rax,4),%r12 27: 55 push %rbp 28: 53 push %rbx * 29: 48 83 ec 10 sub $0x10,%rsp <-- trapping instruction 2d: 85 d2 test %edx,%edx 2f: 0f 84 95 00 00 00 je 0xca 35: 4c 39 e7 cmp %r12,%rdi 38: 49 89 fd mov %rdi,%r13 3b: 0f .byte 0xf 3c: 87 .byte 0x87 3d: 9a (bad)