wifi: cfg80211: reject duplicate wiphy cipher suite entries
- 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.6.160, 6.12.111, 6.18.53
- 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: reject duplicate wiphy cipher suite entries Duplicate entries in wiphy->cipher_suites do not describe any additional capability, but cfg80211 currently accepts them and leaves individual consumers to deal with them. One such consumer is the WEXT compatibility code, which appends a WEP key length for each WEP cipher entry it sees. Repeated WEP entries can therefore overflow the fixed iw_range::encoding_size array returned by SIOCGIWRANGE. Reject duplicate cipher suite entries in wiphy_register() instead. This keeps the cipher suite invariant in one place and makes malformed wiphy descriptions fail early with -EINVAL, rather than relying on a single cfg80211 user to handle duplicates correctly.
Timeline
- CVE published
- Record last updated
Affected versions
- Linux Linux
From 2ab658f9ce218ae93b3d2db2b3fe68bfefb81196 · fixed in d12e92e72db914e1ea777c6f246f6be75985438e; From 2ab658f9ce218ae93b3d2db2b3fe68bfefb81196 · fixed in 1305f8b925fe92edf5fec183588dfc7db719180b; From 2ab658f9ce218ae93b3d2db2b3fe68bfefb81196 · fixed in 4cbb2360f4d8c29e67bc7a8bf6ba0ae096583923; From 2ab658f9ce218ae93b3d2db2b3fe68bfefb81196 · fixed in 7187d145d9042b037e4f10538f70cf95e380219f
- Linux Linux
2.6.32
- KernelLinux
From 2.6.32 · fixed in 6.6.160; From 6.7.0 · fixed in 6.12.111; From 6.13.0 · fixed in 6.18.53