------------[ cut here ]------------ kernel BUG at include/linux/scatterlist.h:97! invalid opcode: 0000 [#1] PREEMPT SMP KASAN CPU: 0 PID: 13105 Comm: syz-executor.0 Not tainted 5.4.0-rc3+ #0 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:1170 [inline] RIP: 0010:tls_sw_sendpage+0xd8f/0xf80 net/tls/tls_sw.c:1229 Code: c6 c0 9c 52 88 4c 89 ef e8 9e 7d 60 fb 0f 0b e8 f7 4b 36 fb 4d 8d 6c 24 ff e9 76 f8 ff ff e8 e8 4b 36 fb 0f 0b e8 e1 4b 36 fb <0f> 0b 45 31 ed e9 bc fe ff ff e8 d2 4b 36 fb 83 85 c4 fe ff ff 01 RSP: 0018:ffff88806096f900 EFLAGS: 00010246 RAX: 0000000000040000 RBX: dffffc0000000000 RCX: ffffc90005f4d000 RDX: 0000000000040000 RSI: ffffffff863cc92f RDI: 0000000000000007 RBP: ffff88806096fa50 R08: ffff888093bf0400 R09: fffff940004b17ff R10: fffff940004b17fe R11: ffffea000258bff7 R12: 0000000000000004 R13: 0000000000000001 R14: ffff8880974e40c8 R15: ffff88806a778300 FS: 00007f48ca220700(0000) GS:ffff8880ae800000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000001b33823000 CR3: 0000000095d58000 CR4: 00000000001406f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: inet_sendpage+0xdb/0x150 net/ipv4/af_inet.c:821 kernel_sendpage+0x92/0xf0 net/socket.c:3682 sock_sendpage+0x8b/0xc0 net/socket.c:935 pipe_to_sendpage+0x296/0x360 fs/splice.c:449 splice_from_pipe_feed fs/splice.c:500 [inline] __splice_from_pipe+0x397/0x7d0 fs/splice.c:624 splice_from_pipe+0x108/0x170 fs/splice.c:659 generic_splice_sendpage+0x3c/0x50 fs/splice.c:829 do_splice_from fs/splice.c:848 [inline] do_splice+0x708/0x1410 fs/splice.c:1155 __do_sys_splice fs/splice.c:1425 [inline] __se_sys_splice fs/splice.c:1405 [inline] __x64_sys_splice+0x2c6/0x330 fs/splice.c:1405 do_syscall_64+0xfa/0x760 arch/x86/entry/common.c:290 entry_SYSCALL_64_after_hwframe+0x49/0xbe RIP: 0033:0x459a59 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:00007f48ca21fc78 EFLAGS: 00000246 ORIG_RAX: 0000000000000113 RAX: ffffffffffffffda RBX: 00007f48ca21fc90 RCX: 0000000000459a59 RDX: 0000000000000004 RSI: 0000000000000000 RDI: 0000000000000003 RBP: 000000000075bf20 R08: 0000000100000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 00007f48ca2206d4 R13: 00000000004c954e R14: 00000000004dffb0 R15: 0000000000000005 Modules linked in: ---[ end trace f34997f944a092b1 ]--- 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:1170 [inline] RIP: 0010:tls_sw_sendpage+0xd8f/0xf80 net/tls/tls_sw.c:1229 Code: c6 c0 9c 52 88 4c 89 ef e8 9e 7d 60 fb 0f 0b e8 f7 4b 36 fb 4d 8d 6c 24 ff e9 76 f8 ff ff e8 e8 4b 36 fb 0f 0b e8 e1 4b 36 fb <0f> 0b 45 31 ed e9 bc fe ff ff e8 d2 4b 36 fb 83 85 c4 fe ff ff 01 RSP: 0018:ffff88806096f900 EFLAGS: 00010246 RAX: 0000000000040000 RBX: dffffc0000000000 RCX: ffffc90005f4d000 RDX: 0000000000040000 RSI: ffffffff863cc92f RDI: 0000000000000007 RBP: ffff88806096fa50 R08: ffff888093bf0400 R09: fffff940004b17ff R10: fffff940004b17fe R11: ffffea000258bff7 R12: 0000000000000004 R13: 0000000000000001 R14: ffff8880974e40c8 R15: ffff88806a778300 FS: 00007f48ca220700(0000) GS:ffff8880ae800000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00000000024a27d0 CR3: 0000000095d58000 CR4: 00000000001406f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400