7.1high
wifi: iwlwifi: limit printed string from FW file
- Severity
- 7.1high CVSS:3.1 by CISA-ADP
- Exploit likelihood
- 0.24% (higher than 16% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- Linux
Description
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.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| Linux Linux | from aee1b6385e29e472ae5592b9652b750a29bf702e before 38f0d398b6d7640d223db69df022c4a232f24774, from aee1b6385e29e472ae5592b9652b750a29bf702e before c0e626f2b2390472afac52dfe72b29daf9ed8e1d, from aee1b6385e29e472ae5592b9652b750a29bf702e before 47616b82f2d42ea2060334746fed9a2988d845c9, from aee1b6385e29e472ae5592b9652b750a29bf702e before 88ed69f924638c7503644e1f8eed1e976f3ffa7a, from aee1b6385e29e472ae5592b9652b750a29bf702e before b02f8d5a71c8571ccf77f285737c566db73ef5e5, from aee1b6385e29e472ae5592b9652b750a29bf702e before f265e6031d0bc4fc40c4619cb42466722b46eaa9, from aee1b6385e29e472ae5592b9652b750a29bf702e before 59cdda202829d1d6a095d233386870a59aff986f, from aee1b6385e29e472ae5592b9652b750a29bf702e before e0dc2c1bef722cbf16ae557690861e5f91208129 and 1 more Not affected: before 5.2, from 5.4.291 up to 5.4.*, from 5.10.235 up to 5.10.*, from 5.15.179 up to 5.15.*, from 6.1.131 up to 6.1.*, from 6.6.83 up to 6.6.* | CVE List |
| linux linux_kernel | from 5.2 before 5.4.291, from 5.5 before 5.10.235, from 5.11 before 5.15.179, from 5.16 before 6.1.131, from 6.2 before 6.6.83, from 6.7 before 6.12.19, from 6.13 before 6.13.7, 6.14 | NVD |
All scores
| CISA-ADP | 7.1high CVSS:3.1 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H |
| NVD | 7.1high CVSS:3.1 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H |
Classification
SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.
What each source says
CVE List
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.
NVD (es)
En el kernel de Linux, se ha resuelto la siguiente vulnerabilidad: wifi: iwlwifi: limitar la cadena impresa del archivo FW. No se garantiza que el archivo siempre tenga una terminación NUL, por lo que al leer la cadena, se podría leer más allá del final del TLV. Si ese es el último TLV del archivo, es posible que incluso pueda leer más allá del final del búfer del archivo. Para solucionar esto, limite el formato de impresión al tamaño del búfer disponible.
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2025-21905 changed 2026-05-11 | CVE Terms of Use |
| NVD | CVE-2025-21905 changed 2026-06-17 | Public domain |