{"id":"CVE-2025-21687","published":"2025-02-10T15:58:43Z","modified":"2026-08-05T11:53:37Z","title":"vfio/platform: check the bounds of read/write syscalls","vendor":"Linux","product":"Linux","tier":"tail","description":{"text":"In the Linux kernel, the following vulnerability has been resolved:\n\nvfio/platform: check the bounds of read/write syscalls\n\ncount and offset are passed from user space and not checked, only\noffset is capped to 40 bits, which can be used to read/write out of\nbounds of the device.","provenance":"source","from":"CVE.org"},"cvss":{"score":7.8,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00236,"percentile":0.14663,"provenance":"source"},"cwes":[],"references":[{"url":"https://git.kernel.org/stable/c/f21636f24b6786c8b13f1af4319fa75ffcf17f38","tags":[]},{"url":"https://git.kernel.org/stable/c/9377cdc118cf327248f1a9dde7b87de067681dc9","tags":[]},{"url":"https://git.kernel.org/stable/c/d19a8650fd3d7aed8d1af1d9a77f979a8430eba1","tags":[]},{"url":"https://git.kernel.org/stable/c/ed81d82bb6e9df3a137f2c343ed689e6c68268ef","tags":[]},{"url":"https://git.kernel.org/stable/c/92340e6c5122d823ad064984ef7513eba9204048","tags":[]},{"url":"https://git.kernel.org/stable/c/f65ce06387f8c1fb54bd59e18a8428248ec68eaf","tags":[]},{"url":"https://git.kernel.org/stable/c/6bcb8a5b70b80143db9bf12dfa7d53636f824d53","tags":[]},{"url":"https://git.kernel.org/stable/c/1485932496a1b025235af8aa1e21988d6b7ccd54","tags":[]},{"url":"https://git.kernel.org/stable/c/c981c32c38af80737a2fedc16e270546d139ccdd","tags":[]},{"url":"https://git.kernel.org/stable/c/a20fcaa230f7472456d12cf761ed13938e320ac3","tags":[]},{"url":"https://git.kernel.org/stable/c/665cfd1083866f87301bbd232cb8ba48dcf4acce","tags":[]},{"url":"https://git.kernel.org/stable/c/ce9ff21ea89d191e477a02ad7eabf4f996b80a69","tags":[]},{"url":"https://lists.debian.org/debian-lts-announce/2025/03/msg00001.html","tags":[]},{"url":"https://lists.debian.org/debian-lts-announce/2025/03/msg00002.html","tags":[]}],"priority":{"score":8.4,"factors":[{"name":"EPSS percentile","points":2.93},{"name":"CVSS severity","points":5.46}]},"vendorSlug":"linux","affectedVersions":[{"vendor":"Linux","product":"Linux","versions":[">= 6e3f264560099869f68830cb14b3b3e71e5ac76a, < f21636f24b6786c8b13f1af4319fa75ffcf17f38",">= 6e3f264560099869f68830cb14b3b3e71e5ac76a, < 9377cdc118cf327248f1a9dde7b87de067681dc9",">= 6e3f264560099869f68830cb14b3b3e71e5ac76a, < d19a8650fd3d7aed8d1af1d9a77f979a8430eba1",">= 6e3f264560099869f68830cb14b3b3e71e5ac76a, < ed81d82bb6e9df3a137f2c343ed689e6c68268ef",">= 6e3f264560099869f68830cb14b3b3e71e5ac76a, < 92340e6c5122d823ad064984ef7513eba9204048",">= 6e3f264560099869f68830cb14b3b3e71e5ac76a, < f65ce06387f8c1fb54bd59e18a8428248ec68eaf",">= 6e3f264560099869f68830cb14b3b3e71e5ac76a, < 6bcb8a5b70b80143db9bf12dfa7d53636f824d53",">= 6e3f264560099869f68830cb14b3b3e71e5ac76a, < 1485932496a1b025235af8aa1e21988d6b7ccd54",">= 6e3f264560099869f68830cb14b3b3e71e5ac76a, < c981c32c38af80737a2fedc16e270546d139ccdd",">= 6e3f264560099869f68830cb14b3b3e71e5ac76a, < a20fcaa230f7472456d12cf761ed13938e320ac3"]},{"vendor":"Linux","product":"Linux","versions":["4.1"]}],"euvd":{"id":"EUVD-2025-2636","exploited":false,"provenance":"source"}}