RDX: 00000000e0ffffff RSI: 00000000200005c0 RDI: 0000000000000003 RBP: 0000000000000005 R08: 0000000000000000 R09: 00000000000000d8 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000401f50 R13: 0000000000401fe0 R14: 0000000000000000 R15: 0000000000000000 ================================================================== BUG: KASAN: slab-out-of-bounds in tls_push_record+0x1009/0x1210 net/tls/tls_sw.c:255 Read of size 8 at addr ffff8880a57e1338 by task syz-executor299/7103 CPU: 1 PID: 7103 Comm: syz-executor299 Not tainted 4.14.111 #1 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 Call Trace: __dump_stack lib/dump_stack.c:17 [inline] dump_stack+0x138/0x19c lib/dump_stack.c:53 print_address_description.cold+0x7c/0x1dc mm/kasan/report.c:252 kasan_report_error mm/kasan/report.c:351 [inline] kasan_report mm/kasan/report.c:409 [inline] kasan_report.cold+0xaf/0x2b5 mm/kasan/report.c:393 __asan_report_load8_noabort+0x14/0x20 mm/kasan/report.c:430 tls_push_record+0x1009/0x1210 net/tls/tls_sw.c:255 tls_sw_push_pending_record+0x23/0x30 net/tls/tls_sw.c:299 tls_handle_open_record net/tls/tls_main.c:158 [inline] tls_sk_proto_close+0x5da/0x760 net/tls/tls_main.c:270 inet_release+0xf2/0x1c0 net/ipv4/af_inet.c:425 inet6_release+0x53/0x80 net/ipv6/af_inet6.c:450 __sock_release+0xd3/0x2c0 net/socket.c:602 sock_close+0x1b/0x30 net/socket.c:1139 __fput+0x277/0x7a0 fs/file_table.c:210 ____fput+0x16/0x20 fs/file_table.c:244 task_work_run+0x119/0x190 kernel/task_work.c:113 exit_task_work include/linux/task_work.h:22 [inline] do_exit+0x7df/0x2c10 kernel/exit.c:874 do_group_exit+0x111/0x330 kernel/exit.c:977 SYSC_exit_group kernel/exit.c:988 [inline] SyS_exit_group+0x1d/0x20 kernel/exit.c:986 do_syscall_64+0x1eb/0x630 arch/x86/entry/common.c:289 entry_SYSCALL_64_after_hwframe+0x42/0xb7 RIP: 0033:0x43f328 RSP: 002b:00007ffce577e298 EFLAGS: 00000246 ORIG_RAX: 00000000000000e7 RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 000000000043f328 RDX: 0000000000000000 RSI: 000000000000003c RDI: 0000000000000000 RBP: 00000000004bf088 R08: 00000000000000e7 R09: ffffffffffffffd0 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000001 R13: 00000000006d1180 R14: 0000000000000000 R15: 0000000000000000 Allocated by task 0: (stack is not available) Freed by task 0: (stack is not available) The buggy address belongs to the object at ffff8880a57e0ac0 which belongs to the cache kmalloc-2048 of size 2048 The buggy address is located 120 bytes to the right of 2048-byte region [ffff8880a57e0ac0, ffff8880a57e12c0) The buggy address belongs to the page: page:ffffea000295f800 count:1 mapcount:0 mapping:ffff8880a57e0240 index:0x0 compound_mapcount: 0 flags: 0x1fffc0000008100(slab|head) raw: 01fffc0000008100 ffff8880a57e0240 0000000000000000 0000000100000003 raw: ffffea0002932aa0 ffff8880aa801948 ffff8880aa800c40 0000000000000000 page dumped because: kasan: bad access detected Memory state around the buggy address: ffff8880a57e1200: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc ffff8880a57e1280: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc >ffff8880a57e1300: fc fc fc fc fc fc fc fc 00 00 00 00 00 00 00 00 ^ ffff8880a57e1380: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ffff8880a57e1400: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ==================================================================