Re: [syzbot] [kernfs?] possible deadlock in walk_component (4)
From: Hillf Danton
Date: Mon Feb 03 2025 - 03:41:29 EST
On Sun, 02 Feb 2025 10:56:26 -0800
> syzbot has found a reproducer for the following issue on:
>
> hEAD commit: 69e858e0b8b2 Merge tag 'uml-for-linus-6.14-rc1' of git://g..
> git tree: upstream
> c reproducer: https://syzkaller.appspot.com/x/repro.c?x=15bf03df980000
#syz test
--- x/net/mac80211/rate.c
+++ y/net/mac80211/rate.c
@@ -217,7 +217,6 @@ ieee80211_rate_control_ops_get(const cha
const struct rate_control_ops *ops;
const char *alg_name;
- kernel_param_lock(THIS_MODULE);
if (!name)
alg_name = ieee80211_default_rc_algo;
else
@@ -233,8 +232,6 @@ ieee80211_rate_control_ops_get(const cha
/* try built-in one if specific alg requested but not found */
ops = ieee80211_try_rate_control_ops_get(CONFIG_MAC80211_RC_DEFAULT);
- kernel_param_unlock(THIS_MODULE);
-
return ops;
}
--