wifi: nl80211: clean up color-change beacon data on errors
Linux
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
≥ dc1e3cb8da8b414b37208b2fb6755fef8122504b · < 927ee844c47ac2aef22c8f7a35f098ff576b398b| No fix yet |
| Linux Linux |
|
|
In the Linux kernel, the following vulnerability has been resolved:
wifi: nl80211: clean up color-change beacon data on errors
nl80211_color_change() calls nl80211_parse_beacon() for the beacon_next template, which can allocate params.beacon_next.mbssid_ies and .rnr_ies. A parsing failure returned directly instead of using the out: cleanup, leaking any allocations completed before the error.
Allocate the nested attribute table before parsing beacon_next. Its allocation failure can then return before beacon data exists, while a later parsing failure uses out: to release the parsed data.
From the CVE record · Linux
The Linux kernel’s nl80211 color-change handler can leak allocated beacon data when parsing fails. The input does not specify how an attacker could trigger the failure, or whether network access, authentication, or user interaction is required.
Engineers running the Linux kernel should check their deployments; affected versions are not specified.