audit: type=1804 audit(1621120159.464:635): pid=17139 uid=0 auid=4294967295 ses=4294967295 op="invalid_pcr" cause="open_writers" comm="syz-executor.4" name="/root/syzkaller-testdir515214375/syzkaller.dBwjcz/163/bus" dev="sda1" ino=14541 res=1 block nbd2: NBD_DISCONNECT block nbd2: shutting down sockets block nbd2: Send disconnect failed -22 INFO: task syz-executor.2:17116 blocked for more than 140 seconds. Not tainted 4.14.232-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. syz-executor.2 D28064 17116 7995 0x00000004 Call Trace: context_switch kernel/sched/core.c:2808 [inline] __schedule+0x88b/0x1de0 kernel/sched/core.c:3384 schedule+0x8d/0x1b0 kernel/sched/core.c:3428 schedule_timeout+0x80a/0xe90 kernel/time/timer.c:1724 do_wait_for_common kernel/sched/completion.c:91 [inline] __wait_for_common kernel/sched/completion.c:112 [inline] wait_for_common+0x272/0x430 kernel/sched/completion.c:123 flush_workqueue+0x3ce/0x1310 kernel/workqueue.c:2676 nbd_start_device_ioctl drivers/block/nbd.c:1263 [inline] __nbd_ioctl drivers/block/nbd.c:1334 [inline] nbd_ioctl+0x49d/0xa80 drivers/block/nbd.c:1374 __blkdev_driver_ioctl block/ioctl.c:297 [inline] blkdev_ioctl+0x540/0x1830 block/ioctl.c:594 block_ioctl+0xd9/0x120 fs/block_dev.c:1893 vfs_ioctl fs/ioctl.c:46 [inline] file_ioctl fs/ioctl.c:500 [inline] do_vfs_ioctl+0x75a/0xff0 fs/ioctl.c:684 SYSC_ioctl fs/ioctl.c:701 [inline] SyS_ioctl+0x7f/0xb0 fs/ioctl.c:692 do_syscall_64+0x1d5/0x640 arch/x86/entry/common.c:292 entry_SYSCALL_64_after_hwframe+0x46/0xbb RIP: 0033:0x4665d9 RSP: 002b:00007ffa807d1188 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 RAX: ffffffffffffffda RBX: 000000000056c008 RCX: 00000000004665d9 RDX: 0000000000000000 RSI: 000000000000ab03 RDI: 0000000000000004 RBP: 00000000004bfcb9 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 000000000056c008 R13: 00007fff4ce80faf R14: 00007ffa807d1300 R15: 0000000000022000 Showing all locks held in the system: 1 lock held by khungtaskd/1533: #0: (tasklist_lock){.+.?}, at: [] debug_show_all_locks+0x7c/0x21a kernel/locking/lockdep.c:4548 1 lock held by in:imklog/7694: #0: (&f->f_pos_lock){+.+.}, at: [] __fdget_pos+0x1fb/0x2b0 fs/file.c:769 3 locks held by kworker/u5:2/8006: #0: ("knbd%d-recv"nbd->index){+.+.}, at: [] process_one_work+0x6b0/0x14a0 kernel/workqueue.c:2087 #1: ((&args->work)){+.+.}, at: [] process_one_work+0x6e6/0x14a0 kernel/workqueue.c:2091 #2: (sk_lock-AF_AX25){+.+.}, at: [] lock_sock include/net/sock.h:1471 [inline] #2: (sk_lock-AF_AX25){+.+.}, at: [] ax25_recvmsg+0xa8/0x7a0 net/ax25/af_ax25.c:1630 ============================================= NMI backtrace for cpu 1 CPU: 1 PID: 1533 Comm: khungtaskd Not tainted 4.14.232-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 Call Trace: __dump_stack lib/dump_stack.c:17 [inline] dump_stack+0x1b2/0x281 lib/dump_stack.c:58 nmi_cpu_backtrace.cold+0x57/0x93 lib/nmi_backtrace.c:101 nmi_trigger_cpumask_backtrace+0x13a/0x180 lib/nmi_backtrace.c:62 trigger_all_cpu_backtrace include/linux/nmi.h:140 [inline] check_hung_uninterruptible_tasks kernel/hung_task.c:195 [inline] watchdog+0x5b9/0xb40 kernel/hung_task.c:274 kthread+0x30d/0x420 kernel/kthread.c:232 ret_from_fork+0x24/0x30 arch/x86/entry/entry_64.S:404 Sending NMI from CPU 1 to CPUs 0: NMI backtrace for cpu 0 CPU: 0 PID: 4624 Comm: systemd-journal Not tainted 4.14.232-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 task: ffff8880a12d2140 task.stack: ffff8880a12d8000 RIP: 0010:preempt_count arch/x86/include/asm/preempt.h:23 [inline] RIP: 0010:check_preemption_disabled+0x1d/0x240 lib/smp_processor_id.c:16 RSP: 0018:ffff8880a12df918 EFLAGS: 00000097 RAX: ffff8880a12d2140 RBX: 0000000000000008 RCX: 0000000000000001 RDX: 0000000000000000 RSI: ffffffff8790a220 RDI: ffffffff87ccea40 RBP: ffffffff87ccea40 R08: ffffffff8b9add98 R09: 00000000000c001e R10: ffff8880a12d29f0 R11: ffff8880a12d2140 R12: 0000000000000000 R13: ffffffff8790a220 R14: ffff88813fffb6c0 R15: 000000000002daa8 FS: 00007fb9a63948c0(0000) GS:ffff8880ba400000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fb9a395c000 CR3: 00000000a1129000 CR4: 00000000001406f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 00000000b8fecd19 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: __mod_zone_page_state+0x5f/0xd0 mm/vmstat.c:254 __mod_zone_freepage_state include/linux/vmstat.h:378 [inline] __free_one_page mm/page_alloc.c:825 [inline] free_one_page+0xee/0x1210 mm/page_alloc.c:1179 __free_pages_ok+0x3f1/0xeb0 mm/page_alloc.c:1268 slab_destroy mm/slab.c:1723 [inline] slabs_destroy+0x90/0xd0 mm/slab.c:1739 cache_flusharray mm/slab.c:3483 [inline] ___cache_free+0x213/0x2c0 mm/slab.c:3525 qlink_free mm/kasan/quarantine.c:147 [inline] qlist_free_all+0x79/0x140 mm/kasan/quarantine.c:166 quarantine_reduce+0x185/0x200 mm/kasan/quarantine.c:259 kasan_kmalloc+0xa2/0x160 mm/kasan/kasan.c:536 slab_post_alloc_hook mm/slab.h:442 [inline] slab_alloc mm/slab.c:3390 [inline] kmem_cache_alloc+0x111/0x3c0 mm/slab.c:3550 getname_flags+0xc8/0x550 fs/namei.c:138 do_sys_open+0x1ce/0x410 fs/open.c:1075 do_syscall_64+0x1d5/0x640 arch/x86/entry/common.c:292 entry_SYSCALL_64_after_hwframe+0x46/0xbb RIP: 0033:0x7fb9a5923840 RSP: 002b:00007ffc5594aa68 EFLAGS: 00000246 ORIG_RAX: 0000000000000002 RAX: ffffffffffffffda RBX: 00007ffc5594ad70 RCX: 00007fb9a5923840 RDX: 00000000000001a0 RSI: 0000000000080042 RDI: 0000559c7f79c0a0 RBP: 000000000000000d R08: 0000000000000000 R09: 00000000ffffffff R10: 0000000000000069 R11: 0000000000000246 R12: 00000000ffffffff R13: 0000559c7f798040 R14: 00007ffc5594ad30 R15: 0000559c7f7a5610 Code: fd ff ff 90 90 90 90 90 90 90 90 90 90 90 41 57 41 56 41 55 49 89 f5 41 54 55 48 89 fd 53 e8 2b aa 3b fe 65 44 8b 25 e3 05 e8 7c <65> 8b 05 bc 63 e8 7c a9 ff ff ff 7f 74 18 e8 10 aa 3b fe e8 0b