SELinux: unrecognized netlink message: protocol=0 nlmsg_type=0 sclass=netlink_route_socket pig=19989 comm=syz-executor.1 hfs: unable to parse mount options ================================================================== BUG: KASAN: use-after-free in tc_chain_fill_node+0x891/0x8b0 net/sched/cls_api.c:1733 Read of size 8 at addr ffff8880468ecac0 by task syz-executor.1/19983 CPU: 1 PID: 19983 Comm: syz-executor.1 Not tainted 4.19.78 #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+0x172/0x1f0 lib/dump_stack.c:113 print_address_description.cold+0x7c/0x20d mm/kasan/report.c:256 kasan_report_error mm/kasan/report.c:354 [inline] kasan_report mm/kasan/report.c:412 [inline] kasan_report.cold+0x8c/0x2ba mm/kasan/report.c:396 __asan_report_load8_noabort+0x14/0x20 mm/kasan/report.c:433 tc_chain_fill_node+0x891/0x8b0 net/sched/cls_api.c:1733 tc_chain_notify+0x102/0x200 net/sched/cls_api.c:1771 __tcf_chain_put+0x380/0x500 net/sched/cls_api.c:330 tcf_chain_put net/sched/cls_api.c:340 [inline] tc_ctl_chain+0xbca/0xff0 net/sched/cls_api.c:1932 rtnetlink_rcv_msg+0x463/0xb00 net/core/rtnetlink.c:4747 netlink_rcv_skb+0x17d/0x460 net/netlink/af_netlink.c:2454 rtnetlink_rcv+0x1d/0x30 net/core/rtnetlink.c:4765 netlink_unicast_kernel net/netlink/af_netlink.c:1317 [inline] netlink_unicast+0x537/0x720 net/netlink/af_netlink.c:1343 netlink_sendmsg+0x8ae/0xd70 net/netlink/af_netlink.c:1908 sock_sendmsg_nosec net/socket.c:622 [inline] sock_sendmsg+0xd7/0x130 net/socket.c:632 ___sys_sendmsg+0x803/0x920 net/socket.c:2115 __sys_sendmsg+0x105/0x1d0 net/socket.c:2153 __do_sys_sendmsg net/socket.c:2162 [inline] __se_sys_sendmsg net/socket.c:2160 [inline] __x64_sys_sendmsg+0x78/0xb0 net/socket.c:2160 do_syscall_64+0xfd/0x620 arch/x86/entry/common.c:293 entry_SYSCALL_64_after_hwframe+0x49/0xbe RIP: 0033:0x459a59 Code: fd 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 cb b7 fb ff c3 66 2e 0f 1f 84 00 00 00 00 RSP: 002b:00007fec9bb8ec78 EFLAGS: 00000246 ORIG_RAX: 000000000000002e RAX: ffffffffffffffda RBX: 0000000000000003 RCX: 0000000000459a59 RDX: 0000000000000000 RSI: 0000000020000300 RDI: 0000000000000004 RBP: 000000000075c070 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 00007fec9bb8f6d4 R13: 00000000004c7be6 R14: 00000000004dd980 R15: 00000000ffffffff Allocated by task 19975: save_stack+0x45/0xd0 mm/kasan/kasan.c:448 set_track mm/kasan/kasan.c:460 [inline] kasan_kmalloc mm/kasan/kasan.c:553 [inline] kasan_kmalloc+0xce/0xf0 mm/kasan/kasan.c:531 __do_kmalloc_node mm/slab.c:3689 [inline] __kmalloc_node+0x51/0x80 mm/slab.c:3696 kmalloc_node include/linux/slab.h:557 [inline] kzalloc_node include/linux/slab.h:720 [inline] qdisc_alloc+0xbb/0xa60 net/sched/sch_generic.c:824 qdisc_create+0xec/0x1230 net/sched/sch_api.c:1113 tc_modify_qdisc+0xab0/0x1bdc net/sched/sch_api.c:1554 rtnetlink_rcv_msg+0x463/0xb00 net/core/rtnetlink.c:4747 netlink_rcv_skb+0x17d/0x460 net/netlink/af_netlink.c:2454 rtnetlink_rcv+0x1d/0x30 net/core/rtnetlink.c:4765 netlink_unicast_kernel net/netlink/af_netlink.c:1317 [inline] netlink_unicast+0x537/0x720 net/netlink/af_netlink.c:1343 netlink_sendmsg+0x8ae/0xd70 net/netlink/af_netlink.c:1908 sock_sendmsg_nosec net/socket.c:622 [inline] sock_sendmsg+0xd7/0x130 net/socket.c:632 ___sys_sendmsg+0x803/0x920 net/socket.c:2115 __sys_sendmsg+0x105/0x1d0 net/socket.c:2153 __do_sys_sendmsg net/socket.c:2162 [inline] __se_sys_sendmsg net/socket.c:2160 [inline] __x64_sys_sendmsg+0x78/0xb0 net/socket.c:2160 do_syscall_64+0xfd/0x620 arch/x86/entry/common.c:293 entry_SYSCALL_64_after_hwframe+0x49/0xbe Freed by task 20024: save_stack+0x45/0xd0 mm/kasan/kasan.c:448 set_track mm/kasan/kasan.c:460 [inline] __kasan_slab_free+0x102/0x150 mm/kasan/kasan.c:521 kasan_slab_free+0xe/0x10 mm/kasan/kasan.c:528 __cache_free mm/slab.c:3503 [inline] kfree+0xcf/0x220 mm/slab.c:3822 qdisc_free+0x89/0x100 net/sched/sch_generic.c:945 qdisc_destroy+0x4cf/0x690 net/sched/sch_generic.c:985 notify_and_destroy+0xa2/0xb0 net/sched/sch_api.c:924 qdisc_graft+0x4f3/0x1030 net/sched/sch_api.c:991 tc_modify_qdisc+0xcae/0x1bdc net/sched/sch_api.c:1582 rtnetlink_rcv_msg+0x463/0xb00 net/core/rtnetlink.c:4747 netlink_rcv_skb+0x17d/0x460 net/netlink/af_netlink.c:2454 rtnetlink_rcv+0x1d/0x30 net/core/rtnetlink.c:4765 netlink_unicast_kernel net/netlink/af_netlink.c:1317 [inline] netlink_unicast+0x537/0x720 net/netlink/af_netlink.c:1343 netlink_sendmsg+0x8ae/0xd70 net/netlink/af_netlink.c:1908 sock_sendmsg_nosec net/socket.c:622 [inline] sock_sendmsg+0xd7/0x130 net/socket.c:632 ___sys_sendmsg+0x803/0x920 net/socket.c:2115 __sys_sendmsg+0x105/0x1d0 net/socket.c:2153 __do_sys_sendmsg net/socket.c:2162 [inline] __se_sys_sendmsg net/socket.c:2160 [inline] __x64_sys_sendmsg+0x78/0xb0 net/socket.c:2160 do_syscall_64+0xfd/0x620 arch/x86/entry/common.c:293 entry_SYSCALL_64_after_hwframe+0x49/0xbe The buggy address belongs to the object at ffff8880468eca80 which belongs to the cache kmalloc-4096 of size 4096 The buggy address is located 64 bytes inside of 4096-byte region [ffff8880468eca80, ffff8880468eda80) The buggy address belongs to the page: page:ffffea00011a3b00 count:1 mapcount:0 mapping:ffff88812c3f0dc0 index:0x0 compound_mapcount: 0 flags: 0x1fffc0000008100(slab|head) raw: 01fffc0000008100 ffffea00021c2108 ffffea0001311e88 ffff88812c3f0dc0 raw: 0000000000000000 ffff8880468eca80 0000000100000001 0000000000000000 page dumped because: kasan: bad access detected Memory state around the buggy address: ffff8880468ec980: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc ffff8880468eca00: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc >ffff8880468eca80: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb ^ ffff8880468ecb00: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb ffff8880468ecb80: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb ==================================================================