wifi: cfg80211: wext: add extra SIOCSIWSCAN data check
Linux
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
≥ b2e3abdc708f8c0eff194af25362fdb239abe241 · < fe9644efd86704afe50e56b64b609de340ab7c95| No fix yet |
| Linux Linux |
|
|
In the Linux kernel, the following vulnerability has been resolved:
wifi: cfg80211: wext: add extra SIOCSIWSCAN data check
In 'cfg80211_wext_siwscan()', add extra check whether number of channels passed via 'ioctl(sock, SIOCSIWSCAN, ...)' doesn't exceed IW_MAX_FREQUENCIES and reject invalid request with -EINVAL otherwise.
From the CVE record · Linux
The Linux kernel's cfg80211 wireless scan ioctl did not check whether a request specified more channels than IW_MAX_FREQUENCIES. A local caller able to submit an SIOCSIWSCAN ioctl could pass an invalid channel count; the input does not specify any further impact or authentication requirement.
Engineers running Linux kernels with the affected cfg80211 wireless extensions code should check their versions; affected versions are not specified.