bisecting fixing commit since 2d19be4653f5e74ed95560b69f94eb6791d49af3 building syzkaller on 4c37c133e4bf703d023995535f1e264d8658e08e testing commit 2d19be4653f5e74ed95560b69f94eb6791d49af3 compiler: gcc version 8.4.1 20210217 (GCC) kernel signature: 2a64100628e42d459e9d0a862cda0fb746ae0c47f7447ef2bebc28abfd4d7a99 run #0: crashed: BUG: Bad page state run #1: crashed: general protection fault in tls_sk_proto_close run #2: crashed: general protection fault in tls_sk_proto_close run #3: crashed: general protection fault in tls_sk_proto_close run #4: crashed: general protection fault in tls_sk_proto_close run #5: crashed: general protection fault in tls_sk_proto_close run #6: crashed: general protection fault in tls_sk_proto_close run #7: crashed: general protection fault in tls_sk_proto_close run #8: crashed: general protection fault in tls_sk_proto_close run #9: crashed: general protection fault in corrupted run #10: crashed: kernel BUG in do_exit run #11: crashed: BUG: Bad page state run #12: crashed: kernel BUG in do_exit run #13: crashed: general protection fault in tls_sk_proto_close run #14: crashed: general protection fault in tls_sk_proto_close run #15: crashed: general protection fault in tls_sk_proto_close run #16: crashed: general protection fault in tls_sk_proto_close run #17: crashed: BUG: Bad page state run #18: crashed: general protection fault in tls_sk_proto_close run #19: crashed: general protection fault in tls_sk_proto_close testing current HEAD 59456c9cc40c8f75b5a7efa0fe1f211d9c6fcaf1 testing commit 59456c9cc40c8f75b5a7efa0fe1f211d9c6fcaf1 compiler: gcc version 8.4.1 20210217 (GCC) kernel signature: 7c7d895a7e00b36982dc60ab08183d34ec4ae6785e9e912a91297a32680d995e run #0: crashed: general protection fault in tls_sk_proto_close run #1: crashed: general protection fault in tls_sk_proto_close run #2: crashed: general protection fault in tls_sk_proto_close run #3: crashed: general protection fault in tls_sk_proto_close run #4: crashed: general protection fault in tls_sk_proto_close run #5: crashed: general protection fault in tls_sk_proto_close run #6: crashed: general protection fault in corrupted run #7: crashed: general protection fault in tls_sk_proto_close run #8: crashed: general protection fault in tls_sk_proto_close run #9: crashed: general protection fault in tls_sk_proto_close revisions tested: 2, total time: 27m16.26168999s (build: 20m5.670644881s, test: 6m40.357416584s) the crash still happens on HEAD commit msg: Linux 4.19.204 crash: general protection fault in tls_sk_proto_close kasan: CONFIG_KASAN_INLINE enabled kasan: CONFIG_KASAN_INLINE enabled page:ffffea000277e800 count:0 mapcount:-128 mapping:0000000000000000 index:0x0 kasan: GPF could be caused by NULL-ptr deref or user memory access page:ffffea000263f600 count:0 mapcount:-128 mapping:0000000000000000 index:0x0 general protection fault: 0000 [#1] PREEMPT SMP KASAN kasan: GPF could be caused by NULL-ptr deref or user memory access CPU: 0 PID: 9850 Comm: syz-executor.2 Not tainted 4.19.204-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 RIP: 0010:__read_once_size include/linux/compiler.h:261 [inline] RIP: 0010:compound_head include/linux/page-flags.h:142 [inline] RIP: 0010:put_page include/linux/mm.h:951 [inline] RIP: 0010:tls_sk_proto_close+0x2af/0x980 net/tls/tls_main.c:277 Code: 89 ca 48 89 8d 40 ff ff ff 48 c1 ea 03 4a 8d 0c 2a 48 89 8d 68 ff ff ff 48 83 e0 fc 48 8d 78 08 49 89 c6 48 89 fe 48 c1 ee 03 <42> 80 3c 2e 00 0f 85 63 05 00 00 49 8b 76 08 48 8d 7e ff 83 e6 01 RSP: 0018:ffff88809921fca0 EFLAGS: 00010202 RAX: 0000000000000000 RBX: ffff888098f81ac0 RCX: ffffed1015080c35 RDX: 1ffffffff13224a9 RSI: 0000000000000001 RDI: 0000000000000008 RBP: ffff88809921fd60 R08: ffff888098dbcdd0 R09: 1ffffffff18c57f2 R10: 0000000000000000 R11: 0000000000000000 R12: ffff8880986498c0 R13: dffffc0000000000 R14: 0000000000000000 R15: ffff8880a8406180 FS: 0000000002e2c400(0000) GS:ffff8880ba200000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f81eb9bf000 CR3: 0000000099524000 CR4: 00000000001406f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: flags: 0xfff00000000000() raw: 00fff00000000000 ffffea0002359808 ffffea000277e808 0000000000000000 inet_release+0xb4/0x1b0 net/ipv4/af_inet.c:427 inet6_release+0x46/0x60 net/ipv6/af_inet6.c:472 __sock_release+0xc2/0x290 net/socket.c:599 sock_close+0x10/0x20 net/socket.c:1212 __fput+0x249/0x7f0 fs/file_table.c:278 ____fput+0x9/0x10 fs/file_table.c:309 task_work_run+0x108/0x180 kernel/task_work.c:113 tracehook_notify_resume include/linux/tracehook.h:193 [inline] exit_to_usermode_loop+0x185/0x1e0 arch/x86/entry/common.c:167 prepare_exit_to_usermode arch/x86/entry/common.c:198 [inline] syscall_return_slowpath arch/x86/entry/common.c:271 [inline] do_syscall_64+0x413/0x4e0 arch/x86/entry/common.c:296 entry_SYSCALL_64_after_hwframe+0x49/0xbe RIP: 0033:0x41920b Code: 0f 05 48 3d 00 f0 ff ff 77 45 c3 0f 1f 40 00 48 83 ec 18 89 7c 24 0c e8 63 fc ff ff 8b 7c 24 0c 41 89 c0 b8 03 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 35 44 89 c7 89 44 24 0c e8 a1 fc ff ff 8b 44 RSP: 002b:00007ffe6a10e100 EFLAGS: 00000293 ORIG_RAX: 0000000000000003 RAX: 0000000000000000 RBX: 0000000000000004 RCX: 000000000041920b RDX: 0000000000000000 RSI: 0000000000000001 RDI: 0000000000000003 RBP: 0000000000000001 R08: 0000000000000000 R09: 0000001b33a200fc R10: 0000000000000000 R11: 0000000000000293 R12: 000000000056c9e0 R13: 000000000056c9e0 R14: 000000000056bf60 R15: 000000000000be2c Modules linked in: general protection fault: 0000 [#2] PREEMPT SMP KASAN CPU: 1 PID: 9849 Comm: syz-executor.5 Tainted: G D 4.19.204-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 ---[ end trace a392516b463e1520 ]--- RIP: 0010:__read_once_size include/linux/compiler.h:261 [inline] RIP: 0010:compound_head include/linux/page-flags.h:142 [inline] RIP: 0010:put_page include/linux/mm.h:951 [inline] RIP: 0010:tls_sk_proto_close+0x2af/0x980 net/tls/tls_main.c:277 Code: 89 ca 48 89 8d 40 ff ff ff 48 c1 ea 03 4a 8d 0c 2a 48 89 8d 68 ff ff ff 48 83 e0 fc 48 8d 78 08 49 89 c6 48 89 fe 48 c1 ee 03 <42> 80 3c 2e 00 0f 85 63 05 00 00 49 8b 76 08 48 8d 7e ff 83 e6 01 RSP: 0018:ffff88808f2bfca0 EFLAGS: 00010202 RAX: 0000000000000000 RBX: ffff888098592300 RCX: ffffed101325ddbd RDX: 1ffffffff13224a9 RSI: 0000000000000001 RDI: 0000000000000008 RBP: ffff88808f2bfd60 R08: ffff888098e22d90 R09: 1ffffffff18c57f2 R10: 0000000000000000 R11: 0000000000000000 R12: ffff888098785080 R13: dffffc0000000000 R14: 0000000000000000 R15: ffff8880992eedc0 FS: 0000000002b53400(0000) GS:ffff8880ba300000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00005556193cc8f0 CR3: 00000000987e5000 CR4: 00000000001406e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: inet_release+0xb4/0x1b0 net/ipv4/af_inet.c:427 inet6_release+0x46/0x60 net/ipv6/af_inet6.c:472 __sock_release+0xc2/0x290 net/socket.c:599 sock_close+0x10/0x20 net/socket.c:1212 __fput+0x249/0x7f0 fs/file_table.c:278 ____fput+0x9/0x10 fs/file_table.c:309 task_work_run+0x108/0x180 kernel/task_work.c:113 tracehook_notify_resume include/linux/tracehook.h:193 [inline] exit_to_usermode_loop+0x185/0x1e0 arch/x86/entry/common.c:167 prepare_exit_to_usermode arch/x86/entry/common.c:198 [inline] syscall_return_slowpath arch/x86/entry/common.c:271 [inline] do_syscall_64+0x413/0x4e0 arch/x86/entry/common.c:296 entry_SYSCALL_64_after_hwframe+0x49/0xbe RIP: 0033:0x41920b Code: 0f 05 48 3d 00 f0 ff ff 77 45 c3 0f 1f 40 00 48 83 ec 18 89 7c 24 0c e8 63 fc ff ff 8b 7c 24 0c 41 89 c0 b8 03 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 35 44 89 c7 89 44 24 0c e8 a1 fc ff ff 8b 44 RSP: 002b:00007ffc01bc8380 EFLAGS: 00000293 ORIG_RAX: 0000000000000003 RAX: 0000000000000000 RBX: 0000000000000004 RCX: 000000000041920b RDX: 0000000000000000 RSI: 0000000000000001 RDI: 0000000000000003 RBP: 0000000000000001 R08: 0000000000000000 R09: 0000001b2c2200fc R10: 0000000000000000 R11: 0000000000000293 R12: 000000000056c9e0 R13: 000000000056c9e0 R14: 000000000056bf60 R15: 000000000000be2b Modules linked in: flags: 0xfff00000000000() ieee80211 phy13: Selected rate control algorithm 'minstrel_ht' raw: 0000000000000000 0000000000000003 00000000ffffff7f 0000000000000000 RIP: 0010:__read_once_size include/linux/compiler.h:261 [inline] RIP: 0010:compound_head include/linux/page-flags.h:142 [inline] RIP: 0010:put_page include/linux/mm.h:951 [inline] RIP: 0010:tls_sk_proto_close+0x2af/0x980 net/tls/tls_main.c:277 raw: 00fff00000008100 ffffea00027a2788 ffffea000277e888 ffff88813be46080 IPv6: ADDRCONF(NETDEV_UP): wlan1: link is not ready raw: 0000000000000000 ffff88809dfa0700 0000000100000001 0000000000000000 wlan1: Created IBSS using preconfigured BSSID 50:50:50:50:50:50 Code: 89 ca 48 89 8d 40 ff ff ff 48 c1 ea 03 4a 8d 0c 2a 48 89 8d 68 ff ff ff 48 83 e0 fc 48 8d 78 08 49 89 c6 48 89 fe 48 c1 ee 03 <42> 80 3c 2e 00 0f 85 63 05 00 00 49 8b 76 08 48 8d 7e ff 83 e6 01 FAULT_INJECTION: forcing a failure. name failslab, interval 1, probability 0, space 0, times 0 page dumped because: VM_BUG_ON_PAGE(page_ref_count(page) == 0) CPU: 0 PID: 9923 Comm: syz-executor.3 Tainted: G D 4.19.204-syzkaller #0 page dumped because: VM_BUG_ON_PAGE(page_ref_count(page) == 0) Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 Call Trace: __dump_stack lib/dump_stack.c:77 [inline] dump_stack+0x17c/0x226 lib/dump_stack.c:118 fail_dump lib/fault-inject.c:51 [inline] should_fail.cold.2+0x5/0xa lib/fault-inject.c:149 __should_failslab+0xba/0xf0 mm/failslab.c:32 should_failslab+0x9/0x20 mm/slab_common.c:1590 slab_pre_alloc_hook mm/slab.h:424 [inline] slab_alloc mm/slab.c:3383 [inline] __do_kmalloc mm/slab.c:3725 [inline] __kmalloc+0x2b5/0x3d0 mm/slab.c:3736 kmalloc include/linux/slab.h:520 [inline] aead_request_alloc include/crypto/aead.h:427 [inline] tls_push_record+0xff/0x15f0 net/tls/tls_sw.c:209 tls_sw_sendmsg+0xb35/0x1010 net/tls/tls_sw.c:467 RSP: 0018:ffff88809921fca0 EFLAGS: 00010202 inet_sendmsg+0x108/0x440 net/ipv4/af_inet.c:798 ------------[ cut here ]------------ sock_sendmsg_nosec net/socket.c:651 [inline] sock_sendmsg+0xac/0xf0 net/socket.c:661 kernel BUG at include/linux/mm.h:519! __sys_sendto+0x1f2/0x2e0 net/socket.c:1897 RAX: 0000000000000000 RBX: ffff888098f81ac0 RCX: ffffed1015080c35 RDX: 1ffffffff13224a9 RSI: 0000000000000001 RDI: 0000000000000008 ------------[ cut here ]------------ kernel BUG at include/linux/mm.h:519! __do_sys_sendto net/socket.c:1909 [inline] __se_sys_sendto net/socket.c:1905 [inline] __x64_sys_sendto+0xdc/0x1a0 net/socket.c:1905 invalid opcode: 0000 [#3] PREEMPT SMP KASAN do_syscall_64+0xd0/0x4e0 arch/x86/entry/common.c:293 CPU: 1 PID: 9852 Comm: syz-executor.2 Tainted: G D 4.19.204-syzkaller #0 entry_SYSCALL_64_after_hwframe+0x49/0xbe Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 RIP: 0033:0x465ef9 RIP: 0010:put_page_testzero include/linux/mm.h:519 [inline] RIP: 0010:put_page include/linux/mm.h:962 [inline] RIP: 0010:do_exit+0x22b0/0x2d90 kernel/exit.c:909 Code: ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 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 73 01 c3 48 c7 c1 bc ff ff ff f7 d8 64 89 01 48 Code: 89 e7 e8 e3 a2 23 00 48 c7 c7 80 90 80 89 4d 89 fe e8 54 62 70 06 e9 6e e8 ff ff 48 c7 c6 80 2e 08 88 48 89 df e8 c0 61 4a 00 <0f> 0b 49 8d bf e8 04 00 00 b8 ff ff 37 00 48 89 fa 48 c1 e0 2a 48 RSP: 002b:00007f55ced58188 EFLAGS: 00000246 ORIG_RAX: 000000000000002c RSP: 0018:ffff88809945faa0 EFLAGS: 00010246 RAX: ffffffffffffffda RBX: 000000000056c008 RCX: 0000000000465ef9 RAX: dffffc0000000000 RBX: ffffea000277e800 RCX: 0000000000000000 RDX: 0000000000000001 RSI: 0000000020000180 RDI: 0000000000000003 RDX: 1ffffd40004efd07 RSI: 0000000000000000 RDI: ffffea000277e838 RBP: 00007f55ced581d0 R08: 0000000000000000 R09: 0000000000000000 RBP: ffff88809945fc10 R08: ffffed1017464e99 R09: ffffed1017464e98 R10: 0000000000004000 R11: 0000000000000246 R12: 0000000000000001 R10: ffffed1017464e98 R11: ffff8880ba3274c7 R12: ffffea000277e834 R13: 00007ffff3fdf52f R14: 00007f55ced58300 R15: 0000000000022000 R13: ffff88809945f680 R14: dffffc0000000000 R15: ffff8880993685c0 wlan1: Creating new IBSS network, BSSID 50:50:50:50:50:50 FS: 00007fb8e51e6700(0000) GS:ffff8880ba300000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f81eb9cd010 CR3: 00000000a1852000 CR4: 00000000001406e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: do_group_exit+0xf8/0x2c0 kernel/exit.c:967 get_signal+0x30b/0x1970 kernel/signal.c:2589 do_signal+0x87/0x1870 arch/x86/kernel/signal.c:799 exit_to_usermode_loop+0x159/0x1e0 arch/x86/entry/common.c:163 prepare_exit_to_usermode arch/x86/entry/common.c:198 [inline] syscall_return_slowpath arch/x86/entry/common.c:271 [inline] do_syscall_64+0x413/0x4e0 arch/x86/entry/common.c:296 entry_SYSCALL_64_after_hwframe+0x49/0xbe RIP: 0033:0x465ef9 Code: Bad RIP value. RSP: 002b:00007fb8e51e6218 EFLAGS: 00000246 ORIG_RAX: 00000000000000ca RAX: fffffffffffffe00 RBX: 000000000056bf68 RCX: 0000000000465ef9 RDX: 0000000000000000 RSI: 0000000000000080 RDI: 000000000056bf68 RBP: 000000000056bf60 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 000000000056bf6c R13: 00007ffe6a10e09f R14: 00007fb8e51e6300 R15: 0000000000022000 Modules linked in: ---[ end trace a392516b463e1521 ]--- RIP: 0010:__read_once_size include/linux/compiler.h:261 [inline] RIP: 0010:compound_head include/linux/page-flags.h:142 [inline] RIP: 0010:put_page include/linux/mm.h:951 [inline] RIP: 0010:tls_sk_proto_close+0x2af/0x980 net/tls/tls_main.c:277 RBP: ffff88809921fd60 R08: ffff888098dbcdd0 R09: 1ffffffff18c57f2 Code: 89 ca 48 89 8d 40 ff ff ff 48 c1 ea 03 4a 8d 0c 2a 48 89 8d 68 ff ff ff 48 83 e0 fc 48 8d 78 08 49 89 c6 48 89 fe 48 c1 ee 03 <42> 80 3c 2e 00 0f 85 63 05 00 00 49 8b 76 08 48 8d 7e ff 83 e6 01 IPv6: ADDRCONF(NETDEV_CHANGE): wlan1: link becomes ready R10: 0000000000000000 R11: 0000000000000000 R12: ffff8880986498c0 R13: dffffc0000000000 R14: 0000000000000000 R15: ffff8880a8406180 FAULT_INJECTION: forcing a failure. name failslab, interval 1, probability 0, space 0, times 0 FS: 0000000002e2c400(0000) GS:ffff8880ba300000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 invalid opcode: 0000 [#4] PREEMPT SMP KASAN CPU: 1 PID: 9851 Comm: syz-executor.5 Tainted: G D 4.19.204-syzkaller #0 RSP: 0018:ffff88809921fca0 EFLAGS: 00010202 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 RIP: 0010:put_page_testzero include/linux/mm.h:519 [inline] RIP: 0010:put_page include/linux/mm.h:962 [inline] RIP: 0010:do_exit+0x22b0/0x2d90 kernel/exit.c:909 Code: 89 e7 e8 e3 a2 23 00 48 c7 c7 80 90 80 89 4d 89 fe e8 54 62 70 06 e9 6e e8 ff ff 48 c7 c6 80 2e 08 88 48 89 df e8 c0 61 4a 00 <0f> 0b 49 8d bf e8 04 00 00 b8 ff ff 37 00 48 89 fa 48 c1 e0 2a 48 RSP: 0018:ffff88809d197aa0 EFLAGS: 00010246 RAX: dffffc0000000000 RBX: ffffea000263f600 RCX: 0000000000000000 RDX: 1ffffd40004c7ec7 RSI: 0000000000000000 RDI: ffffea000263f638 RBP: ffff88809d197c10 R08: ffffed1017464e99 R09: ffffed1017464e98 R10: ffffed1017464e98 R11: ffff8880ba3274c7 R12: ffffea000263f634 R13: ffff88809d197680 R14: dffffc0000000000 R15: ffff8880983f8580 FS: 00007f434e529700(0000) GS:ffff8880ba300000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000000970004 CR3: 000000009978b000 CR4: 00000000001406e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: CPU: 0 PID: 9935 Comm: syz-executor.0 Tainted: G D 4.19.204-syzkaller #0 do_group_exit+0xf8/0x2c0 kernel/exit.c:967 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 get_signal+0x30b/0x1970 kernel/signal.c:2589 Call Trace: __dump_stack lib/dump_stack.c:77 [inline] dump_stack+0x17c/0x226 lib/dump_stack.c:118 do_signal+0x87/0x1870 arch/x86/kernel/signal.c:799 fail_dump lib/fault-inject.c:51 [inline] should_fail.cold.2+0x5/0xa lib/fault-inject.c:149 __should_failslab+0xba/0xf0 mm/failslab.c:32 should_failslab+0x9/0x20 mm/slab_common.c:1590 slab_pre_alloc_hook mm/slab.h:424 [inline] slab_alloc mm/slab.c:3383 [inline] __do_kmalloc mm/slab.c:3725 [inline] __kmalloc+0x2b5/0x3d0 mm/slab.c:3736 kmalloc include/linux/slab.h:520 [inline] aead_request_alloc include/crypto/aead.h:427 [inline] tls_push_record+0xff/0x15f0 net/tls/tls_sw.c:209 tls_sw_sendmsg+0xb35/0x1010 net/tls/tls_sw.c:467 inet_sendmsg+0x108/0x440 net/ipv4/af_inet.c:798 exit_to_usermode_loop+0x159/0x1e0 arch/x86/entry/common.c:163 sock_sendmsg_nosec net/socket.c:651 [inline] sock_sendmsg+0xac/0xf0 net/socket.c:661 prepare_exit_to_usermode arch/x86/entry/common.c:198 [inline] syscall_return_slowpath arch/x86/entry/common.c:271 [inline] do_syscall_64+0x413/0x4e0 arch/x86/entry/common.c:296 entry_SYSCALL_64_after_hwframe+0x49/0xbe __sys_sendto+0x1f2/0x2e0 net/socket.c:1897 RIP: 0033:0x465ef9 Code: ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 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 73 01 c3 48 c7 c1 bc ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007f434e529218 EFLAGS: 00000246 ORIG_RAX: 00000000000000ca RAX: fffffffffffffe00 RBX: 000000000056bf68 RCX: 0000000000465ef9 RDX: 0000000000000000 RSI: 0000000000000080 RDI: 000000000056bf68 RBP: 000000000056bf60 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 000000000056bf6c R13: 00007ffc01bc831f R14: 00007f434e529300 R15: 0000000000022000 Modules linked in: CR2: 00007ffe277f5c60 CR3: 0000000099524000 CR4: 00000000001406e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 __do_sys_sendto net/socket.c:1909 [inline] __se_sys_sendto net/socket.c:1905 [inline] __x64_sys_sendto+0xdc/0x1a0 net/socket.c:1905 do_syscall_64+0xd0/0x4e0 arch/x86/entry/common.c:293 entry_SYSCALL_64_after_hwframe+0x49/0xbe RIP: 0033:0x465ef9 ---------------- Code disassembly (best guess): 0: 89 ca mov %ecx,%edx 2: 48 89 8d 40 ff ff ff mov %rcx,-0xc0(%rbp) 9: 48 c1 ea 03 shr $0x3,%rdx d: 4a 8d 0c 2a lea (%rdx,%r13,1),%rcx 11: 48 89 8d 68 ff ff ff mov %rcx,-0x98(%rbp) 18: 48 83 e0 fc and $0xfffffffffffffffc,%rax 1c: 48 8d 78 08 lea 0x8(%rax),%rdi 20: 49 89 c6 mov %rax,%r14 23: 48 89 fe mov %rdi,%rsi 26: 48 c1 ee 03 shr $0x3,%rsi * 2a: 42 80 3c 2e 00 cmpb $0x0,(%rsi,%r13,1) <-- trapping instruction 2f: 0f 85 63 05 00 00 jne 0x598 35: 49 8b 76 08 mov 0x8(%r14),%rsi 39: 48 8d 7e ff lea -0x1(%rsi),%rdi 3d: 83 e6 01 and $0x1,%esi