CVE-2025-37874

Source
https://nvd.nist.gov/vuln/detail/CVE-2025-37874
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-37874.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2025-37874
Downstream
Related
Published
2025-05-09T07:16:08Z
Modified
2025-05-12T17:32:32Z
Summary
[none]
Details

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

net: ngbe: fix memory leak in ngbe_probe() error path

When ngbeswinit() is called, memory is allocated for wx->rsskey in wxinitrsskey(). However, in ngbeprobe() function, the subsequent error paths after ngbeswinit() don't free the rsskey. Fix that by freeing it in error path along with wx->mac_table.

Also change the label to which execution jumps when ngbeswinit() fails, because otherwise, it could lead to a double free for rsskey, when the mactable allocation fails in wxswinit().

References

Affected packages

Debian:13 / linux

Package

Name
linux
Purl
pkg:deb/debian/linux?arch=source

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
6.12.25-1

Ecosystem specific

{
    "urgency": "not yet assigned"
}