------------[ cut here ]------------ kernel BUG at include/linux/scatterlist.h:97! invalid opcode: 0000 [#1] PREEMPT SMP KASAN CPU: 1 PID: 7143 Comm: syz-executor.3 Not tainted 5.0.0+ #1 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 RIP: 0010:sg_assign_page include/linux/scatterlist.h:97 [inline] RIP: 0010:sg_set_page include/linux/scatterlist.h:119 [inline] RIP: 0010:sk_msg_page_add include/linux/skmsg.h:246 [inline] RIP: 0010:tls_sw_do_sendpage net/tls/tls_sw.c:1161 [inline] RIP: 0010:tls_sw_sendpage+0xa09/0xf10 net/tls/tls_sw.c:1220 Code: 89 df e8 8a 01 ff ff 85 c0 41 89 c6 0f 84 f3 f7 ff ff e9 35 ff ff ff 48 c7 c6 00 b2 7e 87 48 89 d7 e8 eb a9 ea fb 0f 0b 0f 0b <0f> 0b 45 31 f6 e9 18 ff ff ff 83 85 b4 fe ff ff 01 e9 86 fd ff ff RSP: 0018:ffff888099ba7978 EFLAGS: 00010202 RAX: 0000000000000000 RBX: ffff888093986c00 RCX: ffff88808d922c48 RDX: 0000000000000004 RSI: 0000000000000001 RDI: 0000000000000001 RBP: ffff888099ba7ae0 R08: fffff940004ad237 R09: 0000000000000004 R10: ffff88808d922ba0 R11: ffffea00025691b7 R12: dffffc0000000000 R13: 0000000000000000 R14: ffff88808d922bac R15: ffff88808d922b80 FS: 00007fd798783700(0000) GS:ffff8880aeb00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f53f08bf000 CR3: 000000008edc3000 CR4: 00000000001406e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: inet_sendpage+0x122/0x600 net/ipv4/af_inet.c:815 kernel_sendpage+0x60/0xd0 net/socket.c:3643 sock_sendpage+0x6d/0xd0 net/socket.c:934 pipe_to_sendpage+0x212/0x430 fs/splice.c:448 splice_from_pipe_feed fs/splice.c:499 [inline] __splice_from_pipe+0x2c6/0x720 fs/splice.c:623 splice_from_pipe+0xbb/0x120 fs/splice.c:658 generic_splice_sendpage+0x10/0x20 fs/splice.c:828 do_splice_from fs/splice.c:847 [inline] do_splice+0x5a2/0x12f0 fs/splice.c:1154 __do_sys_splice fs/splice.c:1424 [inline] __se_sys_splice fs/splice.c:1404 [inline] __x64_sys_splice+0x248/0x300 fs/splice.c:1404 do_syscall_64+0xd0/0x4d0 arch/x86/entry/common.c:290 entry_SYSCALL_64_after_hwframe+0x49/0xbe RIP: 0033:0x459279 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:00007fd798782c78 EFLAGS: 00000246 ORIG_RAX: 0000000000000113 RAX: ffffffffffffffda RBX: 00007fd798782c90 RCX: 0000000000459279 RDX: 0000000000000004 RSI: 0000000000000000 RDI: 0000000000000003 RBP: 000000000075bf20 R08: 0000000100000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 00007fd7987836d4 R13: 00000000004c84f1 R14: 00000000004de010 R15: 0000000000000005 Modules linked in: ---[ end trace 9709615ad291bc60 ]--- RIP: 0010:sg_assign_page include/linux/scatterlist.h:97 [inline] RIP: 0010:sg_set_page include/linux/scatterlist.h:119 [inline] RIP: 0010:sk_msg_page_add include/linux/skmsg.h:246 [inline] RIP: 0010:tls_sw_do_sendpage net/tls/tls_sw.c:1161 [inline] RIP: 0010:tls_sw_sendpage+0xa09/0xf10 net/tls/tls_sw.c:1220 Code: 89 df e8 8a 01 ff ff 85 c0 41 89 c6 0f 84 f3 f7 ff ff e9 35 ff ff ff 48 c7 c6 00 b2 7e 87 48 89 d7 e8 eb a9 ea fb 0f 0b 0f 0b <0f> 0b 45 31 f6 e9 18 ff ff ff 83 85 b4 fe ff ff 01 e9 86 fd ff ff RSP: 0018:ffff888099ba7978 EFLAGS: 00010202 RAX: 0000000000000000 RBX: ffff888093986c00 RCX: ffff88808d922c48 RDX: 0000000000000004 RSI: 0000000000000001 RDI: 0000000000000001 RBP: ffff888099ba7ae0 R08: fffff940004ad237 R09: 0000000000000004 R10: ffff88808d922ba0 R11: ffffea00025691b7 R12: dffffc0000000000 R13: 0000000000000000 R14: ffff88808d922bac R15: ffff88808d922b80 FS: 00007fd798783700(0000) GS:ffff8880aeb00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f53f08bf000 CR3: 000000008edc3000 CR4: 00000000001406e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400