audit: type=1326 audit(1533819728.534:13589): auid=4294967295 uid=0 gid=0 ses=4294967295 pid=21581 comm="syz-executor4" exe="/root/syz-executor4" sig=31 arch=c000003e syscall=202 compat=0 ip=0x456d89 code=0x0 audit: type=1326 audit(1533819728.564:13590): auid=4294967295 uid=0 gid=0 ses=4294967295 pid=21645 comm="syz-executor4" exe="/root/syz-executor4" sig=31 arch=c000003e syscall=202 compat=0 ip=0x456d89 code=0x0 BUG: unable to handle kernel NULL pointer dereference at 0000000000000008 PGD 800000020e7bc067 P4D 800000020e7bc067 PUD 1e9a93067 PMD 0 Oops: 0000 [#1] SMP PTI CPU: 0 PID: 21585 Comm: syz-executor2 Not tainted 4.18.0-rc8+ #32 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 RIP: 0010:scatterwalk_start include/crypto/scatterwalk.h:85 [inline] RIP: 0010:scatterwalk_pagedone include/crypto/scatterwalk.h:111 [inline] RIP: 0010:scatterwalk_done include/crypto/scatterwalk.h:119 [inline] RIP: 0010:blkcipher_walk_done+0x18e/0x290 crypto/blkcipher.c:124 Code: 45 28 49 8b 5d 38 8b 43 0c 03 43 08 41 39 45 40 73 07 e8 05 f5 83 ff eb 18 e8 fe f4 83 ff 48 89 df e8 b6 74 0d 00 49 89 45 38 <8b> 40 08 41 89 45 40 45 89 7d 48 45 89 7d 30 41 f6 46 11 02 75 07 RSP: 0018:ffff88020393f948 EFLAGS: 00010246 RAX: 0000000000000000 RBX: ffff880207d36270 RCX: 0000000000040000 RDX: ffffc90008945000 RSI: 0000000000033fb2 RDI: 0000000000033fb3 RBP: ffff88020393f970 R08: ffff8801e98954ec R09: 0000000000000005 R10: 000000000000330b R11: 00000000a459bcb9 R12: 0000000000000010 R13: ffff88020393f9a0 R14: ffff88020393fa88 R15: 000000000000000e FS: 00007f3f6b0ae700(0000) GS:ffff88021fc00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000000000008 CR3: 00000001ec392000 CR4: 00000000001406f0 DR0: 00000000200001c0 DR1: 00000000200001c0 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000600 Call Trace: crypto_ctr_crypt+0x21c/0x250 crypto/ctr.c:146 skcipher_crypt_blkcipher crypto/skcipher.c:623 [inline] skcipher_encrypt_blkcipher+0x49/0x50 crypto/skcipher.c:632 crypto_skcipher_encrypt include/crypto/skcipher.h:443 [inline] crypto_gcm_encrypt+0xd1/0x160 crypto/gcm.c:483 crypto_aead_encrypt include/crypto/aead.h:335 [inline] tls_do_encryption net/tls/tls_sw.c:211 [inline] tls_push_record+0x1f0/0x470 net/tls/tls_sw.c:247 tls_sw_sendpage+0x380/0x4d0 net/tls/tls_sw.c:601 inet_sendpage+0x11d/0x1c0 net/ipv4/af_inet.c:815 kernel_sendpage net/socket.c:3334 [inline] sock_sendpage+0x63/0x90 net/socket.c:867 pipe_to_sendpage+0x93/0xb0 fs/splice.c:452 splice_from_pipe_feed fs/splice.c:503 [inline] __splice_from_pipe+0xdd/0x2a0 fs/splice.c:627 splice_from_pipe fs/splice.c:662 [inline] generic_splice_sendpage+0x6e/0x90 fs/splice.c:833 do_splice_from fs/splice.c:852 [inline] direct_splice_actor+0x42/0x50 fs/splice.c:1019 splice_direct_to_actor+0x174/0x350 fs/splice.c:974 do_splice_direct+0x87/0xe0 fs/splice.c:1062 do_sendfile+0x424/0x680 fs/read_write.c:1440 __do_sys_sendfile64 fs/read_write.c:1495 [inline] __se_sys_sendfile64 fs/read_write.c:1487 [inline] __x64_sys_sendfile64+0x59/0xb0 fs/read_write.c:1487 do_syscall_64+0x61/0x90 arch/x86/entry/common.c:290 entry_SYSCALL_64_after_hwframe+0x44/0xa9 RIP: 0033:0x456d89 Code: fd b4 fb ff c3 66 2e 0f 1f 84 00 00 00 00 00 66 90 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 0f 83 cb b4 fb ff c3 66 2e 0f 1f 84 00 00 00 00 RSP: 002b:00007f3f6b0adc78 EFLAGS: 00000246 ORIG_RAX: 0000000000000028 RAX: ffffffffffffffda RBX: 00007f3f6b0ae6d4 RCX: 0000000000456d89 RDX: 0000000020000280 RSI: 0000000000000005 RDI: 0000000000000003 RBP: 00000000009300a0 R08: 0000000000000000 R09: 0000000000000000 R10: 000000000000ee78 R11: 0000000000000246 R12: 0000000000000006 R13: 00000000004d34c0 R14: 00000000004c823e R15: 000000000000000d Modules linked in: Dumping ftrace buffer: (ftrace buffer empty) CR2: 0000000000000008 ---[ end trace 3db5c3f8f8fdf5b7 ]--- RIP: 0010:scatterwalk_start include/crypto/scatterwalk.h:85 [inline] RIP: 0010:scatterwalk_pagedone include/crypto/scatterwalk.h:111 [inline] RIP: 0010:scatterwalk_done include/crypto/scatterwalk.h:119 [inline] RIP: 0010:blkcipher_walk_done+0x18e/0x290 crypto/blkcipher.c:124 Code: 45 28 49 8b 5d 38 8b 43 0c 03 43 08 41 39 45 40 73 07 e8 05 f5 83 ff eb 18 e8 fe f4 83 ff 48 89 df e8 b6 74 0d 00 49 89 45 38 <8b> 40 08 41 89 45 40 45 89 7d 48 45 89 7d 30 41 f6 46 11 02 75 07 RSP: 0018:ffff88020393f948 EFLAGS: 00010246 RAX: 0000000000000000 RBX: ffff880207d36270 RCX: 0000000000040000 RDX: ffffc90008945000 RSI: 0000000000033fb2 RDI: 0000000000033fb3 RBP: ffff88020393f970 R08: ffff8801e98954ec R09: 0000000000000005 R10: 000000000000330b R11: 00000000a459bcb9 R12: 0000000000000010 R13: ffff88020393f9a0 R14: ffff88020393fa88 R15: 000000000000000e FS: 00007f3f6b0ae700(0000) GS:ffff88021fc00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000000000008 CR3: 00000001ec392000 CR4: 00000000001406f0 DR0: 00000000200001c0 DR1: 00000000200001c0 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000600