CVE-2025-37955: virtio-net: free xsk_buffs on error in virtnet_xsk_pool_enable()

Published May 20, 2025
·
Updated

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

virtio-net: free xskbuffs on error in virtnetxskpoolenable()

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

unreferenced object 0xffff88800a68a000 (size 2048): comm "xdphelper", 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): kvmallocnodenoprof+0x402/0x570 virtnetxskpoolenable+0x293/0x6a0 (drivers/net/virtionet.c:5882) xpassigndev+0x369/0x670 (net/xdp/xskbuffpool.c:226) xskbind+0x6a5/0x1ae0 sysbind+0x15e/0x230 x64sysbind+0x72/0xb0 dosyscall64+0xc1/0x1d0 entrySYSCALL64afterhwframe+0x77/0x7f

Affected Software

8 affected components
Linux Linux kernel
Linux Linux kernel>=6.11<6.12.29
Linux Linux kernel>=6.13<6.14.7
Linux Linux kernel=6.15-rc1
Linux Linux kernel=6.15-rc2
Linux Linux kernel=6.15-rc3
Linux Linux kernel=6.15-rc4
Linux Linux kernel=6.15-rc5

Event History

May 20, 2025
CVE Published
via MITRE·04:01 PM
Data Sourced
via MITRE·04:01 PM
Description
Data Sourced
via NVD·04:15 PM
RemedyDescriptionSeverityWeaknessAffected Software

Frequently Asked Questions

1

What is the severity of CVE-2025-37955?

CVE-2025-37955 is classified as a medium severity vulnerability in the Linux kernel.

2

How do I fix CVE-2025-37955?

To fix CVE-2025-37955, update your Linux kernel to the latest version where this vulnerability has been patched.

3

What systems are affected by CVE-2025-37955?

CVE-2025-37955 affects systems running specific versions of the Linux kernel that utilize virtio-net.

4

What impact does CVE-2025-37955 have on my system?

CVE-2025-37955 can lead to memory leaks, potentially affecting system performance and stability.

5

When was CVE-2025-37955 disclosed?

CVE-2025-37955 was disclosed as part of a security update in the Linux kernel.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203