QAT: Invalid ioctl PANIC: double fault, error_code: 0x0 CPU: 0 PID: 9259 Comm: syz-executor2 Not tainted 4.20.0-rc2+ #85 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 ================================================================== BUG: KMSAN: uninit-value in atomic_try_cmpxchg include/asm-generic/atomic-instrumented.h:106 [inline] BUG: KMSAN: uninit-value in queued_spin_lock include/asm-generic/qspinlock.h:87 [inline] BUG: KMSAN: uninit-value in do_raw_spin_lock+0x130/0x410 include/linux/spinlock.h:180 CPU: 0 PID: 9259 Comm: syz-executor2 Not tainted 4.20.0-rc2+ #85 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 Call Trace: <#DF> __dump_stack lib/dump_stack.c:77 [inline] dump_stack+0x32d/0x480 lib/dump_stack.c:113 kmsan_report+0x19f/0x300 mm/kmsan/kmsan.c:911 kmsan_internal_check_memory+0x35b/0x3b0 mm/kmsan/kmsan.c:993 kmsan_check_memory+0xd/0x10 mm/kmsan/kmsan.c:1000 atomic_try_cmpxchg include/asm-generic/atomic-instrumented.h:106 [inline] queued_spin_lock include/asm-generic/qspinlock.h:87 [inline] do_raw_spin_lock+0x130/0x410 include/linux/spinlock.h:180 __raw_spin_lock include/linux/spinlock_api_smp.h:143 [inline] _raw_spin_lock+0x27/0x30 kernel/locking/spinlock.c:144 vprintk_emit+0x1d9/0x8a0 kernel/printk/printk.c:1910 vprintk_default+0x90/0xa0 kernel/printk/printk.c:1972 vprintk_func+0x26b/0x2a0 kernel/printk/printk_safe.c:398 printk+0x1a3/0x1f0 kernel/printk/printk.c:2008 show_ip arch/x86/kernel/dumpstack.c:124 [inline] show_iret_regs+0x13c/0x540 arch/x86/kernel/dumpstack.c:131 __show_regs+0xc9/0x1350 arch/x86/kernel/process_64.c:71 show_regs+0xaf/0x170 arch/x86/kernel/dumpstack.c:425 df_debug+0x86/0xb0 arch/x86/kernel/doublefault.c:80 do_double_fault+0x362/0x480 arch/x86/kernel/traps.c:428 double_fault+0x1e/0x30 arch/x86/entry/entry_64.S:978 RIP: 0010:get_cea_origin_or_null mm/kmsan/kmsan.c:747 [inline] RIP: 0010:kmsan_get_metadata_or_null mm/kmsan/kmsan.c:1066 [inline] RIP: 0010:kmsan_get_origin_address+0x212/0x360 mm/kmsan/kmsan.c:1192 Code: 2d 01 00 00 e9 fe 00 00 00 65 44 8b 34 25 20 a1 02 00 48 b8 00 00 00 00 00 02 00 00 48 01 d8 48 3d ff 0f e8 00 77 38 44 89 f7 19 30 4a ff 48 89 d9 48 29 c1 85 c9 78 26 48 63 c1 48 3d ff 9f RSP: 0018:fffffe0000002000 EFLAGS: 00010093 RAX: 0000000000002150 RBX: fffffe0000002150 RCX: 000000000000002e RDX: 0000000000000001 RSI: 0000000000000088 RDI: 0000000000000000 RBP: fffffe0000002038 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000000 R12: 0000778000000000 R13: 0000000000000000 R14: 0000000000000000 R15: fffffe0080002150 kmsan_memmove_origins+0xbd/0x1c0 mm/kmsan/kmsan.c:439 __msan_memmove+0x6c/0x80 mm/kmsan/kmsan_instr.c:196 fixup_bad_iret+0x63/0xc0 arch/x86/kernel/traps.c:669 error_entry+0xad/0xc0 arch/x86/entry/entry_64.S:1307 RIP: 0000: (null) Code: Bad RIP value. RSP: a3fb7f:00007efc2da529c0 EFLAGS: 00000000 ORIG_RAX: 0000000000000000 RAX: 0000000000000000 RBX: ffffffff8b000e58 RCX: 000000000040393c RDX: 49fa86c5a94a1d00 RSI: 0000000000000000 RDI: 0000000000000000 RBP: 0000000000000000 R08: 0000000000000000 R09: 000000000072bf08 R10: 000000000072bf00 R11: 000000000072bf0c R12: 0000000000000000 R13: 000000000072bf08 R14: 000000000072bf00 R15: 000000000072bf0c Local variable description: ----v.addr.i.i@do_raw_spin_lock Variable was created at: do_raw_spin_lock+0x62/0x410 include/linux/spinlock.h:178 __raw_spin_lock include/linux/spinlock_api_smp.h:143 [inline] _raw_spin_lock+0x27/0x30 kernel/locking/spinlock.c:144 Bytes 0-7 of 8 are uninitialized Memory access of size 8 starts at fffffe00000099f8 ==================================================================