CVE-2025-21905 wifi: iwlwifi: limit printed string from FW file
A local attacker can trigger an out-of-bounds read in the iwlwifi driver, potentially leaking kernel memory contents.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Local or same network only
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2025-21905?
CVE-2025-21905 is a high-severity vulnerability in Linux kernel, published on 1 Apr 2025. It can only be exploited from the same machine or local network, with no action from the victim.
Official 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.
Weakness: CWE-125
Which versions are affected by CVE-2025-21905?
It affects 1 product.
Products include Linux kernel.
How do I fix CVE-2025-21905?
Apply the vendor's patch.
Is CVE-2025-21905 being exploited?
There is no known exploitation of CVE-2025-21905 in the wild and no public exploit code.
Other vulnerabilities in Linux kernel
Sources
Also known as AZL-60343, AZL-60358, BELL-CVE-2025-21905, DEBIAN-CVE-2025-21905, GHSA-7fc4-8q5h-8mjj, ROOT-OS-UBUNTU-2404-CVE-2025-21905 and 1 more.