netlink: 1996 bytes leftover after parsing attributes in process `syz-executor411'. sch_tbf: burst 549 is lower than device lo mtu (65550) ! ================================================================== BUG: KASAN: slab-out-of-bounds in __tcp_hdrlen include/linux/tcp.h:31 [inline] BUG: KASAN: slab-out-of-bounds in tcp_hdrlen include/linux/tcp.h:36 [inline] BUG: KASAN: slab-out-of-bounds in skb_gso_transport_seglen+0x344/0x360 net/core/skbuff.c:5266 Read of size 2 at addr ffff8880a72d2a5c by task syz-executor411/7097 CPU: 0 PID: 7097 Comm: syz-executor411 Not tainted 5.7.0-rc1-next-20200415-syzkaller #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+0x188/0x20d lib/dump_stack.c:118 print_address_description.constprop.0.cold+0xd3/0x315 mm/kasan/report.c:382 __kasan_report.cold+0x35/0x4d mm/kasan/report.c:511 kasan_report+0x33/0x50 mm/kasan/common.c:625 __tcp_hdrlen include/linux/tcp.h:31 [inline] tcp_hdrlen include/linux/tcp.h:36 [inline] skb_gso_transport_seglen+0x344/0x360 net/core/skbuff.c:5266 skb_gso_mac_seglen net/core/skbuff.c:5310 [inline] skb_gso_validate_mac_len+0x85/0x290 net/core/skbuff.c:5381 tbf_enqueue+0x1f2/0x990 net/sched/sch_tbf.c:233 __dev_xmit_skb net/core/dev.c:3710 [inline] __dev_queue_xmit+0x154a/0x3070 net/core/dev.c:4021 packet_snd net/packet/af_packet.c:2979 [inline] packet_sendmsg+0x23cc/0x5ce0 net/packet/af_packet.c:3004 sock_sendmsg_nosec net/socket.c:652 [inline] sock_sendmsg+0xcf/0x120 net/socket.c:672 __sys_sendto+0x220/0x330 net/socket.c:2000 __do_sys_sendto net/socket.c:2012 [inline] __se_sys_sendto net/socket.c:2008 [inline] __x64_sys_sendto+0xdd/0x1b0 net/socket.c:2008 do_syscall_64+0xf6/0x7d0 arch/x86/entry/common.c:295 entry_SYSCALL_64_after_hwframe+0x49/0xb3 RIP: 0033:0x440b09 Code: 18 89 d0 c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 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 0f 83 fb 13 fc ff c3 66 2e 0f 1f 84 00 00 00 00 RSP: 002b:00007ffd69315698 EFLAGS: 00000246 ORIG_RAX: 000000000000002c RAX: ffffffffffffffda RBX: 00007ffd693156b0 RCX: 0000000000440b09 RDX: 0000000000004e60 RSI: 0000000020000180 RDI: 0000000000000005 RBP: 0000000000000000 R08: 0000000000000000 R09: fffffffffffffe5d R10: 0000000000000810 R11: 0000000000000246 R12: 0000000000402390 R13: 0000000000402420 R14: 0000000000000000 R15: 0000000000000000 Allocated by task 7097: save_stack+0x1b/0x40 mm/kasan/common.c:49 set_track mm/kasan/common.c:57 [inline] __kasan_kmalloc mm/kasan/common.c:495 [inline] __kasan_kmalloc.constprop.0+0xbf/0xd0 mm/kasan/common.c:468 __kmalloc_reserve.isra.0+0x39/0xe0 net/core/skbuff.c:142 __alloc_skb+0xef/0x5a0 net/core/skbuff.c:210 alloc_skb include/linux/skbuff.h:1083 [inline] alloc_skb_with_frags+0x92/0x560 net/core/skbuff.c:5772 sock_alloc_send_pskb+0x734/0x890 net/core/sock.c:2265 packet_alloc_skb net/packet/af_packet.c:2827 [inline] packet_snd net/packet/af_packet.c:2922 [inline] packet_sendmsg+0x1947/0x5ce0 net/packet/af_packet.c:3004 sock_sendmsg_nosec net/socket.c:652 [inline] sock_sendmsg+0xcf/0x120 net/socket.c:672 __sys_sendto+0x220/0x330 net/socket.c:2000 __do_sys_sendto net/socket.c:2012 [inline] __se_sys_sendto net/socket.c:2008 [inline] __x64_sys_sendto+0xdd/0x1b0 net/socket.c:2008 do_syscall_64+0xf6/0x7d0 arch/x86/entry/common.c:295 entry_SYSCALL_64_after_hwframe+0x49/0xb3 Freed by task 5127: save_stack+0x1b/0x40 mm/kasan/common.c:49 set_track mm/kasan/common.c:57 [inline] kasan_set_free_info mm/kasan/common.c:317 [inline] __kasan_slab_free+0xf7/0x140 mm/kasan/common.c:456 __cache_free mm/slab.c:3426 [inline] kfree+0x109/0x2b0 mm/slab.c:3757 ep_eventpoll_release+0x41/0x60 fs/eventpoll.c:864 __fput+0x33e/0x880 fs/file_table.c:280 task_work_run+0xf4/0x1b0 kernel/task_work.c:123 tracehook_notify_resume include/linux/tracehook.h:188 [inline] exit_to_usermode_loop+0x2fa/0x360 arch/x86/entry/common.c:165 prepare_exit_to_usermode arch/x86/entry/common.c:196 [inline] syscall_return_slowpath arch/x86/entry/common.c:279 [inline] do_syscall_64+0x6b1/0x7d0 arch/x86/entry/common.c:305 entry_SYSCALL_64_after_hwframe+0x49/0xb3 The buggy address belongs to the object at ffff8880a72d2800 which belongs to the cache kmalloc-512 of size 512 The buggy address is located 92 bytes to the right of 512-byte region [ffff8880a72d2800, ffff8880a72d2a00) The buggy address belongs to the page: page:ffffea00029cb480 refcount:1 mapcount:0 mapping:000000004b08503b index:0x0 flags: 0xfffe0000000200(slab) raw: 00fffe0000000200 ffffea000282ba88 ffffea00027c8c08 ffff8880aa000a80 raw: 0000000000000000 ffff8880a72d2000 0000000100000004 0000000000000000 page dumped because: kasan: bad access detected Memory state around the buggy address: ffff8880a72d2900: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ffff8880a72d2980: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 >ffff8880a72d2a00: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc ^ ffff8880a72d2a80: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc ffff8880a72d2b00: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc ==================================================================