Vulnerabilities · 2025 · Linux
CVE-2025-21687
Linux Kernel vulnerability
In the Linux kernel, the following vulnerability has been resolved: vfio/platform: check the bounds of read/write syscalls count and offset are passed from user space and not checked, only offset is capped to 40 bits, which can be used to read/write out of bounds of the device.
Affected products
Linux Kernel. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Linux Kernel runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Set the orderSystems that can be reached from the internet come first, then the rest.
References
- git.kernel.org/stable/c/1485932496a1b025235af8aa1e21988d6b7ccd54 · Patch
- git.kernel.org/stable/c/665cfd1083866f87301bbd232cb8ba48dcf4acce · Patch
- git.kernel.org/stable/c/6bcb8a5b70b80143db9bf12dfa7d53636f824d53 · Patch
- git.kernel.org/stable/c/92340e6c5122d823ad064984ef7513eba9204048 · Patch
- git.kernel.org/stable/c/a20fcaa230f7472456d12cf761ed13938e320ac3 · Patch
- git.kernel.org/stable/c/c981c32c38af80737a2fedc16e270546d139ccdd · Patch
- git.kernel.org/stable/c/ce9ff21ea89d191e477a02ad7eabf4f996b80a69 · Patch
- git.kernel.org/stable/c/d19a8650fd3d7aed8d1af1d9a77f979a8430eba1 · Patch
- nvd.nist.gov/vuln/detail/CVE-2025-21687
- cve.org/CVERecord?id=CVE-2025-21687
More vulnerabilities in Linux products
CVE-2026-46300CVE-2025-40364CVE-2025-40325CVE-2025-40300CVE-2025-40114CVE-2025-40014CVE-2025-39989CVE-2025-39967All 12,086
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.