wifi: cfg80211: Fix use after free for wext
Linux
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
≥ fffd0934b9390f34bec45762192b7edd3b12b4b5 · < 22dfb21bf1cd876616d45cda1bc6daa89eec6747| No fix yet |
| Linux Linux |
|
|
In the Linux kernel, the following vulnerability has been resolved:
wifi: cfg80211: Fix use after free for wext
Key information in wext.connect is not reset on (re)connect and can hold data from a previous connection.
Reset key data to avoid that drivers or mac80211 incorrectly detect a WEP connection request and access the freed or already reused memory.
Additionally optimize cfg80211_sme_connect() and avoid an useless schedule of conn_work.
From the CVE record · Linux
In the Linux kernel, wext.connect can retain key data from a previous connection. On a subsequent connection, a driver or mac80211 may incorrectly treat it as a WEP request and access freed or reused memory. The input does not specify attacker access requirements or user interaction.
Teams running Linux kernels with the affected cfg80211 wext code should check their versions against the vendor advisory; affected versions are not listed in the input.