CVE-2025-37955
virtio-net: free xsk_buffs on error in virtnet_xsk_pool_enable()
At a glance
- Source
- NVD
- EPSS
- EPSS 0.19 % · percentile 8 ()
- State
- PUBLISHED
- Published
- Updated
- Assigner
- Linux
- NVD status
- Analyzed
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
Weaknesses (CWE)
- CWE-401 — Missing Release of Memory after Effective Lifetime
References
Scores
| Version | Score | Vector | Scored by |
|---|---|---|---|
| CVSS 3.1 | MEDIUM 5.5 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H | NVD · nvd@nist.gov (Primary) |
European references
- ENISA EUVD · EUVD-2025-15901
- GCVE · GCVE-0-2025-37955
CERT-FR advisories
- CERTFR-2026-AVI-0247 — Multiples vulnérabilités dans le noyau Linux de SUSE · cert.ssi.gouv.fr
- CERTFR-2025-AVI-0721 — Multiples vulnérabilités dans le noyau Linux d'Ubuntu · cert.ssi.gouv.fr
Affected configurations (NVD CPE)
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*≥ 6.11 < 6.12.29cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*≥ 6.13 < 6.14.7cpe:2.3:o:linux:linux_kernel:6.15:rc1:*:*:*:*:*:*cpe:2.3:o:linux:linux_kernel:6.15:rc2:*:*:*:*:*:*cpe:2.3:o:linux:linux_kernel:6.15:rc3:*:*:*:*:*:*cpe:2.3:o:linux:linux_kernel:6.15:rc4:*:*:*:*:*:*cpe:2.3:o:linux:linux_kernel:6.15:rc5:*:*:*:*:*:*
Affected products
| Product | Versions |
|---|---|
| Linux · Linux | affected e9f3962441c0a4d6f16c656e6c8aa02a3ccdd568 < 94a6f6c204abb2b2dcd2ce287536cc924469cfb5 ; affected e9f3962441c0a4d6f16c656e6c8aa02a3ccdd568 < ba6917810bb4a5a32661fa941717399052b3f0d9 ; affected e9f3962441c0a4d6f16c656e6c8aa02a3ccdd568 < 4397684a292a71fbc1e815c3e283f7490ddce5ae |
| Linux · Linux | affected 6.11 ; unaffected 0 < 6.11 ; unaffected 6.12.29 ≤ 6.12.* ; unaffected 6.14.7 ≤ 6.14.* ; unaffected 6.15 ≤ * |
Sources
| Source | Licence |
|---|---|
| CVE List (CVEProject cvelistV5) | CVE Program Terms of Use |
| EPSS (FIRST.org) | FIRST — attribution requested |
| ENISA EUVD | ENISA — reproduction authorised, source acknowledged |
| CERT-FR (ANSSI) | Licence Ouverte / Etalab 2.0 |
| NVD (NIST) via fkie-cad/nvd-json-data-feeds | Public domain — this product uses data from the NVD API but is not endorsed or certified by the NVD |