device bridge11 entered promiscuous mode device bridge11 left promiscuous mode audit: type=1804 audit(1674118930.957:16115): pid=3929 uid=0 auid=4294967295 ses=4294967295 subj==unconfined op=invalid_pcr cause=open_writers comm="syz-executor.4" name="cgroup.controllers" dev="sda1" ino=14353 res=1 ============================================ WARNING: possible recursive locking detected 4.19.211-syzkaller #0 Not tainted -------------------------------------------- syz-executor.0/3881 is trying to acquire lock: 00000000e257b411 (&(&bond->stats_lock)->rlock#3/3){+.+.}, at: bond_get_stats+0xca/0x500 drivers/net/bonding/bond_main.c:3492 but task is already holding lock: 0000000033c62387 (&(&bond->stats_lock)->rlock#3/3){+.+.}, at: bond_get_stats+0xca/0x500 drivers/net/bonding/bond_main.c:3492 other info that might help us debug this: Possible unsafe locking scenario: CPU0 ---- lock(&(&bond->stats_lock)->rlock#3/3); lock(&(&bond->stats_lock)->rlock#3/3); *** DEADLOCK *** May be due to missing lock nesting notation 3 locks held by syz-executor.0/3881: #0: 00000000a2d31450 (rtnl_mutex){+.+.}, at: rtnl_lock net/core/rtnetlink.c:77 [inline] #0: 00000000a2d31450 (rtnl_mutex){+.+.}, at: rtnetlink_rcv_msg+0x3fe/0xb80 net/core/rtnetlink.c:4779 #1: 0000000033c62387 (&(&bond->stats_lock)->rlock#3/3){+.+.}, at: bond_get_stats+0xca/0x500 drivers/net/bonding/bond_main.c:3492 #2: 00000000ca07398b (rcu_read_lock){....}, at: bond_get_nest_level drivers/net/bonding/bond_main.c:3481 [inline] #2: 00000000ca07398b (rcu_read_lock){....}, at: bond_get_stats+0xae/0x500 drivers/net/bonding/bond_main.c:3492 stack backtrace: CPU: 1 PID: 3881 Comm: syz-executor.0 Not tainted 4.19.211-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/12/2023 Call Trace: __dump_stack lib/dump_stack.c:77 [inline] dump_stack+0x1fc/0x2ef lib/dump_stack.c:118 print_deadlock_bug kernel/locking/lockdep.c:1764 [inline] check_deadlock kernel/locking/lockdep.c:1808 [inline] validate_chain kernel/locking/lockdep.c:2404 [inline] __lock_acquire.cold+0x121/0x57e kernel/locking/lockdep.c:3416 lock_acquire+0x170/0x3c0 kernel/locking/lockdep.c:3908 REISERFS (device loop2): found reiserfs format "3.5" with non-standard journal _raw_spin_lock_nested+0x30/0x40 kernel/locking/spinlock.c:354 bond_get_stats+0xca/0x500 drivers/net/bonding/bond_main.c:3492 REISERFS (device loop2): using ordered data mode dev_get_stats+0xa5/0x2b0 net/core/dev.c:9061 bond_get_stats+0x20f/0x500 drivers/net/bonding/bond_main.c:3498 dev_get_stats+0xa5/0x2b0 net/core/dev.c:9061 rtnl_fill_stats+0x48/0xa90 net/core/rtnetlink.c:1176 rtnl_fill_ifinfo+0xf8e/0x36d0 net/core/rtnetlink.c:1663 rtmsg_ifinfo_build_skb+0xcd/0x1a0 net/core/rtnetlink.c:3357 reiserfs: using flush barriers rtmsg_ifinfo_event net/core/rtnetlink.c:3389 [inline] rtmsg_ifinfo_event net/core/rtnetlink.c:3380 [inline] rtnetlink_event+0x123/0x1d0 net/core/rtnetlink.c:4833 notifier_call_chain+0xc0/0x230 kernel/notifier.c:93 call_netdevice_notifiers net/core/dev.c:1762 [inline] netdev_features_change net/core/dev.c:1330 [inline] netdev_change_features+0x7e/0xb0 net/core/dev.c:8490 bond_compute_features+0x476/0x8c0 drivers/net/bonding/bond_main.c:1116 bond_slave_netdev_event drivers/net/bonding/bond_main.c:3226 [inline] bond_netdev_event+0xa96/0xe50 drivers/net/bonding/bond_main.c:3267 REISERFS (device loop2): journal params: device loop2, size 512, journal first block 18, max trans len 256, max batch 225, max commit age 30, max trans age 30 notifier_call_chain+0xc0/0x230 kernel/notifier.c:93 call_netdevice_notifiers net/core/dev.c:1762 [inline] netdev_features_change net/core/dev.c:1330 [inline] netdev_change_features+0x7e/0xb0 net/core/dev.c:8490 bond_compute_features+0x476/0x8c0 drivers/net/bonding/bond_main.c:1116 bond_enslave+0x3dc9/0x5250 drivers/net/bonding/bond_main.c:1780 do_set_master+0x1c8/0x220 net/core/rtnetlink.c:2321 rtnl_newlink+0x1279/0x15c0 net/core/rtnetlink.c:3170 REISERFS (device loop2): checking transaction log (loop2) rtnetlink_rcv_msg+0x453/0xb80 net/core/rtnetlink.c:4782 netlink_rcv_skb+0x160/0x440 net/netlink/af_netlink.c:2463 netlink_unicast_kernel net/netlink/af_netlink.c:1325 [inline] netlink_unicast+0x4d5/0x690 net/netlink/af_netlink.c:1351 netlink_sendmsg+0x6c3/0xc50 net/netlink/af_netlink.c:1917 sock_sendmsg_nosec net/socket.c:651 [inline] sock_sendmsg+0xc3/0x120 net/socket.c:661 ___sys_sendmsg+0x7bb/0x8e0 net/socket.c:2227 __sys_sendmsg net/socket.c:2265 [inline] __do_sys_sendmsg net/socket.c:2274 [inline] __se_sys_sendmsg net/socket.c:2272 [inline] __x64_sys_sendmsg+0x132/0x220 net/socket.c:2272 do_syscall_64+0xf9/0x620 arch/x86/entry/common.c:293 entry_SYSCALL_64_after_hwframe+0x49/0xbe RIP: 0033:0x7fb16c8df0c9 Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 f1 19 00 00 90 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 b8 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007fb16adee168 EFLAGS: 00000246 ORIG_RAX: 000000000000002e RAX: ffffffffffffffda RBX: 00007fb16c9ff1f0 RCX: 00007fb16c8df0c9 RDX: 0000000000000000 RSI: 0000000020000240 RDI: 0000000000000005 RBP: 00007fb16c93aae9 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007ffd639a7e0f R14: 00007fb16adee300 R15: 0000000000022000 bond6: making interface vlan3 the new active one device bridge11 entered promiscuous mode bond6: Enslaving vlan3 as an active interface with an up link platform regulatory.0: Direct firmware load for regulatory.db failed with error -2 REISERFS (device loop2): Using r5 hash to sort names REISERFS (device loop2): using 3.5.x disk format REISERFS (device loop2): Created .reiserfs_priv - reserved for xattr storage. overlayfs: failed to clone upperpath netlink: 'syz-executor.0': attribute type 1 has an invalid length. platform regulatory.0: Direct firmware load for regulatory.db failed with error -2 8021q: adding VLAN 0 to HW filter on device bond7 bond0: Enslaving bond7 as an active interface with an up link device bridge12 entered promiscuous mode device bridge12 left promiscuous mode bond7: making interface vlan4 the new active one device bridge12 entered promiscuous mode bond7: Enslaving vlan4 as an active interface with an up link REISERFS (device loop2): found reiserfs format "3.5" with non-standard journal REISERFS (device loop2): using ordered data mode netlink: 'syz-executor.0': attribute type 1 has an invalid length. platform regulatory.0: Direct firmware load for regulatory.db failed with error -2 reiserfs: using flush barriers REISERFS (device loop2): journal params: device loop2, size 512, journal first block 18, max trans len 256, max batch 225, max commit age 30, max trans age 30 REISERFS (device loop2): checking transaction log (loop2) 8021q: adding VLAN 0 to HW filter on device bond8 bond0: Enslaving bond8 as an active interface with an up link device bridge13 entered promiscuous mode device bridge13 left promiscuous mode REISERFS (device loop2): Using r5 hash to sort names bond8: making interface vlan5 the new active one REISERFS (device loop2): using 3.5.x disk format REISERFS (device loop2): Created .reiserfs_priv - reserved for xattr storage. device bridge13 entered promiscuous mode bond8: Enslaving vlan5 as an active interface with an up link platform regulatory.0: Direct firmware load for regulatory.db failed with error -2 netlink: 'syz-executor.0': attribute type 1 has an invalid length. 8021q: adding VLAN 0 to HW filter on device bond9 bond0: Enslaving bond9 as an active interface with an up link device bridge14 entered promiscuous mode device bridge14 left promiscuous mode bond9: making interface vlan6 the new active one device bridge14 entered promiscuous mode bond9: Enslaving vlan6 as an active interface with an up link REISERFS (device loop2): found reiserfs format "3.5" with non-standard journal REISERFS (device loop2): using ordered data mode reiserfs: using flush barriers REISERFS (device loop2): journal params: device loop2, size 512, journal first block 18, max trans len 256, max batch 225, max commit age 30, max trans age 30 REISERFS (device loop2): checking transaction log (loop2) REISERFS (device loop2): Using r5 hash to sort names REISERFS (device loop2): using 3.5.x disk format REISERFS (device loop2): Created .reiserfs_priv - reserved for xattr storage. platform regulatory.0: Direct firmware load for regulatory.db failed with error -2 platform regulatory.0: Direct firmware load for regulatory.db failed with error -2 platform regulatory.0: Direct firmware load for regulatory.db failed with error -2 REISERFS (device loop2): found reiserfs format "3.5" with non-standard journal REISERFS (device loop2): using ordered data mode reiserfs: using flush barriers REISERFS (device loop2): journal params: device loop2, size 512, journal first block 18, max trans len 256, max batch 225, max commit age 30, max trans age 30 platform regulatory.0: Direct firmware load for regulatory.db failed with error -2 REISERFS (device loop2): checking transaction log (loop2) REISERFS (device loop2): Using r5 hash to sort names REISERFS (device loop2): using 3.5.x disk format REISERFS (device loop2): Created .reiserfs_priv - reserved for xattr storage. platform regulatory.0: Direct firmware load for regulatory.db failed with error -2 platform regulatory.0: Direct firmware load for regulatory.db failed with error -2 platform regulatory.0: Direct firmware load for regulatory.db failed with error -2 platform regulatory.0: Direct firmware load for regulatory.db failed with error -2 caif:caif_disconnect_client(): nothing to disconnect IPVS: ftp: loaded support on port[0] = 21 IPVS: ftp: loaded support on port[0] = 21 audit: type=1800 audit(1674118940.117:16116): pid=4304 uid=0 auid=4294967295 ses=4294967295 subj==unconfined op=collect_data cause=failed(directio) comm="syz-executor.3" name="file1" dev="sda1" ino=15048 res=0