wifi: avoid kernel-infoleak from struct iw_point
Linux
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
≥ 87de87d5e47f94b4ea647a5bd1bc8dc1f7930db4 · < e3c35177103ead4658b8a62f41e3080d45885464| No fix yet |
| Linux Linux |
|
|
In the Linux kernel, the following vulnerability has been resolved:
wifi: avoid kernel-infoleak from struct iw_point
struct iw_point has a 32bit hole on 64bit arches.
struct iw_point { void __user *pointer; /* Pointer to the data (in user space) */ __u16 length; /* number of fields or size in bytes */ __u16 flags; /* Optional params */ };
Make sure to zero the structure to avoid disclosing 32bits of kernel data to user space.
From the CVE record · Linux
On 64-bit systems, the Linux kernel’s Wi-Fi code can leave a 32-bit gap in struct iw_point uninitialized. This can disclose kernel data to user space; the input does not specify authentication or user-interaction requirements.
Anyone running the Linux kernel on a 64-bit system should check their version; affected versions are not specified.