TCP: request_sock_TCPv6: Possible SYN flooding on port 20002. Sending cookies. Check SNMP counters. hid-generic 0000:0000:0000.0176: unknown main item tag 0x0 hid-generic 0000:0000:0000.0176: unknown main item tag 0x0 ================================================================== BUG: KASAN: slab-out-of-bounds in sg_mark_end include/linux/scatterlist.h:190 [inline] BUG: KASAN: slab-out-of-bounds in tls_push_record+0x10cc/0x1270 net/tls/tls_sw.c:255 hid-generic 0000:0000:0000.0176: unknown main item tag 0x0 Read of size 8 at addr ffff88809f4972b8 by task syz-executor.4/1317 CPU: 0 PID: 1317 Comm: syz-executor.4 Not tainted 4.14.232-syzkaller #0 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+0x1b2/0x281 lib/dump_stack.c:58 print_address_description.cold+0x54/0x1d3 mm/kasan/report.c:252 kasan_report_error.cold+0x8a/0x191 mm/kasan/report.c:351 kasan_report mm/kasan/report.c:409 [inline] __asan_report_load8_noabort+0x68/0x70 mm/kasan/report.c:430 sg_mark_end include/linux/scatterlist.h:190 [inline] tls_push_record+0x10cc/0x1270 net/tls/tls_sw.c:255 hid-generic 0000:0000:0000.0176: unknown main item tag 0x0 tls_handle_open_record net/tls/tls_main.c:158 [inline] tls_sk_proto_close+0x6f0/0x8b0 net/tls/tls_main.c:270 hid-generic 0000:0000:0000.0176: unknown main item tag 0x0 hid-generic 0000:0000:0000.0176: unknown main item tag 0x0 inet_release+0xdf/0x1b0 net/ipv4/af_inet.c:425 inet6_release+0x4c/0x70 net/ipv6/af_inet6.c:450 __sock_release+0xcd/0x2b0 net/socket.c:602 hid-generic 0000:0000:0000.0176: unknown main item tag 0x0 sock_close+0x15/0x20 net/socket.c:1139 __fput+0x25f/0x7a0 fs/file_table.c:210 task_work_run+0x11f/0x190 kernel/task_work.c:113 tracehook_notify_resume include/linux/tracehook.h:191 [inline] exit_to_usermode_loop+0x1ad/0x200 arch/x86/entry/common.c:164 prepare_exit_to_usermode arch/x86/entry/common.c:199 [inline] syscall_return_slowpath arch/x86/entry/common.c:270 [inline] do_syscall_64+0x4a3/0x640 arch/x86/entry/common.c:297 entry_SYSCALL_64_after_hwframe+0x46/0xbb RIP: 0033:0x41940b RSP: 002b:00007fff0ba5d9e0 EFLAGS: 00000293 hid-generic 0000:0000:0000.0176: unknown main item tag 0x0 ORIG_RAX: 0000000000000003 RAX: 0000000000000000 RBX: 0000000000000004 RCX: 000000000041940b RDX: 00000000005709a0 RSI: 0000000009a6a40b RDI: 0000000000000003 RBP: 0000000000000001 R08: 0000000000000000 R09: 0000001b2f22547c R10: 00007fff0ba5dad0 R11: 0000000000000293 R12: 000000000007d2eb R13: 00000000000003e8 R14: 000000000056bf60 R15: 000000000007d2d9 Allocated by task 1322: save_stack mm/kasan/kasan.c:447 [inline] set_track mm/kasan/kasan.c:459 [inline] kasan_kmalloc+0xeb/0x160 mm/kasan/kasan.c:551 __do_kmalloc_node mm/slab.c:3682 [inline] __kmalloc_node_track_caller+0x4c/0x70 mm/slab.c:3696 __kmalloc_reserve net/core/skbuff.c:137 [inline] __alloc_skb+0x96/0x510 net/core/skbuff.c:205 alloc_skb_fclone include/linux/skbuff.h:1022 [inline] sk_stream_alloc_skb+0xb1/0x760 net/ipv4/tcp.c:855 tcp_sendmsg_locked+0xed8/0x2ef0 net/ipv4/tcp.c:1301 tcp_sendmsg+0x2b/0x40 net/ipv4/tcp.c:1457 inet_sendmsg+0x11a/0x4e0 net/ipv4/af_inet.c:762 sock_sendmsg_nosec net/socket.c:646 [inline] sock_sendmsg+0xb5/0x100 net/socket.c:656 SYSC_sendto net/socket.c:1763 [inline] SyS_sendto+0x1c7/0x2c0 net/socket.c:1731 do_syscall_64+0x1d5/0x640 arch/x86/entry/common.c:292 hid-generic 0000:0000:0000.0176: unknown main item tag 0x0 entry_SYSCALL_64_after_hwframe+0x46/0xbb Freed by task 1322: save_stack mm/kasan/kasan.c:447 [inline] set_track mm/kasan/kasan.c:459 [inline] kasan_slab_free+0xc3/0x1a0 mm/kasan/kasan.c:524 __cache_free mm/slab.c:3496 [inline] kfree+0xc9/0x250 mm/slab.c:3815 skb_free_head net/core/skbuff.c:563 [inline] skb_release_data+0x5f6/0x820 net/core/skbuff.c:583 skb_release_all net/core/skbuff.c:640 [inline] __kfree_skb+0x46/0x60 net/core/skbuff.c:654 sk_wmem_free_skb include/net/sock.h:1425 [inline] tcp_remove_empty_skb net/ipv4/tcp.c:929 [inline] tcp_remove_empty_skb+0x316/0x410 net/ipv4/tcp.c:923 tcp_sendmsg_locked+0x1be2/0x2ef0 net/ipv4/tcp.c:1435 tcp_sendmsg+0x2b/0x40 net/ipv4/tcp.c:1457 inet_sendmsg+0x11a/0x4e0 net/ipv4/af_inet.c:762 sock_sendmsg_nosec net/socket.c:646 [inline] sock_sendmsg+0xb5/0x100 net/socket.c:656 SYSC_sendto net/socket.c:1763 [inline] SyS_sendto+0x1c7/0x2c0 net/socket.c:1731 do_syscall_64+0x1d5/0x640 arch/x86/entry/common.c:292 entry_SYSCALL_64_after_hwframe+0x46/0xbb The buggy address belongs to the object at ffff88809f496a40 which belongs to the cache kmalloc-2048 of size 2048 The buggy address is located 120 bytes to the right of 2048-byte region [ffff88809f496a40, ffff88809f497240) The buggy address belongs to the page: page:ffffea00027d2580 count:1 mapcount:0 mapping:ffff88809f4961c0 index:0x0 compound_mapcount: 0 flags: 0xfff00000008100(slab|head) raw: 00fff00000008100 ffff88809f4961c0 0000000000000000 0000000100000003 hid-generic 0000:0000:0000.0176: unknown main item tag 0x0 raw: ffffea000053cc20 ffffea000288a0a0 ffff88813fe80c40 0000000000000000 page dumped because: kasan: bad access detected Memory state around the buggy address: ffff88809f497180: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb ffff88809f497200: fb fb fb fb fb fb fb fb fc fc fc fc fc fc fc fc >ffff88809f497280: fc fc fc fc fc fc fc fc 00 00 00 00 00 00 00 00 hid-generic 0000:0000:0000.0176: unknown main item tag 0x0 ^ ffff88809f497300: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ffff88809f497380: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ==================================================================