CVE-2022-49857

Source
https://cve.org/CVERecord?id=CVE-2022-49857
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2022-49857.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2022-49857
Downstream
Published
2025-05-01T14:10:10.892Z
Modified
2026-04-02T08:28:00.418543Z
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: marvell: prestera: fix memory leak in prestera_rxtx_switch_init()
Details

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

net: marvell: prestera: fix memory leak in presterarxtxswitch_init()

When presterasdmaswitch_init() failed, the memory pointed to by sw->rxtx isn't released. Fix it. Only be compiled, not be tested.

Database specific
{
    "cna_assigner": "Linux",
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/49xxx/CVE-2022-49857.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
501ef3066c89d7f9045315e1be58749cf9e6814d
Fixed
5333cf1b7f6861912aff6263978d4781f9858e47
Fixed
409731df6310a33f4d0a3ef594d2410cdcd637f2
Fixed
31e5084ac6876e52dbb0a1cc4fc18b6c79979f31
Fixed
519b58bbfa825f042fcf80261cc18e1e35f85ffd

Database specific

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