CVE-2025-21905

wifi: iwlwifi: limit printed string from FW file

State
Published
Severity
7.1 High
Published
Apr 1, 2025
Updated
May 11, 2026
Reserved
Dec 29, 2024

Read the record on cve.org

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.

Scores

CVSSScoreVectorSource
3.17.1 HighCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:HCISA-ADP

Weaknesses

Affected Products

ProductVersions
LinuxLinux
  • aee1b6385e29e472ae5592b9652b750a29bf702e to before 38f0d398b6d7640d223db69df022c4a232f24774Affected
  • aee1b6385e29e472ae5592b9652b750a29bf702e to before c0e626f2b2390472afac52dfe72b29daf9ed8e1dAffected
  • aee1b6385e29e472ae5592b9652b750a29bf702e to before 47616b82f2d42ea2060334746fed9a2988d845c9Affected
  • aee1b6385e29e472ae5592b9652b750a29bf702e to before 88ed69f924638c7503644e1f8eed1e976f3ffa7aAffected
  • aee1b6385e29e472ae5592b9652b750a29bf702e to before b02f8d5a71c8571ccf77f285737c566db73ef5e5Affected
  • aee1b6385e29e472ae5592b9652b750a29bf702e to before f265e6031d0bc4fc40c4619cb42466722b46eaa9Affected
  • aee1b6385e29e472ae5592b9652b750a29bf702e to before 59cdda202829d1d6a095d233386870a59aff986fAffected
  • aee1b6385e29e472ae5592b9652b750a29bf702e to before e0dc2c1bef722cbf16ae557690861e5f91208129Affected
LinuxLinux
  • 5.2Affected
  • before 5.2Not affected
  • 5.4.291 through 5.4.*Not affected
  • 5.10.235 through 5.10.*Not affected
  • 5.15.179 through 5.15.*Not affected
  • 6.1.131 through 6.1.*Not affected
  • 6.6.83 through 6.6.*Not affected
  • 6.12.19 through 6.12.*Not affected
  • 6.13.7 through 6.13.*Not affected
  • 6.14 and laterNot affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.