------------[ cut here ]------------ kernel BUG at include/linux/scatterlist.h:124! attempt to access beyond end of device invalid opcode: 0000 [#1] PREEMPT SMP KASAN Modules linked in: loop3: rw=12288, want=8200, limit=20 CPU: 1 PID: 19148 Comm: syz-executor.5 Not tainted 4.14.160-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 task: ffff88804fd906c0 task.stack: ffff8880a8868000 RIP: 0010:sg_page include/linux/scatterlist.h:124 [inline] RIP: 0010:gcmaes_decrypt.constprop.0+0x910/0xd20 arch/x86/crypto/aesni-intel_glue.c:828 RSP: 0018:ffff8880a886f8c8 EFLAGS: 00010216 RAX: 0000000000040000 RBX: ffff8880a862ac88 RCX: ffffc90005de8000 RDX: 000000000000022f RSI: ffffffff812f4d30 RDI: ffff8880a862a924 RBP: ffff8880a886f9a0 R08: ffff8880a862a060 R09: ffffed101510df3c R10: ffffed101510df3b R11: ffff8880a886f9db R12: ffffea0002198902 R13: ffff8880a862acbc R14: 0000000000000010 R15: ffff888075c92a00 FS: 00007f3557a1d700(0000) GS:ffff8880aed00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 attempt to access beyond end of device CR2: 000000000043c0f0 CR3: 0000000056b0a000 CR4: 00000000001406e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: generic_gcmaes_decrypt+0xf4/0x130 arch/x86/crypto/aesni-intel_glue.c:1126 crypto_aead_decrypt include/crypto/aead.h:362 [inline] gcmaes_wrapper_decrypt+0x162/0x200 arch/x86/crypto/aesni-intel_glue.c:961 crypto_aead_decrypt include/crypto/aead.h:362 [inline] _aead_recvmsg crypto/algif_aead.c:316 [inline] aead_recvmsg+0x821/0x1d20 crypto/algif_aead.c:335 loop3: rw=12288, want=12296, limit=20 sock_recvmsg_nosec net/socket.c:819 [inline] sock_recvmsg net/socket.c:826 [inline] sock_recvmsg+0xc6/0x110 net/socket.c:822 ___sys_recvmsg+0x21f/0x4d0 net/socket.c:2221 __sys_recvmsg+0xb6/0x140 net/socket.c:2266 attempt to access beyond end of device SYSC_recvmsg net/socket.c:2278 [inline] SyS_recvmsg+0x2d/0x50 net/socket.c:2273 loop3: rw=12288, want=8200, limit=20 do_syscall_64+0x1e8/0x640 arch/x86/entry/common.c:292 entry_SYSCALL_64_after_hwframe+0x42/0xb7 RIP: 0033:0x45a919 RSP: 002b:00007f3557a1cc78 EFLAGS: 00000246 ORIG_RAX: 000000000000002f RAX: ffffffffffffffda RBX: 0000000000000003 RCX: 000000000045a919 RDX: 0000000000000000 RSI: 0000000020000080 RDI: 0000000000000004 RBP: 000000000075bf20 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 00007f3557a1d6d4 attempt to access beyond end of device R13: 00000000004c8fad R14: 00000000004e0a48 R15: 00000000ffffffff Code: 0f 0b e8 64 02 2e 00 0f 0b e8 5d 02 2e 00 0f 0b e8 56 loop3: rw=12288, want=12296, limit=20 02 2e 00 0f 0b e8 4f 02 2e 00 e8 46 f5 d0 ff e9 63 ff ff ff e8 40 02 2e 00 <0f> 0b e8 39 02 2e 00 0f 0b 4c 89 85 58 ff ff ff e8 2b 02 2e 00 RIP: sg_page include/linux/scatterlist.h:124 [inline] RSP: ffff8880a886f8c8 RIP: gcmaes_decrypt.constprop.0+0x910/0xd20 arch/x86/crypto/aesni-intel_glue.c:828 RSP: ffff8880a886f8c8 kobject: 'kvm' (ffff8882194a6a10): kobject_uevent_env kobject: 'kvm' (ffff8882194a6a10): fill_kobj_path: path = '/devices/virtual/misc/kvm' kobject: 'kvm' (ffff8882194a6a10): kobject_uevent_env kobject: 'loop3' (ffff8880a40eb5e0): kobject_uevent_env kobject: 'loop3' (ffff8880a40eb5e0): fill_kobj_path: path = '/devices/virtual/block/loop3' kobject: 'kvm' (ffff8882194a6a10): fill_kobj_path: path = '/devices/virtual/misc/kvm' ---[ end trace 8d3aa2c2a14e5e87 ]---