# CVE-2025-37955: virtio-net: free xsk\_buffs on error in virtnet\_xsk\_pool\_enable()

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

- **Severity:** MEDIUM 5.5
- **CVSS:** 5.5 (v3.1, NVD) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- **CVSS metrics:** Attack vector: Local; Attack complexity: Low; Privileges required: Low; User interaction: None; Scope: Unchanged; Confidentiality impact: None; Integrity impact: None; 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.27% (percentile 13, 2026-11-26)
- **CWE:** CWE-401
- **Published:** 2025-05-20T16:01:49.209Z
- **Modified:** 2026-06-17T09:15:46.190Z

## Who should check

- Anyone running Linux \>= e9f3962441c0a4d6f16c656e6c8aa02a3ccdd568, \< 94a6f6c204abb2b2dcd2ce287536cc924469cfb5; \>= e9f3962441c0a4d6f16c656e6c8aa02a3ccdd568, \< ba6917810bb4a5a32661fa941717399052b3f0d9; \>= e9f3962441c0a4d6f16c656e6c8aa02a3ccdd568, \< 4397684a292a71fbc1e815c3e283f7490ddce5ae
- Anyone running Linux 6.11

## Description

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

virtio-net: free xsk\_buffs on error in virtnet\_xsk\_pool\_enable()

The selftests added to our CI by Bui Quang Minh recently reveals
that there is a mem leak on the error path of virtnet\_xsk\_pool\_enable():

unreferenced object 0xffff88800a68a000 (size 2048):
  comm "xdp\_helper", pid 318, jiffies 4294692778
  hex dump (first 32 bytes):
    00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  ................
    00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  ................
  backtrace (crc 0):
    \_\_kvmalloc\_node\_noprof+0x402/0x570
    virtnet\_xsk\_pool\_enable+0x293/0x6a0 (drivers/net/virtio\_net.c:5882)
    xp\_assign\_dev+0x369/0x670 (net/xdp/xsk\_buff\_pool.c:226)
    xsk\_bind+0x6a5/0x1ae0
    \_\_sys\_bind+0x15e/0x230
    \_\_x64\_sys\_bind+0x72/0xb0
    do\_syscall\_64+0xc1/0x1d0
    entry\_SYSCALL\_64\_after\_hwframe+0x77/0x7f

## Affected and fixed versions

- Linux: \>= e9f3962441c0a4d6f16c656e6c8aa02a3ccdd568, \< 94a6f6c204abb2b2dcd2ce287536cc924469cfb5; \>= e9f3962441c0a4d6f16c656e6c8aa02a3ccdd568, \< ba6917810bb4a5a32661fa941717399052b3f0d9; \>= e9f3962441c0a4d6f16c656e6c8aa02a3ccdd568, \< 4397684a292a71fbc1e815c3e283f7490ddce5ae (cvelist)
- Linux: 6.11 (cvelist)

## Mitigation

- Upgrade Linux to 4397684a292a71fbc1e815c3e283f7490ddce5ae 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-37955. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2025-37955.md
Affected: Linux >= e9f3962441c0a4d6f16c656e6c8aa02a3ccdd568, < 94a6f6c204abb2b2dcd2ce287536cc924469cfb5; >= e9f3962441c0a4d6f16c656e6c8aa02a3ccdd568, < ba6917810bb4a5a32661fa941717399052b3f0d9; >= e9f3962441c0a4d6f16c656e6c8aa02a3ccdd568, < 4397684a292a71fbc1e815c3e283f7490ddce5ae; Linux 6.11
Fixed in: Linux 94a6f6c204abb2b2dcd2ce287536cc924469cfb5, Linux 4397684a292a71fbc1e815c3e283f7490ddce5ae

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-37955 being exploited?

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

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

Medium: CVSS 5.5 (v3.1, scored by NVD). Not remotely exploitable (local or adjacent access needed).

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

Linux \>= e9f3962441c0a4d6f16c656e6c8aa02a3ccdd568, \< 94a6f6c204abb2b2dcd2ce287536cc924469cfb5; \>= e9f3962441c0a4d6f16c656e6c8aa02a3ccdd568, \< ba6917810bb4a5a32661fa941717399052b3f0d9; \>= e9f3962441c0a4d6f16c656e6c8aa02a3ccdd568, \< 4397684a292a71fbc1e815c3e283f7490ddce5ae; Linux 6.11.

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

Yes. Fixed in Linux 94a6f6c204abb2b2dcd2ce287536cc924469cfb5, Linux 4397684a292a71fbc1e815c3e283f7490ddce5ae. Upgrade Linux to 4397684a292a71fbc1e815c3e283f7490ddce5ae or later.

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

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/94a6f6c204abb2b2dcd2ce287536cc924469cfb5>
- patch: <https://git.kernel.org/stable/c/ba6917810bb4a5a32661fa941717399052b3f0d9>
- patch: <https://git.kernel.org/stable/c/4397684a292a71fbc1e815c3e283f7490ddce5ae>

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

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