=============================== [ INFO: suspicious RCU usage. ] 4.9.205-syzkaller #0 Not tainted ------------------------------- include/linux/inetdevice.h:205 suspicious rcu_dereference_check() usage! other info that might help us debug this: rcu_scheduler_active = 2, debug_locks = 0 4 locks held by syz-executor.3/2568: #0: (rcu_read_lock_bh){......}, at: [<00000000d465a062>] ip_finish_output2+0x20b/0x1280 net/ipv4/ip_output.c:198 #1: (rcu_read_lock_bh){......}, at: [<0000000024bbc97f>] __dev_queue_xmit+0x1d4/0x1bd0 net/core/dev.c:3407 #2: (_xmit_TUNNEL6#2){+.-...}, at: [<00000000fa9e0120>] spin_lock include/linux/spinlock.h:302 [inline] #2: (_xmit_TUNNEL6#2){+.-...}, at: [<00000000fa9e0120>] __netif_tx_lock include/linux/netdevice.h:3573 [inline] #2: (_xmit_TUNNEL6#2){+.-...}, at: [<00000000fa9e0120>] __dev_queue_xmit+0x1116/0x1bd0 net/core/dev.c:3469 #3: (slock-AF_INET){+.-...}, at: [<0000000073aad515>] spin_trylock include/linux/spinlock.h:312 [inline] #3: (slock-AF_INET){+.-...}, at: [<0000000073aad515>] icmp_xmit_lock net/ipv4/icmp.c:220 [inline] #3: (slock-AF_INET){+.-...}, at: [<0000000073aad515>] __icmp_send+0x48b/0x1420 net/ipv4/icmp.c:656 stack backtrace: CPU: 0 PID: 2568 Comm: syz-executor.3 Not tainted 4.9.205-syzkaller #0 ffff88016c0eedd8 ffffffff81b55e6b ffff880176019140 0000000000000000 0000000000000002 00000000000000cd ffff88017c8fc740 ffff88016c0eee08 ffffffff81406997 ffff880176019198 ffff88016c0eef28 ffff8801a30d1100 Call Trace: [<00000000f0746f1d>] __dump_stack lib/dump_stack.c:15 [inline] [<00000000f0746f1d>] dump_stack+0xcb/0x130 lib/dump_stack.c:56 [<00000000d4d40170>] lockdep_rcu_suspicious.cold+0x10a/0x149 kernel/locking/lockdep.c:4458 [<000000005be83ed1>] __in_dev_get_rcu include/linux/inetdevice.h:205 [inline] [<000000005be83ed1>] fib_compute_spec_dst+0x6c4/0xcc0 net/ipv4/fib_frontend.c:284 [<00000000043254e3>] __ip_options_echo+0x4be/0x13e0 net/ipv4/ip_options.c:177 [<000000000aca3967>] __icmp_send+0x648/0x1420 net/ipv4/icmp.c:685 [<00000000655526cf>] ipv4_send_dest_unreach net/ipv4/route.c:1203 [inline] [<00000000655526cf>] ipv4_link_failure+0x460/0x850 net/ipv4/route.c:1210 [<000000001b6d91aa>] dst_link_failure include/net/dst.h:490 [inline] [<000000001b6d91aa>] vti6_xmit net/ipv6/ip6_vti.c:522 [inline] [<000000001b6d91aa>] vti6_tnl_xmit+0xb08/0x17f0 net/ipv6/ip6_vti.c:561 [<000000007070bc57>] __netdev_start_xmit include/linux/netdevice.h:4072 [inline] [<000000007070bc57>] netdev_start_xmit include/linux/netdevice.h:4081 [inline] [<000000007070bc57>] xmit_one net/core/dev.c:2977 [inline] [<000000007070bc57>] dev_hard_start_xmit+0x195/0x8b0 net/core/dev.c:2993 [<00000000235eb53a>] __dev_queue_xmit+0x11a3/0x1bd0 net/core/dev.c:3473 [<0000000046f2b405>] dev_queue_xmit+0x18/0x20 net/core/dev.c:3506 [<00000000fdfd9ddd>] neigh_direct_output+0x16/0x20 net/core/neighbour.c:1368 [<00000000090a1345>] dst_neigh_output include/net/dst.h:470 [inline] [<00000000090a1345>] ip_finish_output2+0x6a2/0x1280 net/ipv4/ip_output.c:225 [<0000000067533d42>] ip_finish_output+0x3c4/0xce0 net/ipv4/ip_output.c:313 [<00000000c6feb080>] NF_HOOK_COND include/linux/netfilter.h:246 [inline] [<00000000c6feb080>] ip_output+0x1ec/0x5b0 net/ipv4/ip_output.c:401 [<00000000248cbc29>] dst_output include/net/dst.h:507 [inline] [<00000000248cbc29>] NF_HOOK_THRESH include/linux/netfilter.h:232 [inline] [<00000000248cbc29>] NF_HOOK include/linux/netfilter.h:255 [inline] [<00000000248cbc29>] raw_send_hdrinc net/ipv4/raw.c:421 [inline] [<00000000248cbc29>] raw_sendmsg+0x1c5c/0x23e0 net/ipv4/raw.c:643 [<00000000604c37c8>] inet_sendmsg+0x202/0x4d0 net/ipv4/af_inet.c:766 [<000000006577e4d8>] sock_sendmsg_nosec net/socket.c:649 [inline] [<000000006577e4d8>] sock_sendmsg+0xbe/0x110 net/socket.c:659 [<000000008475f552>] sock_write_iter+0x235/0x3d0 net/socket.c:857 [<0000000005015bb7>] new_sync_write fs/read_write.c:498 [inline] [<0000000005015bb7>] __vfs_write+0x3c1/0x560 fs/read_write.c:511 [<0000000074c174c2>] vfs_write+0x185/0x520 fs/read_write.c:559 [<000000005400d669>] SYSC_write fs/read_write.c:607 [inline] [<000000005400d669>] SyS_write+0x121/0x270 fs/read_write.c:599 [<00000000baae1cc2>] do_syscall_64+0x1ad/0x5c0 arch/x86/entry/common.c:288 [<00000000000bd4f4>] entry_SYSCALL_64_after_swapgs+0x5d/0xdb SELinux: unrecognized netlink message: protocol=0 nlmsg_type=57122 sclass=netlink_route_socket pig=2577 comm=syz-executor.2 SELinux: unrecognized netlink message: protocol=0 nlmsg_type=57122 sclass=netlink_route_socket pig=2603 comm=syz-executor.2 SELinux: unrecognized netlink message: protocol=0 nlmsg_type=57122 sclass=netlink_route_socket pig=2619 comm=syz-executor.2 SELinux: unrecognized netlink message: protocol=0 nlmsg_type=57122 sclass=netlink_route_socket pig=2719 comm=syz-executor.2 SELinux: unrecognized netlink message: protocol=0 nlmsg_type=57122 sclass=netlink_route_socket pig=2744 comm=syz-executor.2 SELinux: unrecognized netlink message: protocol=0 nlmsg_type=57122 sclass=netlink_route_socket pig=2791 comm=syz-executor.2 device lo entered promiscuous mode SELinux: unrecognized netlink message: protocol=0 nlmsg_type=57122 sclass=netlink_route_socket pig=2848 comm=syz-executor.2 SELinux: unrecognized netlink message: protocol=0 nlmsg_type=57122 sclass=netlink_route_socket pig=2886 comm=syz-executor.2 device lo left promiscuous mode SELinux: unrecognized netlink message: protocol=0 nlmsg_type=57122 sclass=netlink_route_socket pig=2918 comm=syz-executor.2 SELinux: unrecognized netlink message: protocol=0 nlmsg_type=57122 sclass=netlink_route_socket pig=2961 comm=syz-executor.2 SELinux: unrecognized netlink message: protocol=0 nlmsg_type=57122 sclass=netlink_route_socket pig=3004 comm=syz-executor.2 SELinux: unrecognized netlink message: protocol=0 nlmsg_type=57122 sclass=netlink_route_socket pig=3081 comm=syz-executor.2 SELinux: unrecognized netlink message: protocol=0 nlmsg_type=57122 sclass=netlink_route_socket pig=3110 comm=syz-executor.2 SELinux: unrecognized netlink message: protocol=0 nlmsg_type=57122 sclass=netlink_route_socket pig=3142 comm=syz-executor.2 SELinux: unrecognized netlink message: protocol=0 nlmsg_type=57122 sclass=netlink_route_socket pig=3198 comm=syz-executor.2 SELinux: unrecognized netlink message: protocol=0 nlmsg_type=57122 sclass=netlink_route_socket pig=3216 comm=syz-executor.2 SELinux: unrecognized netlink message: protocol=0 nlmsg_type=26270 sclass=netlink_route_socket pig=3248 comm=syz-executor.2 SELinux: unrecognized netlink message: protocol=0 nlmsg_type=26270 sclass=netlink_route_socket pig=3271 comm=syz-executor.2 audit: type=1400 audit(1575189181.338:18): avc: denied { ioctl } for pid=3338 comm="syz-executor.0" path="socket:[89316]" dev="sockfs" ino=89316 ioctlcmd=0x9409 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