audit: type=1804 audit(1675403061.598:48): pid=10781 uid=0 auid=4294967295 ses=4294967295 op="invalid_pcr" cause="open_writers" comm="syz-executor.5" name="/root/syzkaller-testdir388443177/syzkaller.8wemF5/42/bus" dev="sda1" ino=14022 res=1 block nbd2: NBD_DISCONNECT audit: type=1804 audit(1675403061.608:49): pid=10781 uid=0 auid=4294967295 ses=4294967295 op="invalid_pcr" cause="ToMToU" comm="syz-executor.5" name="/root/syzkaller-testdir388443177/syzkaller.8wemF5/42/bus" dev="sda1" ino=14022 res=1 kasan: CONFIG_KASAN_INLINE enabled kasan: GPF could be caused by NULL-ptr deref or user memory access general protection fault: 0000 [#1] PREEMPT SMP KASAN Modules linked in: CPU: 1 PID: 10776 Comm: syz-executor.2 Not tainted 4.14.304-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/12/2023 task: ffff8880ae5a2400 task.stack: ffff888060158000 RIP: 0010:__lock_acquire+0x1cc/0x3f20 kernel/locking/lockdep.c:3369 RSP: 0018:ffff88806015f3b0 EFLAGS: 00010006 RAX: dffffc0000000000 RBX: 0000000000000000 RCX: 0000000000000000 RDX: 0000000000000022 RSI: 0000000000000000 RDI: 0000000000000110 RBP: 0000000000000000 R08: 0000000000000001 R09: 0000000000000000 R10: 0000000000000001 R11: ffff8880ae5a2400 R12: 0000000000000110 R13: 0000000000000000 R14: 0000000000000001 R15: ffffffff8bed0dc0 FS: 00007fcd01c7e700(0000) GS:ffff8880ba500000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000555556935708 CR3: 00000000b0492000 CR4: 00000000003406e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: lock_acquire+0x170/0x3f0 kernel/locking/lockdep.c:3998 flush_workqueue+0xfa/0x1310 kernel/workqueue.c:2625 nbd_disconnect_and_put+0xc3/0x140 drivers/block/nbd.c:1919 nbd_genl_disconnect+0x1fa/0x320 drivers/block/nbd.c:1957 genl_family_rcv_msg+0x572/0xb20 net/netlink/genetlink.c:600 genl_rcv_msg+0xaf/0x140 net/netlink/genetlink.c:625 netlink_rcv_skb+0x125/0x390 net/netlink/af_netlink.c:2454 genl_rcv+0x24/0x40 net/netlink/genetlink.c:636 netlink_unicast_kernel net/netlink/af_netlink.c:1296 [inline] netlink_unicast+0x437/0x610 net/netlink/af_netlink.c:1322 netlink_sendmsg+0x648/0xbc0 net/netlink/af_netlink.c:1893 sock_sendmsg_nosec net/socket.c:646 [inline] sock_sendmsg+0xb5/0x100 net/socket.c:656 ___sys_sendmsg+0x6c8/0x800 net/socket.c:2062 __sys_sendmsg+0xa3/0x120 net/socket.c:2096 SYSC_sendmsg net/socket.c:2107 [inline] SyS_sendmsg+0x27/0x40 net/socket.c:2103 do_syscall_64+0x1d5/0x640 arch/x86/entry/common.c:292 entry_SYSCALL_64_after_hwframe+0x5e/0xd3 RIP: 0033:0x7fcd0370c0c9 RSP: 002b:00007fcd01c7e168 EFLAGS: 00000246 ORIG_RAX: 000000000000002e RAX: ffffffffffffffda RBX: 00007fcd0382bf80 RCX: 00007fcd0370c0c9 RDX: 0000000000000000 RSI: 0000000020000440 RDI: 0000000000000008 RBP: 00007fcd03767ae9 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007ffc3c354fff R14: 00007fcd01c7e300 R15: 0000000000022000 Code: 18 00 00 00 00 48 81 c4 80 01 00 00 44 89 e8 5b 5d 41 5c 41 5d 41 5e 41 5f c3 48 b8 00 00 00 00 00 fc ff df 4c 89 e2 48 c1 ea 03 <80> 3c 02 00 0f 85 67 2a 00 00 49 81 3c 24 e0 c7 2f 8b 0f 84 5f RIP: __lock_acquire+0x1cc/0x3f20 kernel/locking/lockdep.c:3369 RSP: ffff88806015f3b0 ---[ end trace e0833a56ae5eb753 ]--- ---------------- Code disassembly (best guess), 1 bytes skipped: 0: 00 00 add %al,(%rax) 2: 00 00 add %al,(%rax) 4: 48 81 c4 80 01 00 00 add $0x180,%rsp b: 44 89 e8 mov %r13d,%eax e: 5b pop %rbx f: 5d pop %rbp 10: 41 5c pop %r12 12: 41 5d pop %r13 14: 41 5e pop %r14 16: 41 5f pop %r15 18: c3 retq 19: 48 b8 00 00 00 00 00 movabs $0xdffffc0000000000,%rax 20: fc ff df 23: 4c 89 e2 mov %r12,%rdx 26: 48 c1 ea 03 shr $0x3,%rdx * 2a: 80 3c 02 00 cmpb $0x0,(%rdx,%rax,1) <-- trapping instruction 2e: 0f 85 67 2a 00 00 jne 0x2a9b 34: 49 81 3c 24 e0 c7 2f cmpq $0xffffffff8b2fc7e0,(%r12) 3b: 8b 3c: 0f .byte 0xf 3d: 84 .byte 0x84 3e: 5f pop %rdi