CVE-2022-49619

Source
https://cve.org/CVERecord?id=CVE-2022-49619
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2022-49619.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2022-49619
Downstream
Related
Published
2025-02-26T02:23:37.879Z
Modified
2026-04-02T08:27:45.549477Z
Severity
  • 5.5 (Medium) CVSS_V3 - CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H CVSS Calculator
Summary
net: sfp: fix memory leak in sfp_probe()
Details

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

net: sfp: fix memory leak in sfp_probe()

sfpprobe() allocates a memory chunk from sfp with sfpalloc(). When devmaddaction() fails, sfp is not freed, which leads to a memory leak.

We should use devmaddactionorreset() instead of devmaddaction().

Database specific
{
    "cna_assigner": "Linux",
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/49xxx/CVE-2022-49619.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
73970055450eebc6fc36fd170e56cc45889d0093
Fixed
9ec5a97f327a89031fce6cfc3e95543c53936638
Fixed
1545bc727625ea6e8decd717e5d1e8cc704ccf8f
Fixed
ede990cfc42775bd0141e21f37ee365dcaeeb50f
Fixed
67dc32542a1fb7790d0853cf4a5cf859ac6a2002
Fixed
204543581a2f26bb3b997a304c0bd06926ba7f15
Fixed
f22ddc8a5278d7fb6369a0aeb0d8775a0aefaaee
Fixed
0a18d802d65cf662644fd1d369c86d84a5630652

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2022-49619.json"