wifi: cfg80211: undo netns switch if renaming the wiphy fails
- Published
- Last modified
- Where the record stands: published, rejected by its publisher, or superseded by another id.What do these mean? →
- published
- Whether CISA lists it in its Known Exploited Vulnerabilities catalog: proof that attackers are using it.What do these mean? →
- Not listed in CISA KEV
- Fix
- Fixed in 6.18.54, 7.2.8
- Whether working attack code is public (Exploit-DB, Metasploit, Nuclei or GitHub). Public code makes attacks easier.What do these mean? →
- None on Exploit-DB, Metasploit or GitHub
Summary
In the Linux kernel, the following vulnerability has been resolved: wifi: cfg80211: undo netns switch if renaming the wiphy fails Once all the interfaces have been moved, cfg80211_switch_netns() moves the wiphy itself by setting its network namespace and then renaming it, which makes sysfs move it. The rename can fail (but only on allocation failures), leaving things mixed up and hitting the warning there. Ignoring it isn't great, undo the move and let the change fail in this case. If undo fails then WARN, then things would again be stuck in two different network namespaces.
Timeline
- CVE published
- Record last updated
Affected versions
- Linux Linux
From 463d018323851a608eef52a9427b0585005c647f · fixed in 96bef5667b0c4aecb1b850d2343f69b9d684abb9; From 463d018323851a608eef52a9427b0585005c647f · fixed in 739b7bf3942da4cde8eedb143d01a16ed865d1d7; From 463d018323851a608eef52a9427b0585005c647f · fixed in a41bd1938a9bfe226d444172a7e20e4bd5097960
- Linux Linux
2.6.32
- KernelLinux
From 2.6.32 · fixed in 6.18.54; From 6.19.0 · fixed in 7.2.8