39.568361][ T24] audit: type=1400 audit(1566012656.881:38): avc: denied { write } for pid=7050 comm="syz-executor148" path="socket:[28666]" dev="sockfs" ino=28666 scontext=unconfined_u:system_r:insmod_t:s0-s0:c0.c1023 tcontext=unconfined_u:system_r:insmod_t:s0-s0:c0.c1023 tclass=netlink_generic_socket permissive=1 BUG: memory leak unreferenced object 0xffff888112465300 (size 128): comm "syz-executor148", pid 7052, jiffies 4294941234 (age 8.190s) hex dump (first 32 bytes): 00 70 af 11 81 88 ff ff 80 52 46 12 81 88 ff ff .p.......RF..... c0 c4 67 12 81 88 ff ff 00 00 00 00 00 00 00 00 ..g............. backtrace: [<000000004cc840c7>] kmemleak_alloc_recursive include/linux/kmemleak.h:43 [inline] [<000000004cc840c7>] slab_post_alloc_hook mm/slab.h:522 [inline] [<000000004cc840c7>] slab_alloc mm/slab.c:3319 [inline] [<000000004cc840c7>] kmem_cache_alloc_trace+0x145/0x2c0 mm/slab.c:3548 [<00000000a43b3f26>] kmalloc include/linux/slab.h:552 [inline] [<00000000a43b3f26>] kzalloc include/linux/slab.h:748 [inline] [<00000000a43b3f26>] ovs_vport_alloc+0x37/0xf0 net/openvswitch/vport.c:130 [<00000000a541b9f2>] internal_dev_create+0x24/0x1d0 net/openvswitch/vport-internal_dev.c:164 [<00000000751b13b4>] ovs_vport_add+0x81/0x190 net/openvswitch/vport.c:199 [<0000000048d08470>] new_vport+0x19/0x80 net/openvswitch/datapath.c:194 [<00000000567223fc>] ovs_dp_cmd_new+0x22f/0x410 net/openvswitch/datapath.c:1615 [<000000005ede27e9>] genl_family_rcv_msg+0x2ab/0x5b0 net/netlink/genetlink.c:629 [<000000006615f6be>] genl_rcv_msg+0x54/0xa0 net/netlink/genetlink.c:654 [<0000000072c9bc16>] netlink_rcv_skb+0x61/0x170 net/netlink/af_netlink.c:2477 [<000000004b1adc73>] genl_rcv+0x29/0x40 net/netlink/genetlink.c:665 [<00000000199c1f22>] netlink_unicast_kernel net/netlink/af_netlink.c:1302 [inline] [<00000000199c1f22>] netlink_unicast+0x1ec/0x2d0 net/netlink/af_netlink.c:1328 [<00000000a7f9e875>] netlink_sendmsg+0x270/0x480 net/netlink/af_netlink.c:1917 [<00000000e23e9181>] sock_sendmsg_nosec net/socket.c:637 [inline] [<00000000e23e9181>] sock_sendmsg+0x54/0x70 net/socket.c:657 [<00000000ea37acad>] kernel_sendmsg+0x44/0x50 net/socket.c:677 [<00000000d1b51c7e>] sock_no_sendpage+0x9d/0xd0 net/core/sock.c:2721 [<000000001b59725d>] kernel_sendpage+0x54/0x90 net/socket.c:3682 BUG: memory leak unreferenced object 0xffff88811267c4c0 (size 64): comm "syz-executor148", pid 7052, jiffies 4294941234 (age 8.190s) hex dump (first 32 bytes): 01 00 00 00 01 00 00 00 00 00 00 00 00 00 00 00 ................ 00 00 00 00 00 00 00 00 02 00 00 00 05 35 82 c1 .............5.. backtrace: [<0000000048d5841e>] kmemleak_alloc_recursive include/linux/kmemleak.h:43 [inline] [<0000000048d5841e>] slab_post_alloc_hook mm/slab.h:522 [inline] [<0000000048d5841e>] slab_alloc mm/slab.c:3319 [inline] [<0000000048d5841e>] __do_kmalloc mm/slab.c:3653 [inline] [<0000000048d5841e>] __kmalloc+0x169/0x300 mm/slab.c:3664 [<0000000035750bf7>] kmalloc include/linux/slab.h:557 [inline] [<0000000035750bf7>] ovs_vport_set_upcall_portids+0x54/0xd0 net/openvswitch/vport.c:343 [<00000000e9d15406>] ovs_vport_alloc+0x7f/0xf0 net/openvswitch/vport.c:139 [<00000000a541b9f2>] internal_dev_create+0x24/0x1d0 net/openvswitch/vport-internal_dev.c:164 [<00000000751b13b4>] ovs_vport_add+0x81/0x190 net/openvswitch/vport.c:199 [<0000000048d08470>] new_vport+0x19/0x80 net/openvswitch/datapath.c:194 [<00000000567223fc>] ovs_dp_cmd_new+0x22f/0x410 net/openvswitch/datapath.c:1615 [<000000005ede27e9>] genl_family_rcv_msg+0x2ab/0x5b0 net/netlink/genetlink.c:629 [<000000006615f6be>] genl_rcv_msg+0x54/0xa0 net/netlink/genetlink.c:654 [<0000000072c9bc16>] netlink_rcv_skb+0x61/0x170 net/netlink/af_netlink.c:2477 [<000000004b1adc73>] genl_rcv+0x29/0x40 net/netlink/genetlink.c:665 [<00000000199c1f22>] netlink_unicast_kernel net/netlink/af_netlink.c:1302 [inline] [<00000000199c1f22>] netlink_unicast+0x1ec/0x2d0 net/netlink/af_netlink.c:1328 [<00000000a7f9e875>] netlink_sendmsg+0x270/0x480 net/netlink/af_netlink.c:1917 [<00000000e23e9181>] sock_sendmsg_nosec net/socket.c:637 [inline] [<00000000e23e9181>] sock_sendmsg+0x54/0x70 net/socket.c:657 [<00000000ea37acad>] kernel_sendmsg+0x44/0x50 net/socket.c:677 [<00000000d1b51c7e>] sock_no_sendpage+0x9d/0xd0 net/core/sock.c:2721