Title | Replies (including bot) | Last reply |
---|---|---|
[syzbot] [wireless?] possible deadlock in ieee80211_open | 1 (2) | 2024/03/28 22:37 |
syzbot |
sign-in | mailing list | source | docs |
Title | Replies (including bot) | Last reply |
---|---|---|
[syzbot] [wireless?] possible deadlock in ieee80211_open | 1 (2) | 2024/03/28 22:37 |
validate_nla: 3 callbacks suppressed netlink: 'syz.1.2120': attribute type 10 has an invalid length. ====================================================== WARNING: possible circular locking dependency detected 6.10.0-syzkaller-04473-g0e03c643dc93 #0 Not tainted ------------------------------------------------------ syz.1.2120/11446 is trying to acquire lock: ffff888060a90768 (&rdev->wiphy.mtx){+.+.}-{3:3}, at: wiphy_lock include/net/cfg80211.h:6014 [inline] ffff888060a90768 (&rdev->wiphy.mtx){+.+.}-{3:3}, at: ieee80211_open+0xe7/0x200 net/mac80211/iface.c:449 but task is already holding lock: ffff888068d2cd40 (team->team_lock_key#3){+.+.}-{3:3}, at: team_add_slave+0xad/0x2760 drivers/net/team/team_core.c:1975 which lock already depends on the new lock. the existing dependency chain (in reverse order) is: -> #1 (team->team_lock_key#3){+.+.}-{3:3}: lock_acquire+0x1ed/0x550 kernel/locking/lockdep.c:5753 __mutex_lock_common kernel/locking/mutex.c:608 [inline] __mutex_lock+0x136/0xd70 kernel/locking/mutex.c:752 team_port_change_check+0x51/0x1e0 drivers/net/team/team_core.c:2950 team_device_event+0x161/0x5b0 drivers/net/team/team_core.c:2976 notifier_call_chain+0x19f/0x3e0 kernel/notifier.c:93 call_netdevice_notifiers_extack net/core/dev.c:2032 [inline] call_netdevice_notifiers net/core/dev.c:2046 [inline] dev_close_many+0x33c/0x4c0 net/core/dev.c:1587 unregister_netdevice_many_notify+0x50b/0x1c40 net/core/dev.c:11318 macvlan_device_event+0x7e0/0x870 drivers/net/macvlan.c:1828 notifier_call_chain+0x19f/0x3e0 kernel/notifier.c:93 call_netdevice_notifiers_extack net/core/dev.c:2032 [inline] call_netdevice_notifiers net/core/dev.c:2046 [inline] unregister_netdevice_many_notify+0xd81/0x1c40 net/core/dev.c:11343 unregister_netdevice_many net/core/dev.c:11405 [inline] unregister_netdevice_queue+0x303/0x370 net/core/dev.c:11280 unregister_netdevice include/linux/netdevice.h:3129 [inline] _cfg80211_unregister_wdev+0x162/0x560 net/wireless/core.c:1211 ieee80211_remove_interfaces+0x4db/0x700 net/mac80211/iface.c:2287 ieee80211_unregister_hw+0x5d/0x2c0 net/mac80211/main.c:1669 mac80211_hwsim_del_radio+0x2c4/0x4c0 drivers/net/wireless/virtual/mac80211_hwsim.c:5625 hwsim_del_radio_nl+0x5bd/0x600 drivers/net/wireless/virtual/mac80211_hwsim.c:6247 genl_family_rcv_msg_doit net/netlink/genetlink.c:1115 [inline] genl_family_rcv_msg net/netlink/genetlink.c:1195 [inline] genl_rcv_msg+0xb14/0xec0 net/netlink/genetlink.c:1210 netlink_rcv_skb+0x1e3/0x430 net/netlink/af_netlink.c:2550 genl_rcv+0x28/0x40 net/netlink/genetlink.c:1219 netlink_unicast_kernel net/netlink/af_netlink.c:1331 [inline] netlink_unicast+0x7f0/0x990 net/netlink/af_netlink.c:1357 netlink_sendmsg+0x8e4/0xcb0 net/netlink/af_netlink.c:1901 sock_sendmsg_nosec net/socket.c:730 [inline] __sock_sendmsg+0x221/0x270 net/socket.c:745 ____sys_sendmsg+0x525/0x7d0 net/socket.c:2597 ___sys_sendmsg net/socket.c:2651 [inline] __sys_sendmsg+0x2b0/0x3a0 net/socket.c:2680 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0xf3/0x230 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x77/0x7f -> #0 (&rdev->wiphy.mtx){+.+.}-{3:3}: check_prev_add kernel/locking/lockdep.c:3133 [inline] check_prevs_add kernel/locking/lockdep.c:3252 [inline] validate_chain+0x18e0/0x5900 kernel/locking/lockdep.c:3868 __lock_acquire+0x1346/0x1fd0 kernel/locking/lockdep.c:5136 lock_acquire+0x1ed/0x550 kernel/locking/lockdep.c:5753 __mutex_lock_common kernel/locking/mutex.c:608 [inline] __mutex_lock+0x136/0xd70 kernel/locking/mutex.c:752 wiphy_lock include/net/cfg80211.h:6014 [inline] ieee80211_open+0xe7/0x200 net/mac80211/iface.c:449 __dev_open+0x2d3/0x450 net/core/dev.c:1474 dev_open+0xae/0x1b0 net/core/dev.c:1510 team_port_add drivers/net/team/team_core.c:1216 [inline] team_add_slave+0x9c8/0x2760 drivers/net/team/team_core.c:1976 do_set_master net/core/rtnetlink.c:2701 [inline] do_setlink+0xe70/0x41f0 net/core/rtnetlink.c:2907 __rtnl_newlink net/core/rtnetlink.c:3696 [inline] rtnl_newlink+0x180d/0x20a0 net/core/rtnetlink.c:3743 rtnetlink_rcv_msg+0x73f/0xcf0 net/core/rtnetlink.c:6647 netlink_rcv_skb+0x1e3/0x430 net/netlink/af_netlink.c:2550 netlink_unicast_kernel net/netlink/af_netlink.c:1331 [inline] netlink_unicast+0x7f0/0x990 net/netlink/af_netlink.c:1357 netlink_sendmsg+0x8e4/0xcb0 net/netlink/af_netlink.c:1901 sock_sendmsg_nosec net/socket.c:730 [inline] __sock_sendmsg+0x221/0x270 net/socket.c:745 ____sys_sendmsg+0x525/0x7d0 net/socket.c:2597 ___sys_sendmsg net/socket.c:2651 [inline] __sys_sendmsg+0x2b0/0x3a0 net/socket.c:2680 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0xf3/0x230 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x77/0x7f other info that might help us debug this: Possible unsafe locking scenario: CPU0 CPU1 ---- ---- lock(team->team_lock_key#3); lock(&rdev->wiphy.mtx); lock(team->team_lock_key#3); lock(&rdev->wiphy.mtx); *** DEADLOCK *** 2 locks held by syz.1.2120/11446: #0: ffffffff8f5f1788 (rtnl_mutex){+.+.}-{3:3}, at: rtnl_lock net/core/rtnetlink.c:79 [inline] #0: ffffffff8f5f1788 (rtnl_mutex){+.+.}-{3:3}, at: rtnetlink_rcv_msg+0x6e6/0xcf0 net/core/rtnetlink.c:6644 #1: ffff888068d2cd40 (team->team_lock_key#3){+.+.}-{3:3}, at: team_add_slave+0xad/0x2760 drivers/net/team/team_core.c:1975 stack backtrace: CPU: 0 PID: 11446 Comm: syz.1.2120 Not tainted 6.10.0-syzkaller-04473-g0e03c643dc93 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 06/07/2024 Call Trace: <TASK> __dump_stack lib/dump_stack.c:88 [inline] dump_stack_lvl+0x241/0x360 lib/dump_stack.c:114 check_noncircular+0x36a/0x4a0 kernel/locking/lockdep.c:2186 check_prev_add kernel/locking/lockdep.c:3133 [inline] check_prevs_add kernel/locking/lockdep.c:3252 [inline] validate_chain+0x18e0/0x5900 kernel/locking/lockdep.c:3868 __lock_acquire+0x1346/0x1fd0 kernel/locking/lockdep.c:5136 lock_acquire+0x1ed/0x550 kernel/locking/lockdep.c:5753 __mutex_lock_common kernel/locking/mutex.c:608 [inline] __mutex_lock+0x136/0xd70 kernel/locking/mutex.c:752 wiphy_lock include/net/cfg80211.h:6014 [inline] ieee80211_open+0xe7/0x200 net/mac80211/iface.c:449 __dev_open+0x2d3/0x450 net/core/dev.c:1474 dev_open+0xae/0x1b0 net/core/dev.c:1510 team_port_add drivers/net/team/team_core.c:1216 [inline] team_add_slave+0x9c8/0x2760 drivers/net/team/team_core.c:1976 do_set_master net/core/rtnetlink.c:2701 [inline] do_setlink+0xe70/0x41f0 net/core/rtnetlink.c:2907 __rtnl_newlink net/core/rtnetlink.c:3696 [inline] rtnl_newlink+0x180d/0x20a0 net/core/rtnetlink.c:3743 rtnetlink_rcv_msg+0x73f/0xcf0 net/core/rtnetlink.c:6647 netlink_rcv_skb+0x1e3/0x430 net/netlink/af_netlink.c:2550 netlink_unicast_kernel net/netlink/af_netlink.c:1331 [inline] netlink_unicast+0x7f0/0x990 net/netlink/af_netlink.c:1357 netlink_sendmsg+0x8e4/0xcb0 net/netlink/af_netlink.c:1901 sock_sendmsg_nosec net/socket.c:730 [inline] __sock_sendmsg+0x221/0x270 net/socket.c:745 ____sys_sendmsg+0x525/0x7d0 net/socket.c:2597 ___sys_sendmsg net/socket.c:2651 [inline] __sys_sendmsg+0x2b0/0x3a0 net/socket.c:2680 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0xf3/0x230 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7fb27e775a99 Code: ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 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 a8 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007fb27f585048 EFLAGS: 00000246 ORIG_RAX: 000000000000002e RAX: ffffffffffffffda RBX: 00007fb27e903f60 RCX: 00007fb27e775a99 RDX: 0000000000000000 RSI: 0000000020000600 RDI: 0000000000000003 RBP: 00007fb27e7e4e5d R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000004d R14: 00007fb27e903f60 R15: 00007ffe8a0bbfe8 </TASK> mac80211_hwsim hwsim6 wlan1: entered promiscuous mode team0: Port device wlan1 added
Time | Kernel | Commit | Syzkaller | Config | Log | Report | Syz repro | C repro | VM info | Assets (help?) | Manager | Title |
---|---|---|---|---|---|---|---|---|---|---|---|---|
2024/07/18 05:02 | net | 0e03c643dc93 | 03114f55 | .config | console log | report | info | [disk image] [vmlinux] [kernel image] | ci-upstream-net-this-kasan-gce | possible deadlock in ieee80211_open | ||
2024/07/17 22:53 | net | 0e03c643dc93 | 03114f55 | .config | console log | report | info | [disk image] [vmlinux] [kernel image] | ci-upstream-net-this-kasan-gce | possible deadlock in ieee80211_open | ||
2024/07/17 21:55 | net | 0e03c643dc93 | 03114f55 | .config | console log | report | info | [disk image] [vmlinux] [kernel image] | ci-upstream-net-this-kasan-gce | possible deadlock in ieee80211_open | ||
2024/07/05 04:02 | net | e367197166a0 | dc6bbff0 | .config | console log | report | info | [disk image] [vmlinux] [kernel image] | ci-upstream-net-this-kasan-gce | possible deadlock in ieee80211_open | ||
2024/07/01 20:34 | net | 66be40e622e1 | b294e901 | .config | console log | report | info | [disk image] [vmlinux] [kernel image] | ci-upstream-net-this-kasan-gce | possible deadlock in ieee80211_open | ||
2024/06/21 13:16 | net | d5a7fc58da03 | dac2aa43 | .config | console log | report | info | [disk image] [vmlinux] [kernel image] | ci-upstream-net-this-kasan-gce | possible deadlock in ieee80211_open | ||
2024/09/10 03:03 | net-next | bfba7bc8b7c2 | dd9c7e97 | .config | console log | report | info | [disk image] [vmlinux] [kernel image] | ci-upstream-net-kasan-gce | possible deadlock in ieee80211_open | ||
2024/08/12 19:20 | net-next | f547e956dd84 | 7b0f4b46 | .config | console log | report | info | [disk image] [vmlinux] [kernel image] | ci-upstream-net-kasan-gce | possible deadlock in ieee80211_open | ||
2024/08/09 07:53 | net-next | 91d516d4de48 | 61405512 | .config | console log | report | info | [disk image] [vmlinux] [kernel image] | ci-upstream-net-kasan-gce | possible deadlock in ieee80211_open | ||
2024/08/08 06:31 | net-next | e66f33bdf0c3 | de12cf65 | .config | console log | report | info | [disk image] [vmlinux] [kernel image] | ci-upstream-net-kasan-gce | possible deadlock in ieee80211_open | ||
2024/08/06 05:39 | net-next | eec9de035410 | e1bdb00a | .config | console log | report | info | [disk image] [vmlinux] [kernel image] | ci-upstream-net-kasan-gce | possible deadlock in ieee80211_open | ||
2024/08/04 17:21 | net-next | 83044bf90e08 | 1786a2a8 | .config | console log | report | info | [disk image] [vmlinux] [kernel image] | ci-upstream-net-kasan-gce | possible deadlock in ieee80211_open | ||
2024/07/30 23:44 | net-next | 1722389b0d86 | a4e01e1e | .config | console log | report | info | [disk image] [vmlinux] [kernel image] | ci-upstream-net-kasan-gce | possible deadlock in ieee80211_open | ||
2024/07/30 08:27 | net-next | 1722389b0d86 | a4e01e1e | .config | console log | report | info | [disk image] [vmlinux] [kernel image] | ci-upstream-net-kasan-gce | possible deadlock in ieee80211_open | ||
2024/07/30 05:25 | net-next | 1722389b0d86 | 5187fc86 | .config | console log | report | info | [disk image] [vmlinux] [kernel image] | ci-upstream-net-kasan-gce | possible deadlock in ieee80211_open | ||
2024/07/29 18:55 | net-next | 1722389b0d86 | 5187fc86 | .config | console log | report | info | [disk image] [vmlinux] [kernel image] | ci-upstream-net-kasan-gce | possible deadlock in ieee80211_open | ||
2024/07/26 11:42 | net-next | 1722389b0d86 | 3f86dfed | .config | console log | report | info | [disk image] [vmlinux] [kernel image] | ci-upstream-net-kasan-gce | possible deadlock in ieee80211_open | ||
2024/07/25 21:40 | net-next | d7e78951a8b8 | 32fcf98f | .config | console log | report | info | [disk image] [vmlinux] [kernel image] | ci-upstream-net-kasan-gce | possible deadlock in ieee80211_open | ||
2024/07/23 14:02 | net-next | d7e78951a8b8 | 708c10c4 | .config | console log | report | info | [disk image] [vmlinux] [kernel image] | ci-upstream-net-kasan-gce | possible deadlock in ieee80211_open | ||
2024/07/22 15:06 | net-next | d7e78951a8b8 | f063dfd9 | .config | console log | report | info | [disk image] [vmlinux] [kernel image] | ci-upstream-net-kasan-gce | possible deadlock in ieee80211_open | ||
2024/07/22 00:19 | net-next | d7e78951a8b8 | b88348e9 | .config | console log | report | info | [disk image] [vmlinux] [kernel image] | ci-upstream-net-kasan-gce | possible deadlock in ieee80211_open | ||
2024/07/21 14:05 | net-next | d7e78951a8b8 | b88348e9 | .config | console log | report | info | [disk image] [vmlinux] [kernel image] | ci-upstream-net-kasan-gce | possible deadlock in ieee80211_open | ||
2024/07/21 12:57 | net-next | d7e78951a8b8 | b88348e9 | .config | console log | report | info | [disk image] [vmlinux] [kernel image] | ci-upstream-net-kasan-gce | possible deadlock in ieee80211_open | ||
2024/07/16 16:37 | net-next | 51b35d4f9d88 | b66b37bd | .config | console log | report | info | [disk image] [vmlinux] [kernel image] | ci-upstream-net-kasan-gce | possible deadlock in ieee80211_open | ||
2024/07/09 10:35 | net-next | e0ee68a8bef9 | bc23a442 | .config | console log | report | info | [disk image] [vmlinux] [kernel image] | ci-upstream-net-kasan-gce | possible deadlock in ieee80211_open | ||
2024/07/03 10:43 | net-next | ac26327635d6 | 1ecfa2d8 | .config | console log | report | info | [disk image] [vmlinux] [kernel image] | ci-upstream-net-kasan-gce | possible deadlock in ieee80211_open | ||
2024/07/02 20:16 | net-next | 19e6ad2c7578 | 8373af66 | .config | console log | report | info | [disk image] [vmlinux] [kernel image] | ci-upstream-net-kasan-gce | possible deadlock in ieee80211_open | ||
2024/07/02 19:21 | net-next | 19e6ad2c7578 | 8373af66 | .config | console log | report | info | [disk image] [vmlinux] [kernel image] | ci-upstream-net-kasan-gce | possible deadlock in ieee80211_open | ||
2024/06/28 11:51 | net-next | 8fda53719a59 | b62c7d46 | .config | console log | report | info | [disk image] [vmlinux] [kernel image] | ci-upstream-net-kasan-gce | possible deadlock in ieee80211_open | ||
2024/06/28 06:28 | net-next | cce346d44139 | b62c7d46 | .config | console log | report | info | [disk image] [vmlinux] [kernel image] | ci-upstream-net-kasan-gce | possible deadlock in ieee80211_open | ||
2024/06/28 02:27 | net-next | cce346d44139 | b62c7d46 | .config | console log | report | info | [disk image] [vmlinux] [kernel image] | ci-upstream-net-kasan-gce | possible deadlock in ieee80211_open | ||
2024/06/27 23:37 | net-next | cce346d44139 | b62c7d46 | .config | console log | report | info | [disk image] [vmlinux] [kernel image] | ci-upstream-net-kasan-gce | possible deadlock in ieee80211_open | ||
2024/06/27 09:33 | net-next | f261aa15b2ca | 5c045c04 | .config | console log | report | info | [disk image] [vmlinux] [kernel image] | ci-upstream-net-kasan-gce | possible deadlock in ieee80211_open | ||
2024/06/24 15:12 | net-next | 568ebdaba637 | edc5149a | .config | console log | report | info | [disk image] [vmlinux] [kernel image] | ci-upstream-net-kasan-gce | possible deadlock in ieee80211_open | ||
2024/06/13 12:32 | net-next | 91579c93a9b2 | 2aa5052f | .config | console log | report | info | [disk image] [vmlinux] [kernel image] | ci-upstream-net-kasan-gce | possible deadlock in ieee80211_open | ||
2024/06/10 07:42 | net-next | 28f961f9d5b7 | 82c05ab8 | .config | console log | report | info | [disk image] [vmlinux] [kernel image] | ci-upstream-net-kasan-gce | possible deadlock in ieee80211_open | ||
2024/05/20 15:04 | net-next | 4b377b4868ef | c0f1611a | .config | console log | report | info | [disk image] [vmlinux] [kernel image] | ci-upstream-net-kasan-gce | possible deadlock in ieee80211_open | ||
2024/05/20 13:03 | net-next | 4b377b4868ef | c0f1611a | .config | console log | report | info | [disk image] [vmlinux] [kernel image] | ci-upstream-net-kasan-gce | possible deadlock in ieee80211_open | ||
2024/05/19 05:48 | net-next | 4b377b4868ef | c0f1611a | .config | console log | report | info | [disk image] [vmlinux] [kernel image] | ci-upstream-net-kasan-gce | possible deadlock in ieee80211_open | ||
2024/05/19 03:38 | net-next | 4b377b4868ef | c0f1611a | .config | console log | report | info | [disk image] [vmlinux] [kernel image] | ci-upstream-net-kasan-gce | possible deadlock in ieee80211_open | ||
2024/05/17 23:48 | net-next | 1b294a1f3561 | a12e99e7 | .config | console log | report | info | [disk image] [vmlinux] [kernel image] | ci-upstream-net-kasan-gce | possible deadlock in ieee80211_open | ||
2024/05/17 16:01 | net-next | 1b294a1f3561 | a12e99e7 | .config | console log | report | info | [disk image] [vmlinux] [kernel image] | ci-upstream-net-kasan-gce | possible deadlock in ieee80211_open | ||
2024/05/16 20:13 | net-next | 1b294a1f3561 | ef5d53ed | .config | console log | report | info | [disk image] [vmlinux] [kernel image] | ci-upstream-net-kasan-gce | possible deadlock in ieee80211_open | ||
2024/05/16 07:42 | net-next | 1b294a1f3561 | ef5d53ed | .config | console log | report | info | [disk image] [vmlinux] [kernel image] | ci-upstream-net-kasan-gce | possible deadlock in ieee80211_open | ||
2024/03/28 22:35 | net-next | 237bb5f7f7f5 | 120789fd | .config | console log | report | info | [disk image] [vmlinux] [kernel image] | ci-upstream-net-kasan-gce | possible deadlock in ieee80211_open | ||
2024/03/28 18:23 | net-next | 237bb5f7f7f5 | 120789fd | .config | console log | report | info | [disk image] [vmlinux] [kernel image] | ci-upstream-net-kasan-gce | possible deadlock in ieee80211_open | ||
2024/03/28 16:24 | net-next | 237bb5f7f7f5 | 120789fd | .config | console log | report | info | [disk image] [vmlinux] [kernel image] | ci-upstream-net-kasan-gce | possible deadlock in ieee80211_open | ||
2024/03/27 07:23 | net-next | 237bb5f7f7f5 | 454571b6 | .config | console log | report | info | [disk image] [vmlinux] [kernel image] | ci-upstream-net-kasan-gce | possible deadlock in ieee80211_open |