audit: type=1400 audit(1583913938.595:36): avc: denied { map } for pid=7966 comm="syz-executor066" path="/root/syz-executor066597159" dev="sda1" ino=16483 scontext=unconfined_u:system_r:insmod_t:s0-s0:c0.c1023 tcontext=unconfined_u:object_r:user_home_t:s0 tclass=file permissive=1 IPVS: ftp: loaded support on port[0] = 21 ================================================================== BUG: KASAN: slab-out-of-bounds in tcindex_set_parms+0x17d0/0x19d0 net/sched/cls_tcindex.c:455 Write of size 16 at addr ffff8880a54778b8 by task syz-executor066/7967 CPU: 0 PID: 7967 Comm: syz-executor066 Not tainted 4.19.108-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.cold+0x7c/0x212 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+0x88/0x2b9 mm/kasan/report.c:396 tcindex_set_parms+0x17d0/0x19d0 net/sched/cls_tcindex.c:455 tcindex_change+0x200/0x2d3 net/sched/cls_tcindex.c:517 tc_new_tfilter+0xa6b/0x1450 net/sched/cls_api.c:1320 rtnetlink_rcv_msg+0x453/0xaf0 net/core/rtnetlink.c:4777 netlink_rcv_skb+0x160/0x410 net/netlink/af_netlink.c:2455 netlink_unicast_kernel net/netlink/af_netlink.c:1318 [inline] netlink_unicast+0x4d7/0x6a0 net/netlink/af_netlink.c:1344 netlink_sendmsg+0x80b/0xcd0 net/netlink/af_netlink.c:1909 sock_sendmsg_nosec net/socket.c:622 [inline] sock_sendmsg+0xcf/0x120 net/socket.c:632 ___sys_sendmsg+0x803/0x920 net/socket.c:2115 __sys_sendmsg+0xec/0x1b0 net/socket.c:2153 do_syscall_64+0xf9/0x620 arch/x86/entry/common.c:293 entry_SYSCALL_64_after_hwframe+0x49/0xbe RIP: 0033:0x440eb9 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 7b 10 fc ff c3 66 2e 0f 1f 84 00 00 00 00 RSP: 002b:00007ffe0f5cf728 EFLAGS: 00000246 ORIG_RAX: 000000000000002e RAX: ffffffffffffffda RBX: 00000000004a2690 RCX: 0000000000440eb9 RDX: 0000000000000000 RSI: 00000000200001c0 RDI: 0000000000000003 RBP: 00000000004a2690 R08: 0000000120080522 R09: 0000000120080522 R10: 0000000120080522 R11: 0000000000000246 R12: 00000000004023c0 R13: 0000000000402450 R14: 0000000000000000 R15: 0000000000000000 Allocated by task 1524: set_track mm/kasan/kasan.c:460 [inline] kasan_kmalloc mm/kasan/kasan.c:553 [inline] kasan_kmalloc+0xbf/0xe0 mm/kasan/kasan.c:531 kmem_cache_alloc_trace+0x14d/0x7a0 mm/slab.c:3625 kmalloc include/linux/slab.h:515 [inline] kzalloc include/linux/slab.h:709 [inline] kthread+0x96/0x420 kernel/kthread.c:215 ret_from_fork+0x24/0x30 arch/x86/entry/entry_64.S:415 Freed by task 0: (stack is not available) The buggy address belongs to the object at ffff8880a5477800 which belongs to the cache kmalloc-192 of size 192 The buggy address is located 184 bytes inside of 192-byte region [ffff8880a5477800, ffff8880a54778c0) The buggy address belongs to the page: page:ffffea0002951dc0 count:1 mapcount:0 mapping:ffff88812c3dc040 index:0x0 flags: 0xfffe0000000100(slab) raw: 00fffe0000000100 ffffea000296f948 ffffea00029a9008 ffff88812c3dc040 raw: 0000000000000000 ffff8880a5477000 0000000100000010 0000000000000000 page dumped because: kasan: bad access detected Memory state around the buggy address: ffff8880a5477780: 00 fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc ffff8880a5477800: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 >ffff8880a5477880: 00 00 00 00 00 00 00 00 fc fc fc fc fc fc fc fc ^ ffff8880a5477900: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ffff8880a5477980: 00 00 00 00 00 00 00 00 fc fc fc fc fc fc fc fc ==================================================================