WARNING: CPU: 0 PID: 5354 at mm/slab_common.c:1012 kmalloc_slab+0x5d/0x70 mm/slab_common.c:1012 audit: type=1400 audit(1517867702.906:27): avc: denied { ioctl } for pid=5355 comm="syz-executor6" path="socket:[14030]" dev="sockfs" ino=14030 ioctlcmd=0x8981 scontext=unconfined_u:system_r:insmod_t:s0-s0:c0.c1023 tcontext=unconfined_u:system_r:insmod_t:s0-s0:c0.c1023 tclass=netlink_crypto_socket permissive=1 Kernel panic - not syncing: panic_on_warn set ... CPU: 0 PID: 5354 Comm: syz-executor5 Not tainted 4.15.0+ #298 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 Call Trace: __dump_stack lib/dump_stack.c:17 [inline] dump_stack+0x194/0x257 lib/dump_stack.c:53 audit: type=1400 audit(1517867703.022:28): avc: denied { set_context_mgr } for pid=5350 comm="syz-executor3" scontext=unconfined_u:system_r:insmod_t:s0-s0:c0.c1023 tcontext=unconfined_u:system_r:insmod_t:s0-s0:c0.c1023 tclass=binder permissive=1 panic+0x1e4/0x41c kernel/panic.c:183 binder_alloc: binder_alloc_mmap_handler: 5350 20000000-20002000 already mapped failed -16 __warn+0x1dc/0x200 kernel/panic.c:547 report_bug+0x211/0x2d0 lib/bug.c:184 fixup_bug.part.11+0x37/0x80 arch/x86/kernel/traps.c:178 audit: type=1400 audit(1517867703.055:29): avc: denied { call } for pid=5350 comm="syz-executor3" scontext=unconfined_u:system_r:insmod_t:s0-s0:c0.c1023 tcontext=unconfined_u:system_r:insmod_t:s0-s0:c0.c1023 tclass=binder permissive=1 fixup_bug arch/x86/kernel/traps.c:247 [inline] do_error_trap+0x2d7/0x3e0 arch/x86/kernel/traps.c:296 do_invalid_op+0x1b/0x20 arch/x86/kernel/traps.c:315 audit: type=1400 audit(1517867703.055:30): avc: denied { transfer } for pid=5350 comm="syz-executor3" scontext=unconfined_u:system_r:insmod_t:s0-s0:c0.c1023 tcontext=unconfined_u:system_r:insmod_t:s0-s0:c0.c1023 tclass=binder permissive=1 invalid_op+0x22/0x40 arch/x86/entry/entry_64.S:984 RIP: 0010:kmalloc_slab+0x5d/0x70 mm/slab_common.c:1012 RSP: 0018:ffff8801ccae69d0 EFLAGS: 00010246 binder: BINDER_SET_CONTEXT_MGR already set RAX: 0000000000000000 RBX: 0000000000000000 RCX: ffffffff83b8ab5d RDX: 0000000000000a0f RSI: 0000000000000000 RDI: 00000007fffffff0 RBP: ffff8801ccae69d0 R08: 1ffff1003995ccad R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000000 R12: 00000007fffffff0 R13: dffffc0000000000 R14: 00000000014080c0 R15: ffff8801d7dafbc0 binder: 5350:5370 ioctl 40046207 0 returned -16 __do_kmalloc mm/slab.c:3700 [inline] __kmalloc+0x25/0x760 mm/slab.c:3714 kmalloc_array include/linux/slab.h:631 [inline] kcalloc include/linux/slab.h:642 [inline] __ptr_ring_init_queue_alloc include/linux/ptr_ring.h:469 [inline] ptr_ring_resize_multiple include/linux/ptr_ring.h:629 [inline] tun_queue_resize drivers/net/tun.c:3319 [inline] tun_device_event+0x471/0xec0 drivers/net/tun.c:3338 binder_alloc: 5350: binder_alloc_buf, no vma notifier_call_chain+0x136/0x2c0 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+0x32/0x70 net/core/dev.c:1707 call_netdevice_notifiers net/core/dev.c:1725 [inline] dev_change_tx_queue_len+0x117/0x220 net/core/dev.c:7065 do_setlink+0xba7/0x3bb0 net/core/rtnetlink.c:2341 binder: 5350:5356 transaction failed 29189/-3, size 40-8 line 2957 binder: undelivered transaction 2, process died. rtnl_newlink+0xf1c/0x1a20 net/core/rtnetlink.c:2915 rtnetlink_rcv_msg+0x57f/0xb10 net/core/rtnetlink.c:4587 netlink_rcv_skb+0x14b/0x380 net/netlink/af_netlink.c:2442 rtnetlink_rcv+0x1c/0x20 net/core/rtnetlink.c:4605 netlink_unicast_kernel net/netlink/af_netlink.c:1308 [inline] netlink_unicast+0x4c4/0x6b0 net/netlink/af_netlink.c:1334 netlink_sendmsg+0xa4a/0xe60 net/netlink/af_netlink.c:1897 sock_sendmsg_nosec net/socket.c:630 [inline] sock_sendmsg+0xca/0x110 net/socket.c:640 ___sys_sendmsg+0x767/0x8b0 net/socket.c:2046 __sys_sendmsg+0xe5/0x210 net/socket.c:2080 SYSC_sendmsg net/socket.c:2091 [inline] SyS_sendmsg+0x2d/0x50 net/socket.c:2087 do_syscall_64+0x282/0x940 arch/x86/entry/common.c:287 entry_SYSCALL_64_after_hwframe+0x26/0x9b RIP: 0033:0x453299 RSP: 002b:00007f4b82165c58 EFLAGS: 00000212 ORIG_RAX: 000000000000002e RAX: ffffffffffffffda RBX: 000000000071bea0 RCX: 0000000000453299 RDX: 0000000000000000 RSI: 000000002091d000 RDI: 0000000000000013 RBP: 00000000000004b3 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000212 R12: 00000000006f6168 R13: 00000000ffffffff R14: 00007f4b821666d4 R15: 0000000000000000 Dumping ftrace buffer: (ftrace buffer empty) Kernel Offset: disabled Rebooting in 86400 seconds..