------------[ cut here ]------------ kernel BUG at include/linux/scatterlist.h:97! invalid opcode: 0000 [#1] PREEMPT SMP KASAN CPU: 0 PID: 16942 Comm: syz-executor.2 Not tainted 5.4.0-rc5+ #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:247 [inline] RIP: 0010:tls_sw_do_sendpage net/tls/tls_sw.c:1175 [inline] RIP: 0010:tls_sw_sendpage+0xd58/0xf50 net/tls/tls_sw.c:1234 Code: 89 ef e8 db ec 5f fb 0f 0b e8 24 67 35 fb 48 8d 43 ff 48 89 85 20 ff ff ff e9 9c f8 ff ff e8 0f 67 35 fb 0f 0b e8 08 67 35 fb <0f> 0b 31 db e9 be fe ff ff e8 fa 66 35 fb 83 85 d0 fe ff ff 01 e9 RSP: 0018:ffff88806847f900 EFLAGS: 00010246 RAX: 0000000000040000 RBX: ffff888062da60e0 RCX: ffffc9000a367000 RDX: 0000000000040000 RSI: ffffffff863dc3f8 RDI: 0000000000000007 RBP: ffff88806847fa50 R08: ffff8880989d8140 R09: fffff940002c5007 R10: fffff940002c5006 R11: ffffea0001628037 R12: 0000000000000005 R13: ffff888062da6000 R14: dffffc0000000000 R15: ffff888062cd2440 FS: 00007f6f3c01a700(0000) GS:ffff8880ae800000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f207bd80ea0 CR3: 000000006878a000 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:0x45a219 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:00007f6f3c019c78 EFLAGS: 00000246 ORIG_RAX: 0000000000000113 RAX: ffffffffffffffda RBX: 00007f6f3c019c90 RCX: 000000000045a219 RDX: 0000000000000004 RSI: 0000000000000000 RDI: 0000000000000003 RBP: 000000000075bf20 R08: 0000000100000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 00007f6f3c01a6d4 R13: 00000000004ca1a6 R14: 00000000004e1350 R15: 0000000000000005 Modules linked in: ---[ end trace fa8f9c711e70619e ]--- 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:247 [inline] RIP: 0010:tls_sw_do_sendpage net/tls/tls_sw.c:1175 [inline] RIP: 0010:tls_sw_sendpage+0xd58/0xf50 net/tls/tls_sw.c:1234 Code: 89 ef e8 db ec 5f fb 0f 0b e8 24 67 35 fb 48 8d 43 ff 48 89 85 20 ff ff ff e9 9c f8 ff ff e8 0f 67 35 fb 0f 0b e8 08 67 35 fb <0f> 0b 31 db e9 be fe ff ff e8 fa 66 35 fb 83 85 d0 fe ff ff 01 e9 RSP: 0018:ffff88806847f900 EFLAGS: 00010246 RAX: 0000000000040000 RBX: ffff888062da60e0 RCX: ffffc9000a367000 RDX: 0000000000040000 RSI: ffffffff863dc3f8 RDI: 0000000000000007 RBP: ffff88806847fa50 R08: ffff8880989d8140 R09: fffff940002c5007 R10: fffff940002c5006 R11: ffffea0001628037 R12: 0000000000000005 R13: ffff888062da6000 R14: dffffc0000000000 R15: ffff888062cd2440 FS: 00007f6f3c01a700(0000) GS:ffff8880ae800000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000000625208 CR3: 000000006878a000 CR4: 00000000001406f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400