syzbot


WARNING in ieee80211_free_keys

Status: upstream: reported on 2025/02/26 13:14
Subsystems: wireless
[Documentation on labels]
Reported-by: syzbot+f9bc4ca17b97b000cf78@syzkaller.appspotmail.com
First crash: 5d09h, last: 3d00h
Discussions (1)
Title Replies (including bot) Last reply
[syzbot] [wireless?] WARNING in ieee80211_free_keys 0 (1) 2025/02/26 13:14

Sample crash report:
netdevsim netdevsim0 eth1: unset [1, 0] type 2 family 0 port 6081 - 0
netdevsim netdevsim0 eth2: unset [1, 0] type 2 family 0 port 6081 - 0
netdevsim netdevsim0 eth3: unset [1, 0] type 2 family 0 port 6081 - 0
geneve1: entered promiscuous mode
tipc: Resetting bearer <eth:syzkaller0>
------------[ cut here ]------------
WARNING: CPU: 0 PID: 20544 at net/mac80211/key.c:1162 ieee80211_free_keys+0x567/0x680 net/mac80211/key.c:1161
Modules linked in:
CPU: 0 UID: 0 PID: 20544 Comm: syz.0.4199 Not tainted 6.14.0-rc3-syzkaller-00155-gf15176b8b6e7 #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 02/12/2025
RIP: 0010:ieee80211_free_keys+0x567/0x680 net/mac80211/key.c:1161
Code: 01 00 00 48 8d 65 d8 5b 41 5c 41 5d 41 5e 41 5f 5d c3 cc cc cc cc e8 f8 49 3f f6 90 0f 0b 90 e9 17 fc ff ff e8 ea 49 3f f6 90 <0f> 0b 90 4c 8b 64 24 20 e9 77 fe ff ff e8 d7 49 3f f6 e9 2d fe ff
RSP: 0018:ffffc900035764a0 EFLAGS: 00010246
RAX: ffffffff8b8270a6 RBX: 0000000000000001 RCX: 0000000000080000
RDX: ffffc9000c4a9000 RSI: 000000000007ffff RDI: 0000000000080000
RBP: ffffc90003576570 R08: ffffffff8b826ea7 R09: 1ffff920006aec48
R10: dffffc0000000000 R11: fffff520006aec49 R12: 0000000000000002
R13: ffff888029378d80 R14: 1ffff1100526f53a R15: dffffc0000000000
FS:  00007ff4300856c0(0000) GS:ffff8880b8600000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000400000000080 CR3: 0000000012152000 CR4: 00000000003526f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 <TASK>
 ieee80211_do_stop+0x1085/0x2380 net/mac80211/iface.c:583
 ieee80211_stop+0x43b/0x490 net/mac80211/iface.c:776
 __dev_close_many+0x216/0x350 net/core/dev.c:1719
 dev_close_many+0x24e/0x4c0 net/core/dev.c:1744
 dev_close+0x1c0/0x2c0 net/core/dev.c:1770
 ieee80211_stop+0xd5/0x490 net/mac80211/iface.c:767
 __dev_close_many+0x216/0x350 net/core/dev.c:1719
 __dev_close net/core/dev.c:1731 [inline]
 __dev_change_flags+0x30e/0x6f0 net/core/dev.c:9258
 dev_change_flags+0x8b/0x1a0 net/core/dev.c:9332
 do_setlink+0xcca/0x4300 net/core/rtnetlink.c:3118
 rtnl_group_changelink net/core/rtnetlink.c:3747 [inline]
 __rtnl_newlink net/core/rtnetlink.c:3894 [inline]
 rtnl_newlink+0x156d/0x1d30 net/core/rtnetlink.c:4022
 rtnetlink_rcv_msg+0x791/0xcf0 net/core/rtnetlink.c:6912
 netlink_rcv_skb+0x206/0x480 net/netlink/af_netlink.c:2533
 netlink_unicast_kernel net/netlink/af_netlink.c:1312 [inline]
 netlink_unicast+0x7f6/0x990 net/netlink/af_netlink.c:1338
 netlink_sendmsg+0x8de/0xcb0 net/netlink/af_netlink.c:1882
 sock_sendmsg_nosec net/socket.c:718 [inline]
 __sock_sendmsg+0x221/0x270 net/socket.c:733
 ____sys_sendmsg+0x53a/0x860 net/socket.c:2573
 ___sys_sendmsg net/socket.c:2627 [inline]
 __sys_sendmsg+0x269/0x350 net/socket.c:2659
 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:0x7ff42f18d169
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:00007ff430085038 EFLAGS: 00000246 ORIG_RAX: 000000000000002e
RAX: ffffffffffffffda RBX: 00007ff42f3a5fa0 RCX: 00007ff42f18d169
RDX: 0000000000000000 RSI: 0000400000000140 RDI: 0000000000000008
RBP: 00007ff42f20e2a0 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 0000000000000000 R14: 00007ff42f3a5fa0 R15: 00007ffc858190c8
 </TASK>

Crashes (2):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2025/02/24 22:11 net f15176b8b6e7 d34966d1 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-this-kasan-gce WARNING in ieee80211_free_keys
2025/02/22 13:08 net 28b04731a38c d34966d1 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-this-kasan-gce WARNING in ieee80211_free_keys
* Struck through repros no longer work on HEAD.