=============================== [ 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.5/25575: #0: (rcu_read_lock_bh){......}, at: [<000000007daed4ac>] ip_finish_output2+0x20b/0x1280 net/ipv4/ip_output.c:198 #1: (rcu_read_lock_bh){......}, at: [<00000000cf8504be>] __dev_queue_xmit+0x1d4/0x1bd0 net/core/dev.c:3407 #2: (_xmit_TUNNEL6#2){+.-...}, at: [<000000002aec7fb1>] spin_lock include/linux/spinlock.h:302 [inline] #2: (_xmit_TUNNEL6#2){+.-...}, at: [<000000002aec7fb1>] __netif_tx_lock include/linux/netdevice.h:3573 [inline] #2: (_xmit_TUNNEL6#2){+.-...}, at: [<000000002aec7fb1>] __dev_queue_xmit+0x1116/0x1bd0 net/core/dev.c:3469 #3: (slock-AF_INET){+.-...}, at: [<00000000ef88708e>] spin_trylock include/linux/spinlock.h:312 [inline] #3: (slock-AF_INET){+.-...}, at: [<00000000ef88708e>] icmp_xmit_lock net/ipv4/icmp.c:220 [inline] #3: (slock-AF_INET){+.-...}, at: [<00000000ef88708e>] __icmp_send+0x48b/0x1420 net/ipv4/icmp.c:656 stack backtrace: CPU: 0 PID: 25575 Comm: syz-executor.5 Not tainted 4.9.205-syzkaller #0 ffff8801c7b0edd8 ffffffff81b55e6b ffff8801c94e0dc0 0000000000000000 0000000000000002 00000000000000cd ffff8801b319af80 ffff8801c7b0ee08 ffffffff81406997 ffff8801c94e0e18 ffff8801c7b0ef28 ffff8801a8dec400 Call Trace: [<0000000029483b40>] __dump_stack lib/dump_stack.c:15 [inline] [<0000000029483b40>] dump_stack+0xcb/0x130 lib/dump_stack.c:56 [<000000002f1df547>] lockdep_rcu_suspicious.cold+0x10a/0x149 kernel/locking/lockdep.c:4458 [<00000000207e94c9>] __in_dev_get_rcu include/linux/inetdevice.h:205 [inline] [<00000000207e94c9>] fib_compute_spec_dst+0x6c4/0xcc0 net/ipv4/fib_frontend.c:284 [<00000000f6442a04>] __ip_options_echo+0x4be/0x13e0 net/ipv4/ip_options.c:177 [<000000005421a399>] __icmp_send+0x648/0x1420 net/ipv4/icmp.c:685 [<00000000fb66da3e>] ipv4_send_dest_unreach net/ipv4/route.c:1203 [inline] [<00000000fb66da3e>] ipv4_link_failure+0x460/0x850 net/ipv4/route.c:1210 [<000000001f5a2a5b>] dst_link_failure include/net/dst.h:490 [inline] [<000000001f5a2a5b>] vti6_xmit net/ipv6/ip6_vti.c:522 [inline] [<000000001f5a2a5b>] vti6_tnl_xmit+0xb08/0x17f0 net/ipv6/ip6_vti.c:561 [<0000000096b7f87a>] __netdev_start_xmit include/linux/netdevice.h:4072 [inline] [<0000000096b7f87a>] netdev_start_xmit include/linux/netdevice.h:4081 [inline] [<0000000096b7f87a>] xmit_one net/core/dev.c:2977 [inline] [<0000000096b7f87a>] dev_hard_start_xmit+0x195/0x8b0 net/core/dev.c:2993 [<000000006b127aa6>] __dev_queue_xmit+0x11a3/0x1bd0 net/core/dev.c:3473 [<00000000c2ce864b>] dev_queue_xmit+0x18/0x20 net/core/dev.c:3506 [<00000000b39d6318>] neigh_direct_output+0x16/0x20 net/core/neighbour.c:1368 [<00000000ecfce9e5>] dst_neigh_output include/net/dst.h:470 [inline] [<00000000ecfce9e5>] ip_finish_output2+0x6a2/0x1280 net/ipv4/ip_output.c:225 [<00000000121fb8e6>] ip_finish_output+0x3c4/0xce0 net/ipv4/ip_output.c:313 [<00000000e2fceb71>] NF_HOOK_COND include/linux/netfilter.h:246 [inline] [<00000000e2fceb71>] ip_output+0x1ec/0x5b0 net/ipv4/ip_output.c:401 [<000000009e861c66>] dst_output include/net/dst.h:507 [inline] [<000000009e861c66>] NF_HOOK_THRESH include/linux/netfilter.h:232 [inline] [<000000009e861c66>] NF_HOOK include/linux/netfilter.h:255 [inline] [<000000009e861c66>] raw_send_hdrinc net/ipv4/raw.c:421 [inline] [<000000009e861c66>] raw_sendmsg+0x1c5c/0x23e0 net/ipv4/raw.c:643 [<00000000e9220976>] inet_sendmsg+0x202/0x4d0 net/ipv4/af_inet.c:766 [<000000002f97ec44>] sock_sendmsg_nosec net/socket.c:649 [inline] [<000000002f97ec44>] sock_sendmsg+0xbe/0x110 net/socket.c:659 [<0000000032bffde6>] sock_write_iter+0x235/0x3d0 net/socket.c:857 [<0000000066af87ba>] new_sync_write fs/read_write.c:498 [inline] [<0000000066af87ba>] __vfs_write+0x3c1/0x560 fs/read_write.c:511 [<00000000cb120095>] vfs_write+0x185/0x520 fs/read_write.c:559 [<00000000b2c5612d>] SYSC_write fs/read_write.c:607 [inline] [<00000000b2c5612d>] SyS_write+0x121/0x270 fs/read_write.c:599 [<00000000d8408e2c>] do_syscall_64+0x1ad/0x5c0 arch/x86/entry/common.c:288 [<00000000af41399a>] entry_SYSCALL_64_after_swapgs+0x5d/0xdb blk_update_request: I/O error, dev loop2, sector 0 F2FS-fs (loop2): Unable to read 1th superblock blk_update_request: I/O error, dev loop2, sector 8 F2FS-fs (loop2): Unable to read 2th superblock blk_update_request: I/O error, dev loop2, sector 0 F2FS-fs (loop2): Unable to read 1th superblock blk_update_request: I/O error, dev loop2, sector 8 F2FS-fs (loop2): Unable to read 2th superblock audit: type=1400 audit(2000002391.574:1875): avc: denied { prog_load } for pid=25836 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=bpf permissive=0 audit: type=1400 audit(2000002391.764:1876): avc: denied { create } for pid=25836 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(2000002391.974:1877): avc: denied { prog_load } for pid=25836 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=bpf permissive=0 audit: type=1400 audit(2000002392.034:1878): avc: denied { create } for pid=25836 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 SELinux: unrecognized netlink message: protocol=0 nlmsg_type=0 sclass=netlink_route_socket pig=25862 comm=syz-executor.1 audit: type=1400 audit(2000002392.354:1879): avc: denied { prog_load } for pid=25871 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=bpf permissive=0 audit: type=1400 audit(2000002392.624:1880): avc: denied { create } for pid=25871 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