QAT: Invalid ioctl BUG: unable to handle kernel NULL pointer dereference at (null) IP: (null) PGD 1de7b2067 P4D 1de7b2067 PUD 20e459067 PMD 0 Oops: 0010 [#1] SMP Dumping ftrace buffer: (ftrace buffer empty) Modules linked in: CPU: 1 PID: 17457 Comm: syz-executor0 Not tainted 4.15.0-rc3-next-20171214+ #67 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 RIP: 0010: (null) RSP: 0018:ffffc90000dffe60 EFLAGS: 00010216 RAX: 0000000000010000 RBX: ffff8802134a0900 RCX: ffffffff816783d1 RDX: 0000000000000020 RSI: ffff8801e0a67da0 RDI: ffff8802134a0900 RBP: ffffc90000dffe98 R08: e600000000000000 R09: 0000000000000001 R10: ffffc90000dffdf8 R11: 0000000000000000 R12: ffff8801e0a67da0 R13: 0000000000000020 R14: ffff8801de824c50 R15: 0000000000000000 FS: 00007fd7755c9700(0000) GS:ffff88021fd00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000000000000 CR3: 00000001dad0d000 CR4: 00000000001406e0 Call Trace: aead_setkey+0x25/0x40 crypto/algif_aead.c:528 alg_setkey crypto/af_alg.c:221 [inline] alg_setsockopt+0x140/0x180 crypto/af_alg.c:254 SYSC_setsockopt net/socket.c:1829 [inline] SyS_setsockopt+0x8a/0x100 net/socket.c:1808 entry_SYSCALL_64_fastpath+0x1f/0x96 RIP: 0033:0x452a39 RSP: 002b:00007fd7755c8c58 EFLAGS: 00000212 ORIG_RAX: 0000000000000036 RAX: ffffffffffffffda RBX: 00007fd7755c6510 RCX: 0000000000452a39 RDX: 0000000000000001 RSI: 0000000000000117 RDI: 0000000000000015 RBP: 00007fd7755c64e0 R08: 0000000000000020 R09: 0000000000000000 R10: 00000000201ec000 R11: 0000000000000212 R12: 00000000004b7765 R13: 00007fd7755c8bc0 R14: 00000000004b7766 R15: 0000000000000000 Code: Bad RIP value. RIP: (null) RSP: ffffc90000dffe60 CR2: 0000000000000000 ---[ end trace b6769ab30a0ad413 ]--- Kernel panic - not syncing: Fatal exception Dumping ftrace buffer: (ftrace buffer empty) Kernel Offset: disabled Rebooting in 86400 seconds..