=============================== [ 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.1/32231: #0: (rcu_read_lock_bh){......}, at: [<000000001cbd8607>] ip_finish_output2+0x20b/0x1280 net/ipv4/ip_output.c:198 #1: (rcu_read_lock_bh){......}, at: [<00000000befbd020>] __dev_queue_xmit+0x1d4/0x1bd0 net/core/dev.c:3407 #2: (_xmit_TUNNEL6#2){+.-...}, at: [<000000009ab2ac41>] spin_lock include/linux/spinlock.h:302 [inline] #2: (_xmit_TUNNEL6#2){+.-...}, at: [<000000009ab2ac41>] __netif_tx_lock include/linux/netdevice.h:3573 [inline] #2: (_xmit_TUNNEL6#2){+.-...}, at: [<000000009ab2ac41>] __dev_queue_xmit+0x1116/0x1bd0 net/core/dev.c:3469 #3: (slock-AF_INET){+.-...}, at: [<000000008643e61d>] spin_trylock include/linux/spinlock.h:312 [inline] #3: (slock-AF_INET){+.-...}, at: [<000000008643e61d>] icmp_xmit_lock net/ipv4/icmp.c:220 [inline] #3: (slock-AF_INET){+.-...}, at: [<000000008643e61d>] __icmp_send+0x48b/0x1420 net/ipv4/icmp.c:656 stack backtrace: CPU: 1 PID: 32231 Comm: syz-executor.1 Not tainted 4.9.205-syzkaller #0 ffff8801d2bdedd8 ffffffff81b55e6b ffff8801ce6bdc80 0000000000000000 0000000000000002 00000000000000cd ffff88019c4b2f80 ffff8801d2bdee08 ffffffff81406997 ffff8801ce6bdcd8 ffff8801d2bdef28 ffff8801aa7d3300 Call Trace: [<000000003ce4f44f>] __dump_stack lib/dump_stack.c:15 [inline] [<000000003ce4f44f>] dump_stack+0xcb/0x130 lib/dump_stack.c:56 [<000000000a541a7f>] lockdep_rcu_suspicious.cold+0x10a/0x149 kernel/locking/lockdep.c:4458 [<00000000314e9d30>] __in_dev_get_rcu include/linux/inetdevice.h:205 [inline] [<00000000314e9d30>] fib_compute_spec_dst+0x6c4/0xcc0 net/ipv4/fib_frontend.c:284 [<00000000faeded2c>] __ip_options_echo+0x4be/0x13e0 net/ipv4/ip_options.c:177 [<000000000d57beef>] __icmp_send+0x648/0x1420 net/ipv4/icmp.c:685 [<0000000063ec4622>] ipv4_send_dest_unreach net/ipv4/route.c:1203 [inline] [<0000000063ec4622>] ipv4_link_failure+0x460/0x850 net/ipv4/route.c:1210 [<000000007e412fd6>] dst_link_failure include/net/dst.h:490 [inline] [<000000007e412fd6>] vti6_xmit net/ipv6/ip6_vti.c:522 [inline] [<000000007e412fd6>] vti6_tnl_xmit+0xb08/0x17f0 net/ipv6/ip6_vti.c:561 [<00000000c17cb87e>] __netdev_start_xmit include/linux/netdevice.h:4072 [inline] [<00000000c17cb87e>] netdev_start_xmit include/linux/netdevice.h:4081 [inline] [<00000000c17cb87e>] xmit_one net/core/dev.c:2977 [inline] [<00000000c17cb87e>] dev_hard_start_xmit+0x195/0x8b0 net/core/dev.c:2993 netlink: 8 bytes leftover after parsing attributes in process `syz-executor.0'. [<00000000515fe612>] __dev_queue_xmit+0x11a3/0x1bd0 net/core/dev.c:3473 [<000000005b9b3d12>] dev_queue_xmit+0x18/0x20 net/core/dev.c:3506 [<0000000020cb4eb9>] neigh_direct_output+0x16/0x20 net/core/neighbour.c:1368 [<0000000033de488d>] dst_neigh_output include/net/dst.h:470 [inline] [<0000000033de488d>] ip_finish_output2+0x6a2/0x1280 net/ipv4/ip_output.c:225 [<000000002736a3d2>] ip_finish_output+0x3c4/0xce0 net/ipv4/ip_output.c:313 [<00000000d3ebd9d6>] NF_HOOK_COND include/linux/netfilter.h:246 [inline] [<00000000d3ebd9d6>] ip_output+0x1ec/0x5b0 net/ipv4/ip_output.c:401 [<00000000e7eafb49>] dst_output include/net/dst.h:507 [inline] [<00000000e7eafb49>] NF_HOOK_THRESH include/linux/netfilter.h:232 [inline] [<00000000e7eafb49>] NF_HOOK include/linux/netfilter.h:255 [inline] [<00000000e7eafb49>] raw_send_hdrinc net/ipv4/raw.c:421 [inline] [<00000000e7eafb49>] raw_sendmsg+0x1c5c/0x23e0 net/ipv4/raw.c:643 [<000000000e3e49a0>] inet_sendmsg+0x202/0x4d0 net/ipv4/af_inet.c:766 [<00000000d59b1cb9>] sock_sendmsg_nosec net/socket.c:649 [inline] [<00000000d59b1cb9>] sock_sendmsg+0xbe/0x110 net/socket.c:659 [<000000004169bb34>] sock_write_iter+0x235/0x3d0 net/socket.c:857 [<00000000f005d60f>] new_sync_write fs/read_write.c:498 [inline] [<00000000f005d60f>] __vfs_write+0x3c1/0x560 fs/read_write.c:511 [<0000000021846795>] vfs_write+0x185/0x520 fs/read_write.c:559 [<00000000825c9f1a>] SYSC_write fs/read_write.c:607 [inline] [<00000000825c9f1a>] SyS_write+0x121/0x270 fs/read_write.c:599 [<00000000c43f795a>] do_syscall_64+0x1ad/0x5c0 arch/x86/entry/common.c:288 [<000000002933d220>] entry_SYSCALL_64_after_swapgs+0x5d/0xdb audit: type=1400 audit(1575431030.948:1701): avc: denied { create } for pid=32248 comm="syz-executor.0" 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=0 audit: type=1400 audit(1575431030.997:1702): avc: denied { create } for pid=32248 comm="syz-executor.0" 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=0 audit: type=1400 audit(1575431031.126:1703): avc: denied { create } for pid=32248 comm="syz-executor.0" 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=0 audit: type=1400 audit(1575431031.176:1704): avc: denied { create } for pid=32248 comm="syz-executor.0" 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=0 audit: type=1400 audit(1575431031.702:1705): avc: denied { create } for pid=32273 comm="syz-executor.0" 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=0 audit: type=1400 audit(1575431031.761:1706): avc: denied { create } for pid=32273 comm="syz-executor.0" 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=0 audit: type=1400 audit(1575431031.950:1707): avc: denied { block_suspend } for pid=32278 comm="syz-executor.5" capability=36 scontext=unconfined_u:system_r:insmod_t:s0-s0:c0.c1023 tcontext=unconfined_u:system_r:insmod_t:s0-s0:c0.c1023 tclass=capability2 permissive=0 audit: type=1400 audit(1575431031.999:1708): avc: denied { create } for pid=32278 comm="syz-executor.5" 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=0 SELinux: unrecognized netlink message: protocol=0 nlmsg_type=0 sclass=netlink_route_socket pig=32285 comm=syz-executor.5 audit: type=1400 audit(1575431032.207:1709): avc: denied { block_suspend } for pid=32278 comm="syz-executor.5" capability=36 scontext=unconfined_u:system_r:insmod_t:s0-s0:c0.c1023 tcontext=unconfined_u:system_r:insmod_t:s0-s0:c0.c1023 tclass=capability2 permissive=0 audit: type=1400 audit(1575431032.237:1710): avc: denied { create } for pid=32278 comm="syz-executor.5" 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=0 SELinux: unrecognized netlink message: protocol=0 nlmsg_type=0 sclass=netlink_route_socket pig=32285 comm=syz-executor.5 audit: type=1400 audit(1575431032.941:1711): avc: denied { create } for pid=32312 comm="syz-executor.0" 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=0 audit: type=1400 audit(1575431033.011:1712): avc: denied { create } for pid=32312 comm="syz-executor.0" 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=0 audit: type=1400 audit(1575431033.685:1713): avc: denied { create } for pid=32334 comm="syz-executor.0" 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=0 audit: type=1400 audit(1575431033.695:1714): avc: denied { create } for pid=32334 comm="syz-executor.0" 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=0 audit: type=1400 audit(1575431034.360:1715): avc: denied { create } for pid=32360 comm="syz-executor.0" 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=0 audit: type=1400 audit(1575431034.419:1716): avc: denied { create } for pid=32360 comm="syz-executor.0" 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=0 audit_printk_skb: 6 callbacks suppressed audit: type=1400 audit(1575431038.496:1719): avc: denied { create } for pid=32521 comm="syz-executor.5" 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=0