audit: type=1804 audit(1642694534.064:27): pid=11373 uid=0 auid=4294967295 ses=4294967295 op="invalid_pcr" cause="open_writers" comm="syz-executor.2" name="/root/syzkaller-testdir904096736/syzkaller.aOBDw1/74/bus" dev="sda1" ino=14192 res=1 watchdog: BUG: soft lockup - CPU#0 stuck for 22s! [syz-executor.2:11379] Modules linked in: irq event stamp: 3511078 hardirqs last enabled at (3511077): [] restore_regs_and_return_to_kernel+0x0/0x2a hardirqs last disabled at (3511078): [] apic_timer_interrupt+0x8e/0xa0 arch/x86/entry/entry_64.S:793 softirqs last enabled at (621116): [] __do_softirq+0x68b/0x9ff kernel/softirq.c:314 softirqs last disabled at (621017): [] invoke_softirq kernel/softirq.c:368 [inline] softirqs last disabled at (621017): [] irq_exit+0x193/0x240 kernel/softirq.c:409 CPU: 0 PID: 11379 Comm: syz-executor.2 Not tainted 4.14.262-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 task: ffff8880a9fce3c0 task.stack: ffff88808edd8000 RIP: 0010:__read_once_size include/linux/compiler.h:185 [inline] RIP: 0010:atomic_read arch/x86/include/asm/atomic.h:27 [inline] RIP: 0010:queued_write_lock_slowpath+0xcb/0x1d0 kernel/locking/qrwlock.c:139 RSP: 0018:ffff88808eddfd38 EFLAGS: 00000206 ORIG_RAX: ffffffffffffff10 RAX: 0000000000000101 RBX: ffffffff89dd6668 RCX: 0000000000005275 RDX: 0000000000000000 RSI: 0000000000000001 RDI: ffffffff89dd6668 RBP: ffffffff89dd666c R08: ffffffff8b9c6e68 R09: 00000000000405a0 R10: ffff8880a9fcec70 R11: ffff8880a9fce3c0 R12: 0000000000000003 R13: fffffbfff13baccd R14: 00000000000000ff R15: ffffffff8863c1e0 FS: 00007fef9cfbf700(0000) GS:ffff8880ba400000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000001b2ed2f000 CR3: 00000000b1355000 CR4: 00000000003426f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: queued_write_lock include/asm-generic/qrwlock.h:134 [inline] do_raw_write_lock+0xc2/0x1d0 kernel/locking/spinlock_debug.c:203 bt_sock_link+0x1f/0x120 net/bluetooth/af_bluetooth.c:143 hci_sock_create+0x15c/0x1d0 net/bluetooth/hci_sock.c:2034 bt_sock_create+0x13b/0x280 net/bluetooth/af_bluetooth.c:130 __sock_create+0x303/0x620 net/socket.c:1275 sock_create net/socket.c:1315 [inline] SYSC_socket net/socket.c:1345 [inline] SyS_socket+0xd1/0x1b0 net/socket.c:1325 do_syscall_64+0x1d5/0x640 arch/x86/entry/common.c:292 entry_SYSCALL_64_after_hwframe+0x46/0xbb RIP: 0033:0x7fef9e66afe9 RSP: 002b:00007fef9cfbf108 EFLAGS: 00000246 ORIG_RAX: 0000000000000029 RAX: ffffffffffffffda RBX: 00007fef9e77e030 RCX: 00007fef9e66afe9 RDX: 0000000000000001 RSI: 0000000000000003 RDI: 000000000000001f RBP: 0000000000000006 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007ffd02689a6f R14: 00007fef9cfbf300 R15: 0000000000022000 Code: 75 dc 49 89 dd 49 89 dc 41 be ff 00 00 00 49 c1 ed 03 41 83 e4 07 48 b8 00 00 00 00 00 fc ff df 49 01 c5 41 83 c4 03 eb 02 f3 90 <41> 0f b6 45 00 41 38 c4 7c 08 84 c0 0f 85 9e 00 00 00 8b 03 83 Sending NMI from CPU 0 to CPUs 1: NMI backtrace for cpu 1 CPU: 1 PID: 11382 Comm: syz-executor.5 Not tainted 4.14.262-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 task: ffff88806fd50440 task.stack: ffff88806fcd0000 RIP: 0010:native_apic_mem_write+0x8/0x10 arch/x86/include/asm/apic.h:100 RSP: 0018:ffff8880ba507eb8 EFLAGS: 00000046 RAX: dffffc0000000000 RBX: ffffffff88cc7000 RCX: 0000000000000020 RDX: 1ffffffff1198e1d RSI: 000000000000004e RDI: 0000000000000380 RBP: ffff8880ba5282c0 R08: ffff88823fff7058 R09: ffff88823fff704f R10: ffff88823fff7057 R11: 00000025145448de R12: 000000000000004e R13: 0000000000000003 R14: 00000021a9d9e1d1 R15: 0000003024c03330 FS: 00007f863a843700(0000) GS:ffff8880ba500000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000001b2f229000 CR3: 000000009b24a000 CR4: 00000000003426e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: apic_write arch/x86/include/asm/apic.h:385 [inline] lapic_next_event+0x53/0x80 arch/x86/kernel/apic/apic.c:468 clockevents_program_event+0x1f1/0x2d0 kernel/time/clockevents.c:339 tick_program_event+0x78/0xd0 kernel/time/tick-oneshot.c:47 hrtimer_interrupt+0x336/0x5e0 kernel/time/hrtimer.c:1334 local_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1079 [inline] smp_apic_timer_interrupt+0x117/0x5e0 arch/x86/kernel/apic/apic.c:1104 apic_timer_interrupt+0x93/0xa0 arch/x86/entry/entry_64.S:793 RIP: 0010:pv_wait_head_or_lock kernel/locking/qspinlock_paravirt.h:411 [inline] RIP: 0010:__pv_queued_spin_lock_slowpath+0x265/0x910 kernel/locking/qspinlock.c:465 RSP: 0018:ffff88806fcd7988 EFLAGS: 00000206 ORIG_RAX: ffffffffffffff10 RAX: 0000000000000003 RBX: ffff8880ba534f00 RCX: fffffbfff13baccd RDX: 00000000000068cd RSI: 0000000000000004 RDI: 0000000000000286 RBP: ffffffff89dd666c R08: 0000000000000001 R09: 0000000000000000 R10: 0000000000000001 R11: 0000000000000000 R12: 0000000000000000 R13: dffffc0000000000 R14: ffffffff89dd666d R15: ffffed10174a69e8 pv_queued_spin_lock_slowpath arch/x86/include/asm/paravirt.h:669 [inline] queued_spin_lock_slowpath arch/x86/include/asm/qspinlock.h:52 [inline] queued_spin_lock include/asm-generic/qspinlock.h:90 [inline] queued_read_lock_slowpath+0x150/0x190 kernel/locking/qrwlock.c:90 hci_send_to_channel+0x3c/0x200 net/bluetooth/hci_sock.c:272 hci_send_monitor_ctrl_event+0x3dd/0x500 net/bluetooth/hci_sock.c:402 mgmt_send_event+0x2b3/0x330 net/bluetooth/mgmt_util.c:86 mgmt_event net/bluetooth/mgmt.c:270 [inline] block_device+0x135/0x1f0 net/bluetooth/mgmt.c:3804 hci_mgmt_cmd net/bluetooth/hci_sock.c:1590 [inline] hci_sock_sendmsg+0x175b/0x1d00 net/bluetooth/hci_sock.c:1725 sock_sendmsg_nosec net/socket.c:646 [inline] sock_sendmsg+0xb5/0x100 net/socket.c:656 sock_write_iter+0x22c/0x370 net/socket.c:925 call_write_iter include/linux/fs.h:1780 [inline] new_sync_write fs/read_write.c:469 [inline] __vfs_write+0x44c/0x630 fs/read_write.c:482 vfs_write+0x17f/0x4d0 fs/read_write.c:544 SYSC_write fs/read_write.c:590 [inline] SyS_write+0xf2/0x210 fs/read_write.c:582 do_syscall_64+0x1d5/0x640 arch/x86/entry/common.c:292 entry_SYSCALL_64_after_hwframe+0x46/0xbb RIP: 0033:0x7f863beeefe9 RSP: 002b:00007f863a843168 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 RAX: ffffffffffffffda RBX: 00007f863c002030 RCX: 00007f863beeefe9 RDX: 000000000000000d RSI: 0000000020000080 RDI: 000000000000000e RBP: 00007f863bf4908d R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007fff32819f4f R14: 00007f863a843300 R15: 0000000000022000 Code: 83 3d fc 9e 0b 0a 01 7f 02 5d c3 89 ef 5d e9 9d de de 05 48 c7 c7 c0 23 2e 8b e8 14 65 5c 00 eb df 66 90 89 ff 89 b7 00 c0 5f ff 0f 1f 80 00 00 00 00 48 b8 00 00 00 00 00 fc ff df 53 89 fb ---------------- Code disassembly (best guess): 0: 75 dc jne 0xffffffde 2: 49 89 dd mov %rbx,%r13 5: 49 89 dc mov %rbx,%r12 8: 41 be ff 00 00 00 mov $0xff,%r14d e: 49 c1 ed 03 shr $0x3,%r13 12: 41 83 e4 07 and $0x7,%r12d 16: 48 b8 00 00 00 00 00 movabs $0xdffffc0000000000,%rax 1d: fc ff df 20: 49 01 c5 add %rax,%r13 23: 41 83 c4 03 add $0x3,%r12d 27: eb 02 jmp 0x2b 29: f3 90 pause * 2b: 41 0f b6 45 00 movzbl 0x0(%r13),%eax <-- trapping instruction 30: 41 38 c4 cmp %al,%r12b 33: 7c 08 jl 0x3d 35: 84 c0 test %al,%al 37: 0f 85 9e 00 00 00 jne 0xdb 3d: 8b 03 mov (%rbx),%eax 3f: 83 .byte 0x83