CVE-2025-37955

Source
https://cve.org/CVERecord?id=CVE-2025-37955
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2025-37955.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2025-37955
Downstream
Related
Published
2025-05-20T16:01:49.209Z
Modified
2026-03-20T12:42:35.310007Z
Summary
virtio-net: free xsk_buffs on error in virtnet_xsk_pool_enable()
Details

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 virtnetxskpool_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): __kvmallocnodenoprof+0x402/0x570 virtnetxskpoolenable+0x293/0x6a0 (drivers/net/virtionet.c:5882) xpassigndev+0x369/0x670 (net/xdp/xskbuffpool.c:226) xsk_bind+0x6a5/0x1ae0 __sys_bind+0x15e/0x230 __x64sysbind+0x72/0xb0 dosyscall64+0xc1/0x1d0 entrySYSCALL64afterhwframe+0x77/0x7f

Database specific
{
    "cna_assigner": "Linux",
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/37xxx/CVE-2025-37955.json"
}
References

Affected packages

Git / git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git

Affected ranges

Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
e9f3962441c0a4d6f16c656e6c8aa02a3ccdd568
Fixed
94a6f6c204abb2b2dcd2ce287536cc924469cfb5
Fixed
ba6917810bb4a5a32661fa941717399052b3f0d9
Fixed
4397684a292a71fbc1e815c3e283f7490ddce5ae

Database specific

source
"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2025-37955.json"