============================= WARNING: suspicious RCU usage 4.14.306-syzkaller #0 Not tainted ----------------------------- net/sched/act_sample.c:95 suspicious rcu_dereference_protected() usage! other info that might help us debug this: rcu_scheduler_active = 2, debug_locks = 1 1 lock held by syz-executor.5/10338: #0: (rtnl_mutex){+.+.}, at: [] rtnl_lock net/core/rtnetlink.c:72 [inline] #0: (rtnl_mutex){+.+.}, at: [] rtnetlink_rcv_msg+0x31d/0xb10 net/core/rtnetlink.c:4317 stack backtrace: CPU: 1 PID: 10338 Comm: syz-executor.5 Not tainted 4.14.306-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/21/2023 Call Trace: __dump_stack lib/dump_stack.c:17 [inline] dump_stack+0x1b2/0x281 lib/dump_stack.c:58 tcf_sample_init+0x71c/0x8c0 net/sched/act_sample.c:95 tcf_action_init_1+0x51a/0x9e0 net/sched/act_api.c:691 tcf_action_init+0x26d/0x400 net/sched/act_api.c:760 tcf_action_add net/sched/act_api.c:1088 [inline] tc_ctl_action+0x2e3/0x510 net/sched/act_api.c:1140 rtnetlink_rcv_msg+0x3be/0xb10 net/core/rtnetlink.c:4322 netlink_rcv_skb+0x125/0x390 net/netlink/af_netlink.c:2461 netlink_unicast_kernel net/netlink/af_netlink.c:1302 [inline] netlink_unicast+0x437/0x610 net/netlink/af_netlink.c:1328 netlink_sendmsg+0x651/0xbc0 net/netlink/af_netlink.c:1900 sock_sendmsg_nosec net/socket.c:646 [inline] sock_sendmsg+0xb5/0x100 net/socket.c:656 ___sys_sendmsg+0x6c8/0x800 net/socket.c:2062 __sys_sendmsg+0xa3/0x120 net/socket.c:2096 SYSC_sendmsg net/socket.c:2107 [inline] SyS_sendmsg+0x27/0x40 net/socket.c:2103 do_syscall_64+0x1d5/0x640 arch/x86/entry/common.c:292 entry_SYSCALL_64_after_hwframe+0x5e/0xd3 RIP: 0033:0x7fdaefb5c0f9 RSP: 002b:00007fdaee0ce168 EFLAGS: 00000246 ORIG_RAX: 000000000000002e RAX: ffffffffffffffda RBX: 00007fdaefc7bf80 RCX: 00007fdaefb5c0f9 RDX: 0000000000000000 RSI: 0000000020002980 RDI: 0000000000000004 RBP: 00007fdaefbb7ae9 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007ffdf7021f2f R14: 00007fdaee0ce300 R15: 0000000000022000 audit: type=1800 audit(1677167559.974:25): pid=10395 uid=0 auid=4294967295 ses=4294967295 op="collect_data" cause="failed(directio)" comm="syz-executor.3" name="file1" dev="sda1" ino=13994 res=0 audit: type=1800 audit(1677167560.974:26): pid=10401 uid=0 auid=4294967295 ses=4294967295 op="collect_data" cause="failed(directio)" comm="syz-executor.0" name="file1" dev="sda1" ino=14004 res=0 nla_parse: 9 callbacks suppressed netlink: 3 bytes leftover after parsing attributes in process `syz-executor.4'. netlink: 3 bytes leftover after parsing attributes in process `syz-executor.3'. audit: type=1800 audit(1677167562.614:27): pid=10419 uid=0 auid=4294967295 ses=4294967295 op="collect_data" cause="failed(directio)" comm="syz-executor.4" name="file1" dev="sda1" ino=14017 res=0 netlink: 28 bytes leftover after parsing attributes in process `syz-executor.5'. netlink: 3 bytes leftover after parsing attributes in process `syz-executor.0'. audit: type=1800 audit(1677167562.624:28): pid=10420 uid=0 auid=4294967295 ses=4294967295 op="collect_data" cause="failed(directio)" comm="syz-executor.3" name="file1" dev="sda1" ino=14018 res=0 netlink: 3 bytes leftover after parsing attributes in process `syz-executor.4'. netlink: 3 bytes leftover after parsing attributes in process `syz-executor.3'. audit: type=1800 audit(1677167563.464:29): pid=10438 uid=0 auid=4294967295 ses=4294967295 op="collect_data" cause="failed(directio)" comm="syz-executor.0" name="file1" dev="sda1" ino=13975 res=0 audit: type=1800 audit(1677167565.054:30): pid=10461 uid=0 auid=4294967295 ses=4294967295 op="collect_data" cause="failed(directio)" comm="syz-executor.4" name="file1" dev="sda1" ino=13975 res=0 audit: type=1800 audit(1677167565.054:31): pid=10460 uid=0 auid=4294967295 ses=4294967295 op="collect_data" cause="failed(directio)" comm="syz-executor.3" name="file1" dev="sda1" ino=13999 res=0 netlink: 3 bytes leftover after parsing attributes in process `syz-executor.0'. audit: type=1800 audit(1677167565.974:32): pid=10476 uid=0 auid=4294967295 ses=4294967295 op="collect_data" cause="failed(directio)" comm="syz-executor.0" name="file1" dev="sda1" ino=13975 res=0 REISERFS warning (device loop2): super-6506 reiserfs_getopt: bad value "hashed_relocation=barrier=flush" for option "block-allocator" netlink: 3 bytes leftover after parsing attributes in process `syz-executor.4'. audit: type=1800 audit(1677167566.254:33): pid=10503 uid=0 auid=4294967295 ses=4294967295 op="collect_data" cause="failed(directio)" comm="syz-executor.4" name="file1" dev="sda1" ino=14039 res=0 REISERFS warning (device loop2): super-6506 reiserfs_getopt: bad value "hashed_relocation=barrier=flush" for option "block-allocator" ntfs: volume version 3.1. F2FS-fs (loop0): Mismatch start address, segment0(512) cp_blkaddr(605) ntfs: volume version 3.1. REISERFS warning (device loop2): super-6506 reiserfs_getopt: bad value "hashed_relocation=barrier=flush" for option "block-allocator" F2FS-fs (loop0): Can't find valid F2FS filesystem in 1th superblock F2FS-fs (loop0): invalid crc value F2FS-fs (loop0): Found nat_bits in checkpoint F2FS-fs (loop0): Mounted with checkpoint version = 753bd00b REISERFS warning (device loop2): super-6506 reiserfs_getopt: bad value "hashed_relocation=barrier=flush" for option "block-allocator" ntfs: volume version 3.1. mkiss: ax0: crc mode is auto. mkiss: ax0: crc mode is auto. XFS (loop4): Superblock has unknown read-only compatible features (0x8) enabled. XFS (loop4): Attempted to mount read-only compatible filesystem read-write. XFS (loop4): Filesystem can only be safely mounted read only. XFS (loop4): SB validate failed with error -22. mkiss: ax0: crc mode is auto. ntfs: volume version 3.1. mkiss: ax0: crc mode is auto. ubi0: attaching mtd0 ubi0: scanning is finished ubi0: empty MTD device detected bridge0: port 2(bridge_slave_1) entered disabled state bridge0: port 1(bridge_slave_0) entered disabled state