CVE
CVE-2025-21905
CNA 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 versions
All Linux kernel vulnerabilities →
- 6.14-rc5This version only
- 6.14-rc4This version only
- 6.14-rc3This version only
- 6.14-rc2This version only
- 6.14-rc1This version only
- ≥ 6.13, < 6.13.7Fixed in 6.13.7
- ≥ 6.7, < 6.12.19Fixed in 6.12.19
- ≥ 6.2, < 6.6.83Fixed in 6.6.83
- ≥ 5.16, < 6.1.131Fixed in 6.1.131
- ≥ 5.11, < 5.15.179Fixed in 5.15.179
- ≥ 5.5, < 5.10.235Fixed in 5.10.235
- ≥ 5.2, < 5.4.291Fixed in 5.4.291
Distribution packages (Debian, Ubuntu, Red Hat…) backport fixes without changing the upstream version: check your distribution’s advisory as well.
Advisories and patches
- git.kernel.org/stable/c/38f0d398b6d7640d223db69df022c4a232f24774 · Patch
- git.kernel.org/stable/c/47616b82f2d42ea2060334746fed9a2988d845c9 · Patch
- git.kernel.org/stable/c/59cdda202829d1d6a095d233386870a59aff986f · Patch
- git.kernel.org/stable/c/88ed69f924638c7503644e1f8eed1e976f3ffa7a · Patch
- git.kernel.org/stable/c/b02f8d5a71c8571ccf77f285737c566db73ef5e5 · Patch
- git.kernel.org/stable/c/c0e626f2b2390472afac52dfe72b29daf9ed8e1d · Patch
- git.kernel.org/stable/c/e0dc2c1bef722cbf16ae557690861e5f91208129 · Patch
- git.kernel.org/stable/c/f265e6031d0bc4fc40c4619cb42466722b46eaa9 · Patch
Data: NVD (public domain), CISA KEV (CC0), FIRST EPSS, OSV.dev / GitHub Advisory Database (CC-BY 4.0) · This database lists affected versions and fixes only. It never hosts or links exploit code.