wifi: iwlwifi: limit printed string from FW file (Linux Linux)

CVE-2025-21905
HIGH 7.1

At a glance

Source
NVD
EPSS
EPSS 0.24 % · percentile 15 ()
State
PUBLISHED
Published
Updated
Assigner
Linux
NVD status
Modified

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.

Weaknesses (CWE)

References

Scores

VersionScoreVectorScored by
CVSS 3.1HIGH 7.1CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:HCISA-ADP
CVSS 3.1HIGH 7.1CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:HNVD · nvd@nist.gov (Primary)
CVSS 3.1HIGH 7.1CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:HNVD · 134c704f-9b21-4f2e-91b3-4a467353bcc0 (Secondary)

European references

CERT-FR advisories

Affected configurations (NVD CPE)

Affected products

ProductVersions
Linux · Linuxaffected aee1b6385e29e472ae5592b9652b750a29bf702e < 38f0d398b6d7640d223db69df022c4a232f24774 ; affected aee1b6385e29e472ae5592b9652b750a29bf702e < c0e626f2b2390472afac52dfe72b29daf9ed8e1d ; affected aee1b6385e29e472ae5592b9652b750a29bf702e < 47616b82f2d42ea2060334746fed9a2988d845c9 ; affected aee1b6385e29e472ae5592b9652b750a29bf702e < 88ed69f924638c7503644e1f8eed1e976f3ffa7a ; affected aee1b6385e29e472ae5592b9652b750a29bf702e < b02f8d5a71c8571ccf77f285737c566db73ef5e5 ; affected aee1b6385e29e472ae5592b9652b750a29bf702e < f265e6031d0bc4fc40c4619cb42466722b46eaa9
Linux · Linuxaffected 5.2 ; unaffected 0 < 5.2 ; unaffected 5.4.291 ≤ 5.4.* ; unaffected 5.10.235 ≤ 5.10.* ; unaffected 5.15.179 ≤ 5.15.* ; unaffected 6.1.131 ≤ 6.1.*

Sources

SourceLicence
CVE List (CVEProject cvelistV5)CVE Program Terms of Use
EPSS (FIRST.org)FIRST — attribution requested
ENISA EUVDENISA — reproduction authorised, source acknowledged
CERT-FR (ANSSI)Licence Ouverte / Etalab 2.0
NVD (NIST) via fkie-cad/nvd-json-data-feedsPublic domain — this product uses data from the NVD API but is not endorsed or certified by the NVD