netlink: 1996 bytes leftover after parsing attributes in process `syz-executor.3'. sch_tbf: burst 549 is lower than device lo mtu (65550) ! netlink: 1996 bytes leftover after parsing attributes in process `syz-executor.1'. sch_tbf: burst 549 is lower than device lo mtu (65550) ! ================================================================== BUG: KASAN: slab-out-of-bounds in __tcp_hdrlen include/linux/tcp.h:35 [inline] BUG: KASAN: slab-out-of-bounds in tcp_hdrlen include/linux/tcp.h:40 [inline] BUG: KASAN: slab-out-of-bounds in skb_gso_transport_seglen+0x2ec/0x300 net/core/skbuff.c:4943 Read of size 2 at addr ffff88008cc55edc by task syz-executor.3/7763 CPU: 1 PID: 7763 Comm: syz-executor.3 Not tainted 4.19.0-rc6-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+0x15a/0x20d lib/dump_stack.c:113 print_address_description.cold.6+0x9/0x211 mm/kasan/report.c:256 kasan_report_error mm/kasan/report.c:354 [inline] kasan_report.cold.7+0x242/0x307 mm/kasan/report.c:412 __asan_report_load2_noabort+0x14/0x20 mm/kasan/report.c:431 __tcp_hdrlen include/linux/tcp.h:35 [inline] tcp_hdrlen include/linux/tcp.h:40 [inline] skb_gso_transport_seglen+0x2ec/0x300 net/core/skbuff.c:4943 skb_gso_mac_seglen net/core/skbuff.c:4987 [inline] skb_gso_validate_mac_len+0x85/0x2f0 net/core/skbuff.c:5056 tbf_enqueue+0x1bf/0x7e9 net/sched/sch_tbf.c:192 __dev_xmit_skb net/core/dev.c:3454 [inline] __dev_queue_xmit+0x11a0/0x2920 net/core/dev.c:3770 dev_queue_xmit+0xb/0x10 net/core/dev.c:3835 packet_snd net/packet/af_packet.c:2928 [inline] packet_sendmsg+0x2f16/0x5040 net/packet/af_packet.c:2953 sock_sendmsg_nosec net/socket.c:621 [inline] sock_sendmsg+0xac/0xf0 net/socket.c:631 __sys_sendto+0x1f2/0x2e0 net/socket.c:1788 __do_sys_sendto net/socket.c:1800 [inline] __se_sys_sendto net/socket.c:1796 [inline] __x64_sys_sendto+0xdc/0x1a0 net/socket.c:1796 do_syscall_64+0xd0/0x4d0 arch/x86/entry/common.c:290 entry_SYSCALL_64_after_hwframe+0x49/0xbe RIP: 0033:0x45c869 Code: 0d b7 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 db b6 fb ff c3 66 2e 0f 1f 84 00 00 00 00 RSP: 002b:00007fb1e8adcc78 EFLAGS: 00000246 ORIG_RAX: 000000000000002c RAX: ffffffffffffffda RBX: 00007fb1e8add6d4 RCX: 000000000045c869 RDX: 0000000000004e60 RSI: 0000000020000180 RDI: 0000000000000005 RBP: 000000000076bf00 R08: 0000000000000000 R09: fffffffffffffe5d R10: 0000000000000810 R11: 0000000000000246 R12: 00000000ffffffff R13: 0000000000000a09 R14: 00000000004ccc7a R15: 000000000076bf0c Allocated by task 7763: save_stack mm/kasan/kasan.c:448 [inline] set_track mm/kasan/kasan.c:460 [inline] kasan_kmalloc.part.1+0x62/0xf0 mm/kasan/kasan.c:553 kasan_kmalloc+0xaf/0xc0 mm/kasan/kasan.c:538 __do_kmalloc_node mm/slab.c:3682 [inline] __kmalloc_node_track_caller+0x47/0x70 mm/slab.c:3696 __kmalloc_reserve.isra.8+0x2c/0xc0 net/core/skbuff.c:137 __alloc_skb+0xd7/0x580 net/core/skbuff.c:205 alloc_skb include/linux/skbuff.h:995 [inline] alloc_skb_with_frags+0x8a/0x4a0 net/core/skbuff.c:5268 sock_alloc_send_pskb+0x574/0x750 net/core/sock.c:2082 packet_alloc_skb net/packet/af_packet.c:2781 [inline] packet_snd net/packet/af_packet.c:2872 [inline] packet_sendmsg+0x1481/0x5040 net/packet/af_packet.c:2953 sock_sendmsg_nosec net/socket.c:621 [inline] sock_sendmsg+0xac/0xf0 net/socket.c:631 __sys_sendto+0x1f2/0x2e0 net/socket.c:1788 __do_sys_sendto net/socket.c:1800 [inline] __se_sys_sendto net/socket.c:1796 [inline] __x64_sys_sendto+0xdc/0x1a0 net/socket.c:1796 do_syscall_64+0xd0/0x4d0 arch/x86/entry/common.c:290 entry_SYSCALL_64_after_hwframe+0x49/0xbe Freed by task 0: (stack is not available) The buggy address belongs to the object at ffff88008cc55c80 which belongs to the cache kmalloc-512 of size 512 The buggy address is located 92 bytes to the right of 512-byte region [ffff88008cc55c80, ffff88008cc55e80) The buggy address belongs to the page: page:ffffea0002331540 count:1 mapcount:0 mapping:ffff88012c298940 index:0x0 flags: 0xfffe0000000100(slab) raw: 00fffe0000000100 ffffea0002322808 ffffea0002480388 ffff88012c298940 raw: 0000000000000000 ffff88008cc55000 0000000100000006 0000000000000000 page dumped because: kasan: bad access detected Memory state around the buggy address: ffff88008cc55d80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ffff88008cc55e00: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 >ffff88008cc55e80: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc ^ ffff88008cc55f00: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc ffff88008cc55f80: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc ==================================================================