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

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** HIGH 8.4
- **CVSS:** 8.4 (v3.1, CNA) `CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- **CVSS metrics:** Attack vector: Local; Attack complexity: Low; Privileges required: None; User interaction: None; Scope: Unchanged; Confidentiality impact: High; Integrity impact: High; Availability impact: High
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Not remotely exploitable (local or adjacent access needed)
- **EPSS:** 0.32% (percentile 18, 2026-11-26)
- **CWE:** CWE-125
- **Published:** 2025-07-25T12:53:17.629Z
- **Modified:** 2026-10-15T22:18:39.537Z

## Who should check

- Anyone running Linux \>= 4941d472bf95b4345d6e38906fcf354e74afa311, \< 773e95c268b5d859f51f7547559734fd2a57660c; \>= 4941d472bf95b4345d6e38906fcf354e74afa311, \< ddc8649d363141fb3371dd81a73e1cb4ef8ed1e1; \>= 4941d472bf95b4345d6e38906fcf354e74afa311, \< 982beb7582c193544eb9c6083937ec5ac1c9d651; \>= 4941d472bf95b4345d6e38906fcf354e74afa311, \< 6aca3dad2145e864dfe4d1060f45eb1bac75dd58; \>= 4941d472bf95b4345d6e38906fcf354e74afa311, \< 80b971be4c37a4d23a7f1abc5ff33dc7733d649b; \>= 4941d472bf95b4345d6e38906fcf354e74afa311, \< bc68bc3563344ccdc57d1961457cdeecab8f81ef; \>= 4941d472bf95b4345d6e38906fcf354e74afa311, \< 11f2d0e8be2b5e784ac45fa3da226492c3e506d8; \>= 4941d472bf95b4345d6e38906fcf354e74afa311, \< 315dbdd7cdf6aa533829774caaf4d25f1fd20e73
- Anyone running Linux 4.14

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

## Affected and fixed versions

- Linux: \>= 4941d472bf95b4345d6e38906fcf354e74afa311, \< 773e95c268b5d859f51f7547559734fd2a57660c; \>= 4941d472bf95b4345d6e38906fcf354e74afa311, \< ddc8649d363141fb3371dd81a73e1cb4ef8ed1e1; \>= 4941d472bf95b4345d6e38906fcf354e74afa311, \< 982beb7582c193544eb9c6083937ec5ac1c9d651; \>= 4941d472bf95b4345d6e38906fcf354e74afa311, \< 6aca3dad2145e864dfe4d1060f45eb1bac75dd58; \>= 4941d472bf95b4345d6e38906fcf354e74afa311, \< 80b971be4c37a4d23a7f1abc5ff33dc7733d649b; \>= 4941d472bf95b4345d6e38906fcf354e74afa311, \< bc68bc3563344ccdc57d1961457cdeecab8f81ef; \>= 4941d472bf95b4345d6e38906fcf354e74afa311, \< 11f2d0e8be2b5e784ac45fa3da226492c3e506d8; \>= 4941d472bf95b4345d6e38906fcf354e74afa311, \< 315dbdd7cdf6aa533829774caaf4d25f1fd20e73 (cvelist)
- Linux: 4.14 (cvelist)

## Mitigation

- Upgrade Linux to 315dbdd7cdf6aa533829774caaf4d25f1fd20e73 or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2025-38375. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2025-38375.md
Affected: Linux >= 4941d472bf95b4345d6e38906fcf354e74afa311, < 773e95c268b5d859f51f7547559734fd2a57660c; >= 4941d472bf95b4345d6e38906fcf354e74afa311, < ddc8649d363141fb3371dd81a73e1cb4ef8ed1e1; >= 4941d472bf95b4345d6e38906fcf354e74afa311, < 982beb7582c193544eb9c6083937ec5ac1c9d651; >= 4941d472bf95b4345d6e389…
Fixed in: Linux 773e95c268b5d859f51f7547559734fd2a57660c, Linux 982beb7582c193544eb9c6083937ec5ac1c9d651, Linux 6aca3dad2145e864dfe4d1060f45eb1bac75dd58, Linux 80b971be4c37a4d23a7f1abc5ff33dc7733d649b, Linux 11f2d0e8be2b5e784ac45fa3da226492c3e506d8, Linux 315dbdd7cdf6aa533829774caaf4d25f1fd20e73

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2025-38375 being exploited?

There is no confirmed exploitation: CVE-2025-38375 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.32% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2025-38375?

High: CVSS 8.4 (v3.1, scored by CNA). Not remotely exploitable (local or adjacent access needed).

### Which versions are affected by CVE-2025-38375?

Linux \>= 4941d472bf95b4345d6e38906fcf354e74afa311, \< 773e95c268b5d859f51f7547559734fd2a57660c; \>= 4941d472bf95b4345d6e38906fcf354e74afa311, \< ddc8649d363141fb3371dd81a73e1cb4ef8ed1e1; \>= 4941d472bf95b4345d6e38906fcf354e74afa311, \< 982beb7582c193544eb9c6083937ec5ac1c9d651; \>= 4941d472bf95b4345d6e38906fcf354e74afa311, \< 6aca3dad2145e864dfe4d1060f45eb1bac75dd58; \>= 4941d472bf95b4345d6e38906fcf354e74afa311, \< 80b971be4c37a4d23a7f1abc5ff33dc7733d649b; \>= 4941d472bf95b4345d6e38906fcf354e74afa311, \< bc68bc3563344ccdc57d1961457cdeecab8f81ef; \>= 4941d472bf95b4345d6e38906fcf354e74afa311, \< 11f2d0e8be2b5e784ac45fa3da226492c3e506d8; \>= 4941d472bf95b4345d6e38906fcf354e74afa311, \< 315dbdd7cdf6aa533829774caaf4d25f1fd20e73; Linux 4.14.

### Is there a fix for CVE-2025-38375?

Yes. Fixed in Linux 773e95c268b5d859f51f7547559734fd2a57660c, Linux 982beb7582c193544eb9c6083937ec5ac1c9d651, Linux 6aca3dad2145e864dfe4d1060f45eb1bac75dd58, Linux 80b971be4c37a4d23a7f1abc5ff33dc7733d649b, Linux 11f2d0e8be2b5e784ac45fa3da226492c3e506d8, Linux 315dbdd7cdf6aa533829774caaf4d25f1fd20e73. Upgrade Linux to 315dbdd7cdf6aa533829774caaf4d25f1fd20e73 or later.

### How do I check if I'm affected by CVE-2025-38375?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- patch: <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>
- other: <https://lists.debian.org/debian-lts-announce/2025/10/msg00008.html>
- other: <https://lists.debian.org/debian-lts-announce/2025/10/msg00007.html>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2025-38375>

HTML: <https://flawdb.com/CVE-2025-38375> · JSON: <https://flawdb.com/api/v1/entries/CVE-2025-38375>
