syzbot
WARNING: lock held when returning to user space in ieee80211_change_mac
Status:
fixed on 2023/02/24 13:50
Subsystems:
wireless
[Documentation on labels]
Reported-by: syzbot+4ef359e6b423499fa4e1@syzkaller.appspotmail.com
Fix commit:
ceb3d688f922
wifi: mac80211: unlock on error in ieee80211_can_powered_addr_change()
First crash: 1397d, last: 1397d
Sample crash report:
================================================
WARNING: lock held when returning to user space!
6.0.0-rc6-syzkaller-01407-g6627a2074d5c #0 Not tainted
------------------------------------------------
syz-executor.3/10164 is leaving the kernel with locks still held!
1 lock held by syz-executor.3/10164:
#0: ffff888147acaa88 (&local->mtx){+.+.}-{3:3}, at: ieee80211_can_powered_addr_change net/mac80211/iface.c:217 [inline]
#0: ffff888147acaa88 (&local->mtx){+.+.}-{3:3}, at: ieee80211_change_mac+0x9b4/0xf40 net/mac80211/iface.c:264
* Struck through repros no longer work on HEAD.