# CVE-2025-38375: virtio-net: ensure the received length does not exceed allocated size

- Severity: High 8.4 (CVSS:3.1, scored by Linux) `CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.21%, higher than 12% of CVEs (2026-12-01)
- Published: 2025-07-25T12:53:17.629Z
- Modified: 2026-10-15T22:18:39.537Z
- Weaknesses: CWE-125
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact total
- Assigned by: Linux

## Description

In the Linux kernel, the following vulnerability has been resolved:

virtio-net: ensure the received length does not exceed allocated size

In xdp_linearize_page, when reading the following buffers from the ring,
we forget to check the received length with the true allocate size. This
can lead to an out-of-bound read. This commit adds that missing check.

(As written by CVE List.)

## Affected

- Linux Linux: from 4941d472bf95b4345d6e38906fcf354e74afa311 before 773e95c268b5d859f51f7547559734fd2a57660c; from 4941d472bf95b4345d6e38906fcf354e74afa311 before ddc8649d363141fb3371dd81a73e1cb4ef8ed1e1; from 4941d472bf95b4345d6e38906fcf354e74afa311 before 982beb7582c193544eb9c6083937ec5ac1c9d651; from 4941d472bf95b4345d6e38906fcf354e74afa311 before 6aca3dad2145e864dfe4d1060f45eb1bac75dd58; from 4941d472bf95b4345d6e38906fcf354e74afa311 before 80b971be4c37a4d23a7f1abc5ff33dc7733d649b; from 4941d472bf95b4345d6e38906fcf354e74afa311 before bc68bc3563344ccdc57d1961457cdeecab8f81ef; from 4941d472bf95b4345d6e38906fcf354e74afa311 before 11f2d0e8be2b5e784ac45fa3da226492c3e506d8; from 4941d472bf95b4345d6e38906fcf354e74afa311 before 315dbdd7cdf6aa533829774caaf4d25f1fd20e73; 4.14 (not affected: before 4.14; from 5.4.297 up to 5.4.*; from 5.10.241 up to 5.10.*; from 5.15.189 up to 5.15.*; from 6.1.144 up to 6.1.*; from 6.6.97 up to 6.6.*; from 6.12.37 up to 6.12.*; from 6.15.6 up to 6.15.*; from 6.16 up to *)
- linux linux_kernel: from 4.14 before 5.4.297; from 5.5 before 5.10.241; from 5.11 before 5.15.189; from 5.16 before 6.1.144; from 6.2 before 6.6.97; from 6.7 before 6.12.37; from 6.13 before 6.15.6; 6.16
- debian debian_linux: 11.0

## Every score

- Linux: CVSS:3.1 8.4 High `CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- NVD: CVSS:3.1 7.8 High `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`

## References

- <https://git.kernel.org/stable/c/773e95c268b5d859f51f7547559734fd2a57660c> (patch)
- <https://git.kernel.org/stable/c/ddc8649d363141fb3371dd81a73e1cb4ef8ed1e1> (patch)
- <https://git.kernel.org/stable/c/982beb7582c193544eb9c6083937ec5ac1c9d651> (patch)
- <https://git.kernel.org/stable/c/6aca3dad2145e864dfe4d1060f45eb1bac75dd58> (patch)
- <https://git.kernel.org/stable/c/80b971be4c37a4d23a7f1abc5ff33dc7733d649b> (patch)
- <https://git.kernel.org/stable/c/bc68bc3563344ccdc57d1961457cdeecab8f81ef> (patch)
- <https://git.kernel.org/stable/c/11f2d0e8be2b5e784ac45fa3da226492c3e506d8> (patch)
- <https://git.kernel.org/stable/c/315dbdd7cdf6aa533829774caaf4d25f1fd20e73> (patch)
- <https://lists.debian.org/debian-lts-announce/2025/10/msg00008.html> (third-party-advisory)
- <https://lists.debian.org/debian-lts-announce/2025/10/msg00007.html> (third-party-advisory)

## Sources

- CVE List: [CVE-2025-38375](https://www.cve.org/CVERecord?id=CVE-2025-38375), CVE Terms of Use, modified 2026-10-15
- NVD: [CVE-2025-38375](https://nvd.nist.gov/vuln/detail/CVE-2025-38375), Public domain, modified 2026-10-15

---

Page: https://cve.day/CVE-2025-38375 · Whole record: https://cve.day/CVE-2025-38375.json · Rebuilt by cve.day 2026-11-25T22:59:01.674Z
