IPVS: ftp: loaded support on port[0] = 21 nf_conntrack: default automatic helper assignment has been turned off for security reasons and CT-based firewall rule not found. Use the iptables CT target to attach helpers instead. ================================================================== BUG: KASAN: slab-out-of-bounds in __ptr_ring_produce include/linux/ptr_ring.h:110 [inline] BUG: KASAN: slab-out-of-bounds in ptr_ring_produce include/linux/ptr_ring.h:133 [inline] BUG: KASAN: slab-out-of-bounds in tun_net_xmit+0x197e/0x1be0 drivers/net/tun.c:1119 Read of size 8 at addr ffff8880905fecc8 by task syz-executor646/8082 CPU: 0 PID: 8082 Comm: syz-executor646 Not tainted 4.20.0+ #254 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+0x1d3/0x2c6 lib/dump_stack.c:113 print_address_description.cold.8+0x9/0x1ff mm/kasan/report.c:256 kasan_report_error mm/kasan/report.c:354 [inline] kasan_report.cold.9+0x242/0x309 mm/kasan/report.c:412 __asan_report_load8_noabort+0x14/0x20 mm/kasan/report.c:433 __ptr_ring_produce include/linux/ptr_ring.h:110 [inline] ptr_ring_produce include/linux/ptr_ring.h:133 [inline] tun_net_xmit+0x197e/0x1be0 drivers/net/tun.c:1119 __netdev_start_xmit include/linux/netdevice.h:4382 [inline] netdev_start_xmit include/linux/netdevice.h:4391 [inline] xmit_one net/core/dev.c:3278 [inline] dev_hard_start_xmit+0x286/0xc80 net/core/dev.c:3294 sch_direct_xmit+0x48b/0x1130 net/sched/sch_generic.c:327 qdisc_restart net/sched/sch_generic.c:390 [inline] __qdisc_run+0x624/0x19f0 net/sched/sch_generic.c:398 qdisc_run include/net/pkt_sched.h:121 [inline] __dev_xmit_skb net/core/dev.c:3473 [inline] __dev_queue_xmit+0x190c/0x3ac0 net/core/dev.c:3832 dev_queue_xmit+0x17/0x20 net/core/dev.c:3897 neigh_hh_output include/net/neighbour.h:498 [inline] neigh_output include/net/neighbour.h:506 [inline] ip6_finish_output2+0x144e/0x2930 net/ipv6/ip6_output.c:120 ip6_finish_output+0x583/0xc50 net/ipv6/ip6_output.c:154 NF_HOOK_COND include/linux/netfilter.h:278 [inline] ip6_output+0x232/0x9d0 net/ipv6/ip6_output.c:171 dst_output include/net/dst.h:444 [inline] ip6_local_out+0xc5/0x1b0 net/ipv6/output_core.c:176 ip6_send_skb+0xbc/0x340 net/ipv6/ip6_output.c:1727 udp_v6_send_skb.isra.32+0x831/0x14a0 net/ipv6/udp.c:1169 udpv6_sendmsg+0x2d86/0x36a0 net/ipv6/udp.c:1466 inet_sendmsg+0x1a1/0x690 net/ipv4/af_inet.c:798 sock_sendmsg_nosec net/socket.c:621 [inline] sock_sendmsg+0xd5/0x120 net/socket.c:631 __sys_sendto+0x3d7/0x670 net/socket.c:1788 __do_sys_sendto net/socket.c:1800 [inline] __se_sys_sendto net/socket.c:1796 [inline] __x64_sys_sendto+0xe1/0x1a0 net/socket.c:1796 do_syscall_64+0x1b9/0x820 arch/x86/entry/common.c:290 entry_SYSCALL_64_after_hwframe+0x49/0xbe RIP: 0033:0x441ba9 Code: e8 4c 06 03 00 48 83 c4 18 c3 0f 1f 80 00 00 00 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 cb 08 fc ff c3 66 2e 0f 1f 84 00 00 00 00 RSP: 002b:00007ffd661be568 EFLAGS: 00000216 ORIG_RAX: 000000000000002c RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 0000000000441ba9 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000003 RBP: 000000000000e73b R08: 00000000200001c0 R09: 000000000000001c R10: 0000000000000000 R11: 0000000000000216 R12: 0000000000000000 R13: 0000000000402990 R14: 0000000000000000 R15: 0000000000000000 Allocated by task 8081: save_stack+0x43/0xd0 mm/kasan/kasan.c:448 set_track mm/kasan/kasan.c:460 [inline] kasan_kmalloc+0xc7/0xe0 mm/kasan/kasan.c:553 __do_kmalloc_node mm/slab.c:3684 [inline] __kmalloc_node+0x50/0x70 mm/slab.c:3691 kmalloc_node include/linux/slab.h:589 [inline] kvmalloc_node+0x65/0xf0 mm/util.c:416 kvmalloc include/linux/mm.h:577 [inline] kvmalloc_array include/linux/mm.h:595 [inline] __ptr_ring_init_queue_alloc include/linux/ptr_ring.h:475 [inline] ptr_ring_resize_multiple include/linux/ptr_ring.h:635 [inline] tun_queue_resize drivers/net/tun.c:3606 [inline] tun_device_event+0x56a/0x106c drivers/net/tun.c:3625 notifier_call_chain+0x17e/0x380 kernel/notifier.c:93 __raw_notifier_call_chain kernel/notifier.c:394 [inline] raw_notifier_call_chain+0x2d/0x40 kernel/notifier.c:401 call_netdevice_notifiers_info+0x3f/0x90 net/core/dev.c:1739 call_netdevice_notifiers_extack net/core/dev.c:1751 [inline] call_netdevice_notifiers net/core/dev.c:1765 [inline] dev_change_tx_queue_len+0x188/0x270 net/core/dev.c:7742 dev_ifsioc+0x79b/0xa80 net/core/dev_ioctl.c:287 dev_ioctl+0x1b5/0xcc0 net/core/dev_ioctl.c:488 sock_do_ioctl+0x1f6/0x420 net/socket.c:973 sock_ioctl+0x313/0x690 net/socket.c:1074 vfs_ioctl fs/ioctl.c:46 [inline] file_ioctl fs/ioctl.c:509 [inline] do_vfs_ioctl+0x1de/0x1790 fs/ioctl.c:696 ksys_ioctl+0xa9/0xd0 fs/ioctl.c:713 __do_sys_ioctl fs/ioctl.c:720 [inline] __se_sys_ioctl fs/ioctl.c:718 [inline] __x64_sys_ioctl+0x73/0xb0 fs/ioctl.c:718 do_syscall_64+0x1b9/0x820 arch/x86/entry/common.c:290 entry_SYSCALL_64_after_hwframe+0x49/0xbe Freed by task 9: save_stack+0x43/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:3498 [inline] kfree+0xcf/0x230 mm/slab.c:3817 kzfree+0x28/0x30 mm/slab_common.c:1564 aa_free_task_ctx security/apparmor/include/task.h:61 [inline] apparmor_task_free+0x13a/0x1e0 security/apparmor/lsm.c:95 security_task_free+0x4a/0x80 security/security.c:1007 __put_task_struct+0x195/0x620 kernel/fork.c:729 put_task_struct include/linux/sched/task.h:96 [inline] delayed_put_task_struct+0x2ff/0x4c0 kernel/exit.c:181 __rcu_reclaim kernel/rcu/rcu.h:240 [inline] rcu_do_batch kernel/rcu/tree.c:2452 [inline] invoke_rcu_callbacks kernel/rcu/tree.c:2773 [inline] rcu_process_callbacks+0xc5b/0x1600 kernel/rcu/tree.c:2754 __do_softirq+0x30c/0xb2e kernel/softirq.c:292 The buggy address belongs to the object at ffff8880905fecc0 which belongs to the cache kmalloc-32 of size 32 The buggy address is located 8 bytes inside of 32-byte region [ffff8880905fecc0, ffff8880905fece0) The buggy address belongs to the page: page:ffffea0002417f80 count:1 mapcount:0 mapping:ffff88812c3f01c0 index:0xffff8880905fefc1 flags: 0x1fffc0000000200(slab) raw: 01fffc0000000200 ffffea00027aa2c8 ffffea0002468748 ffff88812c3f01c0 raw: ffff8880905fefc1 ffff8880905fe000 0000000100000020 0000000000000000 page dumped because: kasan: bad access detected Memory state around the buggy address: ffff8880905feb80: fb fb fb fb fc fc fc fc fb fb fb fb fc fc fc fc ffff8880905fec00: fb fb fb fb fc fc fc fc 00 01 fc fc fc fc fc fc >ffff8880905fec80: 00 fc fc fc fc fc fc fc 00 fc fc fc fc fc fc fc ^ ffff8880905fed00: fb fb fb fb fc fc fc fc fb fb fb fb fc fc fc fc ffff8880905fed80: fb fb fb fb fc fc fc fc 00 00 fc fc fc fc fc fc ==================================================================