general protection fault: 0000 [#1] SMP PTI Dumping ftrace buffer: (ftrace buffer empty) Modules linked in: CPU: 1 PID: 10274 Comm: syz-executor4 Not tainted 4.16.0+ #87 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 RIP: 0010:get_freepointer mm/slub.c:270 [inline] RIP: 0010:get_freepointer_safe mm/slub.c:285 [inline] RIP: 0010:slab_alloc_node mm/slub.c:2706 [inline] RIP: 0010:slab_alloc mm/slub.c:2745 [inline] RIP: 0010:__kmalloc+0x13b/0x350 mm/slub.c:3785 RSP: 0018:ffff8801bbd7faa8 EFLAGS: 00010286 RAX: 0000000000000000 RBX: ffff88021fd420f0 RCX: 0000000000040000 RDX: 00000000000070a2 RSI: 000000000000011f RDI: 0000000000000120 RBP: ffff8801bbd7fb08 R08: ffff88021f005500 R09: 0000000000000002 R10: 0000000000000000 R11: ffff8801bbd70000 R12: a3c25e25406550ee R13: ffff88021f005500 R14: ffff880159944418 R15: 00000000014000c0 FS: 00007f81bd022700(0000) GS:ffff88021fd00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007ffdbc7b6bcc CR3: 0000000171a74000 CR4: 00000000001406e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: kmalloc include/linux/slab.h:517 [inline] drbg_alloc_state crypto/drbg.c:1187 [inline] drbg_instantiate crypto/drbg.c:1481 [inline] drbg_kcapi_seed+0xedd/0x2270 crypto/drbg.c:1880 crypto_rng_reset+0x262/0x310 crypto/rng.c:52 rng_setkey+0x8b/0xa0 crypto/algif_rng.c:167 alg_setkey crypto/af_alg.c:223 [inline] alg_setsockopt+0x6c5/0x740 crypto/af_alg.c:256 SYSC_setsockopt+0x4b8/0x570 net/socket.c:1849 SyS_setsockopt+0x76/0xa0 net/socket.c:1828 do_syscall_64+0x309/0x430 arch/x86/entry/common.c:287 entry_SYSCALL_64_after_hwframe+0x3d/0xa2 RIP: 0033:0x455389 RSP: 002b:00007f81bd021c68 EFLAGS: 00000246 ORIG_RAX: 0000000000000036 RAX: ffffffffffffffda RBX: 00007f81bd0226d4 RCX: 0000000000455389 RDX: 0000000000000001 RSI: 0000000000000117 RDI: 0000000000000016 RBP: 000000000072bea0 R08: 0000000000000000 R09: 0000000000000000 R10: 00000000201ec000 R11: 0000000000000246 R12: 00000000ffffffff R13: 0000000000000519 R14: 00000000006faaf8 R15: 0000000000000000 Code: 8b 18 65 48 8b 53 08 65 48 03 1c 25 28 a1 02 00 4c 8b 23 4d 85 e4 0f 84 38 01 00 00 48 83 7b 10 00 0f 84 2d 01 00 00 49 63 40 20 <49> 8b 1c 04 48 89 d1 48 83 c1 01 49 8b 38 4c 89 e0 65 48 0f c7 RIP: get_freepointer mm/slub.c:270 [inline] RSP: ffff8801bbd7faa8 RIP: get_freepointer_safe mm/slub.c:285 [inline] RSP: ffff8801bbd7faa8 RIP: slab_alloc_node mm/slub.c:2706 [inline] RSP: ffff8801bbd7faa8 RIP: slab_alloc mm/slub.c:2745 [inline] RSP: ffff8801bbd7faa8 RIP: __kmalloc+0x13b/0x350 mm/slub.c:3785 RSP: ffff8801bbd7faa8 ---[ end trace ecc4d4d7d134b976 ]---