kernel BUG at include/linux/scatterlist.h:97! invalid opcode: 0000 [#1] PREEMPT SMP KASAN CPU: 0 PID: 14501 Comm: syz-executor.3 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 80 86 52 88 4c 89 ef e8 ee 4c 60 fb 0f 0b e8 a7 18 36 fb 4d 8d 6c 24 ff e9 76 f8 ff ff e8 98 18 36 fb 0f 0b e8 91 18 36 fb <0f> 0b 45 31 ed e9 bc fe ff ff e8 82 18 36 fb 83 85 c4 fe ff ff 01 RSP: 0018:ffff888098e2f900 EFLAGS: 00010246 RAX: 0000000000040000 RBX: dffffc0000000000 RCX: ffffc9000c996000 RDX: 0000000000040000 RSI: ffffffff863cfc7f RDI: 0000000000000007 RBP: ffff888098e2fa50 R08: ffff88806aa2c200 R09: fffff940003305e7 R10: fffff940003305e6 R11: ffffea0001982f37 R12: 0000000000000004 R13: 0000000000000001 R14: ffff88809a9640c8 R15: ffff888072b8e180 FS: 00007f9e20672700(0000) GS:ffff8880ae800000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000000000075c000 CR3: 00000000a5907000 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:0x459f49 Code: ad b6 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 7b b6 fb ff c3 66 2e 0f 1f 84 00 00 00 00 RSP: 002b:00007f9e20671c78 EFLAGS: 00000246 ORIG_RAX: 0000000000000113 RAX: ffffffffffffffda RBX: 00007f9e20671c90 RCX: 0000000000459f49 RDX: 0000000000000004 RSI: 0000000000000000 RDI: 0000000000000003 RBP: 000000000075bfc8 R08: 0000000100000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 00007f9e206726d4 R13: 00000000004c9c8b R14: 00000000004e0af8 R15: 0000000000000005 Modules linked in: ---[ end trace 3e64513e3a3767c5 ]--- 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 80 86 52 88 4c 89 ef e8 ee 4c 60 fb 0f 0b e8 a7 18 36 fb 4d 8d 6c 24 ff e9 76 f8 ff ff e8 98 18 36 fb 0f 0b e8 91 18 36 fb <0f> 0b 45 31 ed e9 bc fe ff ff e8 82 18 36 fb 83 85 c4 fe ff ff 01 RSP: 0018:ffff888098e2f900 EFLAGS: 00010246 RAX: 0000000000040000 RBX: dffffc0000000000 RCX: ffffc9000c996000 RDX: 0000000000040000 RSI: ffffffff863cfc7f RDI: 0000000000000007 RBP: ffff888098e2fa50 R08: ffff88806aa2c200 R09: fffff940003305e7 R10: fffff940003305e6 R11: ffffea0001982f37 R12: 0000000000000004 R13: 0000000000000001 R14: ffff88809a9640c8 R15: ffff888072b8e180 FS: 00007f9e20672700(0000) GS:ffff8880ae800000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00000000004ca5c5 CR3: 00000000a5907000 CR4: 00000000001406f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400