CVE-2025-21905: wifi: iwlwifi: limit printed string from FW file
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 Software
Event History
Frequently Asked Questions
What is the severity of CVE-2025-21905?
CVE-2025-21905 has been classified as a moderate severity vulnerability in the Linux kernel.
How do I fix CVE-2025-21905?
To fix CVE-2025-21905, update the Linux kernel to a version that has addressed this vulnerability, specifically versions beyond those listed affected.
Which versions of the Linux kernel are affected by CVE-2025-21905?
CVE-2025-21905 affects multiple versions of the Linux kernel, specifically those between 5.2 and 6.14-rc5.
What type of vulnerability is CVE-2025-21905?
CVE-2025-21905 is a vulnerability related to improper string termination in the iwlwifi driver, which may lead to reading beyond buffer boundaries.
Is there a workaround for CVE-2025-21905?
While the recommended method to mitigate CVE-2025-21905 is to update the kernel, no specific workarounds have been documented.