R10: 0000000020000040 R11: 0000000000000246 R12: 00007fb9351cf6d4 R13: 00000000004c7950 R14: 00000000004dd418 R15: 0000000000000005 kasan: CONFIG_KASAN_INLINE enabled kasan: GPF could be caused by NULL-ptr deref or user memory access general protection fault: 0000 [#1] PREEMPT SMP KASAN CPU: 0 PID: 30705 Comm: syz-executor.5 Not tainted 4.19.56 #28 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 RIP: 0010:scatterwalk_start include/crypto/scatterwalk.h:73 [inline] RIP: 0010:scatterwalk_pagedone include/crypto/scatterwalk.h:98 [inline] RIP: 0010:scatterwalk_done include/crypto/scatterwalk.h:106 [inline] RIP: 0010:gcmaes_crypt_by_sg.constprop.0+0xde2/0x1850 arch/x86/crypto/aesni-intel_glue.c:868 Code: 82 f3 f9 ff ff e8 6e ac 35 00 4c 89 f7 e8 c6 c7 eb 01 48 8d 78 08 49 89 c6 48 b8 00 00 00 00 00 fc ff df 48 89 fa 48 c1 ea 03 <0f> b6 04 02 84 c0 74 08 3c 03 0f 8e a5 09 00 00 41 8b 46 08 89 84 FAULT_INJECTION: forcing a failure. name failslab, interval 1, probability 0, space 0, times 0 RSP: 0018:ffff8880969df230 EFLAGS: 00010202 RAX: dffffc0000000000 RBX: 0000000000000034 RCX: ffffc90013ff9000 RDX: 0000000000000001 RSI: ffffffff8321329b RDI: 0000000000000008 RBP: ffff8880969df570 R08: ffff88809c7b65c0 R09: 000000000000000d R10: ffff888055b63020 R11: 0000000000000010 R12: 0000000000000000 R13: 0000000000000034 R14: 0000000000000000 R15: 0000000000000007 FS: 00007f6f7417f700(0000) GS:ffff8880ae800000(0000) knlGS:0000000000000000 CPU: 1 PID: 30823 Comm: syz-executor.2 Not tainted 4.19.56 #28 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 CR2: 00007f6996653518 CR3: 000000005a9f5000 CR4: 00000000001406f0 Call Trace: DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 __dump_stack lib/dump_stack.c:77 [inline] dump_stack+0x172/0x1f0 lib/dump_stack.c:113 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000600 fail_dump lib/fault-inject.c:51 [inline] should_fail.cold+0xa/0x1b lib/fault-inject.c:149 Call Trace: __should_failslab+0x121/0x190 mm/failslab.c:32 should_failslab+0x9/0x14 mm/slab_common.c:1557 slab_pre_alloc_hook mm/slab.h:424 [inline] slab_alloc mm/slab.c:3383 [inline] kmem_cache_alloc_trace+0x2cc/0x760 mm/slab.c:3623 gcmaes_encrypt.constprop.0+0x62a/0xd90 arch/x86/crypto/aesni-intel_glue.c:932 kmalloc include/linux/slab.h:515 [inline] kzalloc include/linux/slab.h:709 [inline] tls_set_device_offload+0xd7/0xdf0 net/tls/tls_device.c:715 do_tls_setsockopt_conf net/tls/tls_main.c:470 [inline] do_tls_setsockopt net/tls/tls_main.c:523 [inline] tls_setsockopt+0x304/0x770 net/tls/tls_main.c:542 sock_common_setsockopt+0x94/0xd0 net/core/sock.c:3044 __sys_setsockopt+0x17a/0x280 net/socket.c:1901 __do_sys_setsockopt net/socket.c:1912 [inline] __se_sys_setsockopt net/socket.c:1909 [inline] __x64_sys_setsockopt+0xbe/0x150 net/socket.c:1909 do_syscall_64+0xfd/0x620 arch/x86/entry/common.c:293 entry_SYSCALL_64_after_hwframe+0x49/0xbe RIP: 0033:0x459519 Code: fd b7 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 b7 fb ff c3 66 2e 0f 1f 84 00 00 00 00 RSP: 002b:00007fe7d7ddcc78 EFLAGS: 00000246 ORIG_RAX: 0000000000000036 RAX: ffffffffffffffda RBX: 00007fe7d7ddcc90 RCX: 0000000000459519 generic_gcmaes_encrypt+0x108/0x159 arch/x86/crypto/aesni-intel_glue.c:1297 RDX: 0000000000000001 RSI: 000000000000011a RDI: 0000000000000004 RBP: 000000000075bf20 R08: 0000000000000028 R09: 0000000000000000 R10: 0000000020000180 R11: 0000000000000246 R12: 00007fe7d7ddd6d4 R13: 00000000004c7989 R14: 00000000004dd448 R15: 0000000000000006 crypto_aead_encrypt include/crypto/aead.h:335 [inline] gcmaes_wrapper_encrypt+0x15f/0x200 arch/x86/crypto/aesni-intel_glue.c:1130 crypto_aead_encrypt include/crypto/aead.h:335 [inline] tls_do_encryption net/tls/tls_sw.c:193 [inline] tls_push_record+0x9c0/0x13a0 net/tls/tls_sw.c:228 tls_sw_sendpage+0x540/0xd40 net/tls/tls_sw.c:583 inet_sendpage+0x168/0x630 net/ipv4/af_inet.c:815 kernel_sendpage+0x92/0xf0 net/socket.c:3377 kobject: 'loop2' (0000000051ee8441): kobject_uevent_env sock_sendpage+0x8b/0xc0 net/socket.c:847 kobject: 'loop2' (0000000051ee8441): fill_kobj_path: path = '/devices/virtual/block/loop2' pipe_to_sendpage+0x296/0x360 fs/splice.c:452 splice_from_pipe_feed fs/splice.c:503 [inline] __splice_from_pipe+0x391/0x7d0 fs/splice.c:627 splice_from_pipe+0x108/0x170 fs/splice.c:662 generic_splice_sendpage+0x3c/0x50 fs/splice.c:833 do_splice_from fs/splice.c:852 [inline] do_splice+0x642/0x12c0 fs/splice.c:1148 __do_sys_splice fs/splice.c:1415 [inline] __se_sys_splice fs/splice.c:1395 [inline] __x64_sys_splice+0x2c6/0x330 fs/splice.c:1395 do_syscall_64+0xfd/0x620 arch/x86/entry/common.c:293 entry_SYSCALL_64_after_hwframe+0x49/0xbe RIP: 0033:0x459519 Code: fd b7 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 b7 fb ff c3 66 2e 0f 1f 84 00 00 00 00 RSP: 002b:00007f6f7417ec78 EFLAGS: 00000246 ORIG_RAX: 0000000000000113 RAX: ffffffffffffffda RBX: 00007f6f7417ec90 RCX: 0000000000459519 RDX: 0000000000000004 RSI: 0000000000000000 RDI: 0000000000000003 RBP: 000000000075bfc8 R08: 0000000100000300 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 00007f6f7417f6d4 R13: 00000000004c8a66 R14: 00000000004deb70 R15: 0000000000000006 Modules linked in: ---[ end trace cd61434f9ced3565 ]--- RIP: 0010:scatterwalk_start include/crypto/scatterwalk.h:73 [inline] RIP: 0010:scatterwalk_pagedone include/crypto/scatterwalk.h:98 [inline] RIP: 0010:scatterwalk_done include/crypto/scatterwalk.h:106 [inline] RIP: 0010:gcmaes_crypt_by_sg.constprop.0+0xde2/0x1850 arch/x86/crypto/aesni-intel_glue.c:868 Code: 82 f3 f9 ff ff e8 6e ac 35 00 4c 89 f7 e8 c6 c7 eb 01 48 8d 78 08 49 89 c6 48 b8 00 00 00 00 00 fc ff df 48 89 fa 48 c1 ea 03 <0f> b6 04 02 84 c0 74 08 3c 03 0f 8e a5 09 00 00 41 8b 46 08 89 84 RSP: 0018:ffff8880969df230 EFLAGS: 00010202 RAX: dffffc0000000000 RBX: 0000000000000034 RCX: ffffc90013ff9000 RDX: 0000000000000001 RSI: ffffffff8321329b RDI: 0000000000000008 RBP: ffff8880969df570 R08: ffff88809c7b65c0 R09: 000000000000000d R10: ffff888055b63020 R11: 0000000000000010 R12: 0000000000000000 R13: 0000000000000034 R14: 0000000000000000 R15: 0000000000000007 FS: 00007f6f7417f700(0000) GS:ffff8880ae800000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f6996653518 CR3: 000000005a9f5000 CR4: 00000000001406f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000600