netlink: 188 bytes leftover after parsing attributes in process `syz-executor3'. =============================== [ INFO: suspicious RCU usage. ] 4.9.79-g71f1469 #25 Not tainted ------------------------------- net/ipv6/ip6_fib.c:1471 suspicious rcu_dereference_protected() usage! other info that might help us debug this: rcu_scheduler_active = 2, debug_locks = 0 3 locks held by syz-executor5/12835: #0: (rtnl_mutex){+.+.+.}, at: [] rtnl_lock+0x17/0x20 net/core/rtnetlink.c:70 #1: (rcu_read_lock){......}, at: [] __fib6_clean_all+0x0/0x230 net/ipv6/ip6_fib.c:740 #2: (&tb->tb6_lock){++--..}, at: [] __fib6_clean_all+0xe0/0x230 net/ipv6/ip6_fib.c:1717 stack backtrace: CPU: 1 PID: 12835 Comm: syz-executor5 Not tainted 4.9.79-g71f1469 #25 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 ffff8801bf0972d8 ffffffff81d94829 ffff8801d9329800 0000000000000000 0000000000000002 ffffffff83f4be40 ffffed0037e12eab ffff8801bf097308 ffffffff81238379 ffff8801ca85a8c0 ffff8801ca85a8c0 dffffc0000000000 Call Trace: [] __dump_stack lib/dump_stack.c:15 [inline] [] dump_stack+0xc1/0x128 lib/dump_stack.c:51 [] lockdep_rcu_suspicious+0x139/0x180 kernel/locking/lockdep.c:4455 [] fib6_del+0x6ab/0xa30 net/ipv6/ip6_fib.c:1470 [] fib6_clean_node+0x336/0x4a0 net/ipv6/ip6_fib.c:1657 [] fib6_walk_continue+0x39b/0x620 net/ipv6/ip6_fib.c:1583 [] fib6_walk+0xd9/0x150 net/ipv6/ip6_fib.c:1628 [] fib6_clean_tree+0xe5/0x130 net/ipv6/ip6_fib.c:1702 [] __fib6_clean_all+0xf9/0x230 net/ipv6/ip6_fib.c:1718 [] fib6_clean_all+0x27/0x30 net/ipv6/ip6_fib.c:1729 [] rt6_ifdown+0xa1/0x7f0 net/ipv6/route.c:2715 [] addrconf_ifdown+0xd0/0x10f0 net/ipv6/addrconf.c:3566 [] addrconf_notify+0x948/0x2230 net/ipv6/addrconf.c:3490 [] notifier_call_chain+0x90/0x1a0 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+0x51/0x90 net/core/dev.c:1647 [] call_netdevice_notifiers net/core/dev.c:1663 [inline] [] __dev_notify_flags+0x197/0x270 net/core/dev.c:6500 [] dev_change_flags+0xf5/0x140 net/core/dev.c:6531 [] dev_ifsioc+0x5cc/0x820 net/core/dev_ioctl.c:255 [] dev_ioctl+0x1d5/0xd40 net/core/dev_ioctl.c:533 [] sock_do_ioctl+0x94/0xb0 net/socket.c:899 [] sock_ioctl+0x2e0/0x3d0 net/socket.c:978 [] vfs_ioctl fs/ioctl.c:43 [inline] [] do_vfs_ioctl+0x1aa/0x1140 fs/ioctl.c:679 [] SYSC_ioctl fs/ioctl.c:694 [inline] [] SyS_ioctl+0x8f/0xc0 fs/ioctl.c:685 [] entry_SYSCALL_64_fastpath+0x29/0xe8 netlink: 188 bytes leftover after parsing attributes in process `syz-executor3'. device gre0 entered promiscuous mode audit: type=1400 audit(1517581334.111:76): avc: denied { accept } for pid=12943 comm="syz-executor6" 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 device lo left promiscuous mode netlink: 8 bytes leftover after parsing attributes in process `syz-executor7'. netlink: 8 bytes leftover after parsing attributes in process `syz-executor7'. TCP: request_sock_TCP: Possible SYN flooding on port 20022. Sending cookies. Check SNMP counters. binder: 13087:13092 transaction failed 29201/-22, size -160--26 line 3127 binder: BINDER_SET_CONTEXT_MGR already set binder_alloc: binder_alloc_mmap_handler: 13087 20000000-20002000 already mapped failed -16 netlink: 3 bytes leftover after parsing attributes in process `syz-executor3'. netlink: 3 bytes leftover after parsing attributes in process `syz-executor3'. binder: BINDER_SET_CONTEXT_MGR already set binder_alloc: 13087: binder_alloc_buf, no vma binder: 13087:13092 ioctl 40046207 0 returned -16 binder: 13105:13122 Acquire 1 refcount change on invalid ref 3 ret -22 binder: 13105:13106 ioctl 40046207 0 returned -16 binder: 13087:13101 transaction failed 29189/-3, size -160--26 line 3127 binder: undelivered TRANSACTION_ERROR: 29189 binder: undelivered TRANSACTION_ERROR: 29201 binder: 13105:13151 BC_REQUEST_DEATH_NOTIFICATION death notification already set binder: 13105:13106 Acquire 1 refcount change on invalid ref 3 ret -22 binder: 13105:13151 BC_REQUEST_DEATH_NOTIFICATION death notification already set binder: 13166:13179 Acquire 1 refcount change on invalid ref 0 ret -22 binder: 13166:13204 got new transaction with bad transaction stack, transaction 123 has target 13166:0 binder: 13166:13204 transaction failed 29201/-71, size 0-0 line 3031 binder: BINDER_SET_CONTEXT_MGR already set binder: 13166:13204 ioctl 40046207 0 returned -16 binder_alloc: 13166: binder_alloc_buf, no vma binder: 13166:13208 transaction failed 29189/-3, size 0-0 line 3127 binder: undelivered TRANSACTION_ERROR: 29189 binder: release 13166:13204 transaction 123 out, still active binder: undelivered TRANSACTION_COMPLETE binder: 13221:13225 ERROR: BC_REGISTER_LOOPER called without request binder: undelivered TRANSACTION_ERROR: 29201 binder: send failed reply for transaction 123, target dead binder: release 13221:13225 transaction 128 in, still active binder: send failed reply for transaction 128 to 13221:13244 binder: undelivered TRANSACTION_COMPLETE binder: 13221:13244 ERROR: BC_REGISTER_LOOPER called without request binder: undelivered TRANSACTION_ERROR: 29189 audit: type=1400 audit(1517581335.441:77): avc: denied { setattr } for pid=13293 comm="syz-executor5" name="map_files" dev="proc" ino=26497 scontext=unconfined_u:system_r:insmod_t:s0-s0:c0.c1023 tcontext=unconfined_u:system_r:insmod_t:s0-s0:c0.c1023 tclass=dir permissive=1 dummy0: renamed from gre0 device gre0 entered promiscuous mode IPv6: NLM_F_REPLACE set, but no existing node found! IPv6: NLM_F_REPLACE set, but no existing node found! IPVS: length: 24 != 8 audit: type=1400 audit(1517581336.371:78): avc: denied { fsetid } for pid=13562 comm="syz-executor0" capability=4 scontext=unconfined_u:system_r:insmod_t:s0-s0:c0.c1023 tcontext=unconfined_u:system_r:insmod_t:s0-s0:c0.c1023 tclass=cap_userns permissive=1 IPVS: length: 24 != 8 device syz5 entered promiscuous mode device syz5 left promiscuous mode binder: release 13603:13618 transaction 131 out, still active IPVS: Creating netns size=2536 id=13 binder: undelivered TRANSACTION_COMPLETE binder: send failed reply for transaction 131, target dead audit: type=1400 audit(1517581336.601:79): avc: denied { getattr } for pid=13636 comm="syz-executor7" path="socket:[25311]" dev="sockfs" ino=25311 scontext=unconfined_u:system_r:insmod_t:s0-s0:c0.c1023 tcontext=unconfined_u:system_r:insmod_t:s0-s0:c0.c1023 tclass=netlink_netfilter_socket permissive=1 pktgen: kernel_thread() failed for cpu 0 pktgen: Cannot create thread for cpu 0 (-4) pktgen: kernel_thread() failed for cpu 1 pktgen: Cannot create thread for cpu 1 (-4) pktgen: Initialization failed for all threads netlink: 192 bytes leftover after parsing attributes in process `syz-executor5'. l2tp_core: tunl 1: fd 19 wrong protocol, got 6, expected 17 l2tp_core: tunl 1: fd 22 wrong protocol, got 6, expected 17 device syz0 entered promiscuous mode syz-executor6: vmalloc: allocation failure: 15157949456 bytes, mode:0x24000c2(GFP_KERNEL|__GFP_HIGHMEM) CPU: 1 PID: 14206 Comm: syz-executor6 Not tainted 4.9.79-g71f1469 #25 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 ffff8801b202f880 ffffffff81d94829 1ffff10036405f13 ffff8801d300b000 ffffffff83ab8ea0 0000000000000001 0000000000400000 ffff8801b202f990 ffffffff81451c92[ 74.827982] binder: 14202:14223 tried to acquire reference to desc 0, got 1 instead binder: 14202:14223 BC_REQUEST_DEATH_NOTIFICATION invalid ref 0 binder: 14202:14222 BC_CLEAR_DEATH_NOTIFICATION invalid ref 0 binder: 14202:14222 BC_REQUEST_DEATH_NOTIFICATION invalid ref 0 024000c2f21df567 0000000041b58ab3 ffffffff84195205 [] __dump_stack lib/dump_stack.c:15 [inline] [] dump_stack+0xc1/0x128 lib/dump_stack.c:51 binder: undelivered death notification, 0000000000000000 [] warn_alloc+0x212/0x240 mm/page_alloc.c:3056 [] __vmalloc_node_range+0x3f5/0x5f0 mm/vmalloc.c:1722 [] __vmalloc_node mm/vmalloc.c:1744 [inline] [] __vmalloc_node_flags mm/vmalloc.c:1758 [inline] [] vmalloc+0x5b/0x70 mm/vmalloc.c:1773 [] xt_alloc_entry_offsets+0x41/0x60 net/netfilter/x_tables.c:722 [] translate_table+0x2da/0x1cd0 net/ipv4/netfilter/arp_tables.c:549 [] do_replace net/ipv4/netfilter/arp_tables.c:986 [inline] [] do_arpt_set_ctl+0x2b7/0x650 net/ipv4/netfilter/arp_tables.c:1465 [] nf_sockopt net/netfilter/nf_sockopt.c:105 [inline] [] nf_setsockopt+0x67/0xc0 net/netfilter/nf_sockopt.c:114 [] ip_setsockopt+0xa1/0xb0 net/ipv4/ip_sockglue.c:1248 [] tcp_setsockopt+0x82/0xd0 net/ipv4/tcp.c:2740 [] sock_common_setsockopt+0x95/0xd0 net/core/sock.c:2706 [] SYSC_setsockopt net/socket.c:1772 [inline] [] SyS_setsockopt+0x160/0x250 net/socket.c:1751 [] entry_SYSCALL_64_fastpath+0x29/0xe8 Mem-Info: active_anon:62166 inactive_anon:44 isolated_anon:0 active_file:3615 inactive_file:8592 isolated_file:0 unevictable:0 dirty:91 writeback:0 unstable:0 slab_reclaimable:6770 slab_unreclaimable:61015 mapped:24057 shmem:53 pagetables:677 bounce:0 free:1464999 free_pcp:317 free_cma:0 Node 0 active_anon:248664kB inactive_anon:176kB active_file:14460kB inactive_file:34368kB unevictable:0kB isolated(anon):0kB isolated(file):0kB mapped:96228kB dirty:364kB writeback:0kB shmem:212kB shmem_thp: 0kB shmem_pmdmapped: 0kB anon_thp: 131072kB writeback_tmp:0kB unstable:0kB pages_scanned:0 all_unreclaimable? no DMA free:15908kB min:160kB low:200kB high:240kB active_anon:0kB inactive_anon:0kB active_file:0kB inactive_file:0kB unevictable:0kB writepending:0kB present:15992kB managed:15908kB mlocked:0kB slab_reclaimable:0kB slab_unreclaimable:0kB kernel_stack:0kB pagetables:0kB bounce:0kB free_pcp:0kB local_pcp:0kB free_cma:0kB lowmem_reserve[]: 0 2908 6410 6410 DMA32 free:2980084kB min:30592kB low:38240kB high:45888kB active_anon:0kB inactive_anon:0kB active_file:0kB inactive_file:0kB unevictable:0kB writepending:0kB present:3129292kB managed:2980720kB mlocked:0kB slab_reclaimable:0kB slab_unreclaimable:0kB kernel_stack:0kB pagetables:0kB bounce:0kB free_pcp:636kB local_pcp:636kB free_cma:0kB lowmem_reserve[]: 0 0 3501 3501 Normal free:2889916kB min:36824kB low:46028kB high:55232kB active_anon:223908kB inactive_anon:176kB active_file:14460kB inactive_file:34372kB unevictable:0kB writepending:368kB present:4718592kB managed:3585212kB mlocked:0kB slab_reclaimable:27072kB slab_unreclaimable:243484kB kernel_stack:5536kB pagetables:2532kB bounce:0kB free_pcp:1328kB local_pcp:704kB free_cma:0kB lowmem_reserve[]: 0 0 0 0 DMA: 1*4kB (U) 0*8kB 0*16kB 1*32kB (U) 2*64kB (U) 1*128kB (U) 1*256kB (U) 0*512kB 1*1024kB (U) 1*2048kB (M) 3*4096kB (M) = 15908kB DMA32: 3*4kB (M) 5*8kB (M) 4*16kB (M) 2*32kB (M) 3*64kB (M) 3*128kB (M) 2*256kB (M) 4*512kB (M) 1*1024kB (M) 1*2048kB (M) 726*4096kB (M) = 2980084kB Normal: 394*4kB (UME) 502*8kB (UME) 185*16kB (UME) 109*32kB (UME) 114*64kB (UM) 47*128kB (UM) 14*256kB (UME) 4*512kB (UM) 4*1024kB (ME) 4*2048kB (M) 695*4096kB (UM) = 2889992kB Node 0 hugepages_total=0 hugepages_free=0 hugepages_surp=0 hugepages_size=2048kB 12261 total pagecache pages 0 pages in swap cache Swap cache stats: add 0, delete 0, find 0/0 Free swap = 0kB Total swap = 0kB 1965969 pages RAM 0 pages HighMem/MovableOnly 320509 pages reserved audit: type=1400 audit(1517581339.821:80): avc: denied { execute } for pid=14243 comm="syz-executor7" path="pipe:[27092]" dev="pipefs" ino=27092 scontext=unconfined_u:system_r:insmod_t:s0-s0:c0.c1023 tcontext=unconfined_u:system_r:insmod_t:s0-s0:c0.c1023 tclass=fifo_file permissive=1 netlink: 64 bytes leftover after parsing attributes in process `syz-executor0'. netlink: 64 bytes leftover after parsing attributes in process `syz-executor0'. device lo entered promiscuous mode device lo left promiscuous mode device lo entered promiscuous mode device lo left promiscuous mode capability: warning: `syz-executor5' uses deprecated v2 capabilities in a way that may be insecure FAULT_FLAG_ALLOW_RETRY missing 30 CPU: 0 PID: 14519 Comm: syz-executor0 Not tainted 4.9.79-g71f1469 #25 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 ffff8801cf0c78a0 ffffffff81d94829 ffff8801cf0c7b80 0000000000000000 ffff8801c5017c10 ffff8801cf0c7a70 ffff8801c5017b00 ffff8801cf0c7a98 ffffffff816621ca ffff8801cb7364c0 ffff8801cf0c79f0 00000001d80a2067 Call Trace: [] __dump_stack lib/dump_stack.c:15 [inline] [] dump_stack+0xc1/0x128 lib/dump_stack.c:51 [] handle_userfault+0xa3a/0x1310 fs/userfaultfd.c:323 [] do_anonymous_page mm/memory.c:2747 [inline] [] handle_pte_fault mm/memory.c:3488 [inline] [] __handle_mm_fault mm/memory.c:3577 [inline] [] handle_mm_fault+0x1fd1/0x2530 mm/memory.c:3614 [] __do_page_fault+0x5c2/0xd40 arch/x86/mm/fault.c:1407 [] do_page_fault+0x27/0x30 arch/x86/mm/fault.c:1470 [] page_fault+0x28/0x30 arch/x86/entry/entry_64.S:1055 [] entry_SYSCALL_64_fastpath+0x29/0xe8 9pnet_virtio: no channels available for device ./file0 9pnet_virtio: no channels available for device ./file0 binder: 14745:14751 transaction failed 29189/-22, size 0-0 line 3004 audit: type=1400 audit(1517581342.721:81): avc: denied { net_admin } for pid=4019 comm="syz-executor5" capability=12 scontext=unconfined_u:system_r:insmod_t:s0-s0:c0.c1023 tcontext=unconfined_u:system_r:insmod_t:s0-s0:c0.c1023 tclass=cap_userns permissive=1 audit: type=1400 audit(1517581342.721:82): avc: denied { dac_override } for pid=14747 comm="syz-executor4" capability=1 scontext=unconfined_u:system_r:insmod_t:s0-s0:c0.c1023 tcontext=unconfined_u:system_r:insmod_t:s0-s0:c0.c1023 tclass=cap_userns permissive=1 audit: type=1400 audit(1517581342.731:83): avc: denied { sys_admin } for pid=14742 comm="syz-executor3" capability=21 scontext=unconfined_u:system_r:insmod_t:s0-s0:c0.c1023 tcontext=unconfined_u:system_r:insmod_t:s0-s0:c0.c1023 tclass=cap_userns permissive=1 audit: type=1400 audit(1517581342.821:84): avc: denied { dac_override } for pid=14764 comm="syz-executor3" capability=1 scontext=unconfined_u:system_r:insmod_t:s0-s0:c0.c1023 tcontext=unconfined_u:system_r:insmod_t:s0-s0:c0.c1023 tclass=cap_userns permissive=1 audit: type=1400 audit(1517581342.821:85): avc: denied { sys_admin } for pid=14764 comm="syz-executor3" capability=21 scontext=unconfined_u:system_r:insmod_t:s0-s0:c0.c1023 tcontext=unconfined_u:system_r:insmod_t:s0-s0:c0.c1023 tclass=cap_userns permissive=1 audit: type=1400 audit(1517581342.821:86): avc: denied { set_context_mgr } for pid=14783 comm="syz-executor1" 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 binder: 14783:14785 transaction failed 29189/-22, size 0-0 line 3004 binder_alloc: binder_alloc_mmap_handler: 14745 20000000-20002000 already mapped failed -16 binder: 14745:14751 transaction failed 29189/-22, size 0-0 line 3004 binder: undelivered TRANSACTION_ERROR: 29189 binder: undelivered TRANSACTION_ERROR: 29189 binder: 14783:14788 ioctl 8918 20d2f000 returned -22 audit: type=1400 audit(1517581342.871:87): avc: denied { net_admin } for pid=4027 comm="syz-executor0" capability=12 scontext=unconfined_u:system_r:insmod_t:s0-s0:c0.c1023 tcontext=unconfined_u:system_r:insmod_t:s0-s0:c0.c1023 tclass=cap_userns permissive=1 binder: 14783:14795 transaction failed 29189/-22, size 0-0 line 3004 binder: 14783:14795 ioctl 8918 20d2f000 returned -22 binder: undelivered TRANSACTION_ERROR: 29189 binder: undelivered TRANSACTION_ERROR: 29189 FAULT_FLAG_ALLOW_RETRY missing 30 CPU: 1 PID: 14805 Comm: syz-executor6 Not tainted 4.9.79-g71f1469 #25 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 ffff8801cd7476e0 ffffffff81d94829 ffff8801cd7479c0 0000000000000000 ffff8801c0052890 ffff8801cd7478b0 ffff8801c0052780 ffff8801cd7478d8 ffffffff816621ca ffffffff8123be70 ffff8801cd747830 00000001c763b067 Call Trace: [] __dump_stack lib/dump_stack.c:15 [inline] [] dump_stack+0xc1/0x128 lib/dump_stack.c:51 [] handle_userfault+0xa3a/0x1310 fs/userfaultfd.c:323 [] do_anonymous_page mm/memory.c:2747 [inline] [] handle_pte_fault mm/memory.c:3488 [inline] [] __handle_mm_fault mm/memory.c:3577 [inline] [] handle_mm_fault+0x1fd1/0x2530 mm/memory.c:3614 [] __do_page_fault+0x5c2/0xd40 arch/x86/mm/fault.c:1407 [] do_page_fault+0x27/0x30 arch/x86/mm/fault.c:1470 [] page_fault+0x28/0x30 arch/x86/entry/entry_64.S:1055 [] vfs_ioctl fs/ioctl.c:43 [inline] [] do_vfs_ioctl+0x1aa/0x1140 fs/ioctl.c:679 [] SYSC_ioctl fs/ioctl.c:694 [inline] [] SyS_ioctl+0x8f/0xc0 fs/ioctl.c:685 [] entry_SYSCALL_64_fastpath+0x29/0xe8