wifi: iwlwifi: limit printed string from FW file
Linux
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
≥ aee1b6385e29e472ae5592b9652b750a29bf702e · < f265e6031d0bc4fc40c4619cb42466722b46eaa9| No fix yet |
| Linux Linux |
|
|
In the Linux kernel, the following vulnerability has been resolved:
wifi: iwlwifi: limit printed string from FW file
There's no guarantee here that the file is always with a NUL-termination, so reading the string may read beyond the end of the TLV. If that's the last TLV in the file, it can perhaps even read beyond the end of the file buffer.
Fix that by limiting the print format to the size of the buffer we have.
From the CVE record · Linux
The Linux kernel's iwlwifi driver may read past the end of a TLV, and possibly the firmware file buffer, when printing a string that is not NUL-terminated. The input does not specify how an attacker could supply such a file, whether authentication is needed, or whether user interaction is required.
Engineers running Linux kernels with the iwlwifi driver should check their versions; affected versions are not specified.