diff options
| author | Zhiling Zou <zhilinz@nebusec.ai> | 2026-08-03 12:07:40 +0800 |
|---|---|---|
| committer | Johannes Berg <johannes.berg@intel.com> | 2026-09-04 12:34:04 +0200 |
| commit | 1b60ed34f712e9f606d80951f1586f4274ebadf1 (patch) | |
| tree | 773f77195b5b01b7038a095bbc5190bfd97c9db0 /scripts/Makefile.thinlto | |
| parent | 9d1365e96a920bf79974161e370b5640a0054461 (diff) | |
| download | linux-next-1b60ed34f712e9f606d80951f1586f4274ebadf1.tar.gz linux-next-1b60ed34f712e9f606d80951f1586f4274ebadf1.zip | |
wifi: mac80211: serialize debugfs netdev rename with recreate
ieee80211_debugfs_rename_netdev() renames sdata->vif.debugfs_dir
without sharing synchronization with ieee80211_debugfs_recreate_netdev().
When MLO link updates switch an interface to or from MLO, the recreate
path can remove and rebuild that dentry while a concurrent netdev rename
still uses the stale pointer.
Serialize the rename helper with the same wiphy mutex that protects the
recreate path so the dentry cannot be removed while debugfs_change_name()
is operating on it.
Reported-by: Vega <vega@nebusec.ai>
Signed-off-by: Zhiling Zou <zhilinz@nebusec.ai>
Link: https://patch.msgid.link/76eecaf74ca2d4e4aedf46c3ee7505917433468b.1785729184.git.zhilinz@nebusec.ai
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'scripts/Makefile.thinlto')
0 files changed, 0 insertions, 0 deletions
