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-07-15T01:49:08.648662281Z
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
{
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/49xxx/CVE-2022-49857.json",
    "cna_assigner": "Linux"
}
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"

Linux / Kernel

Package

Name
Kernel

Affected ranges

Type
ECOSYSTEM
Events
Introduced
5.10.0
Fixed
5.10.155
Type
ECOSYSTEM
Events
Introduced
5.11.0
Fixed
5.15.79
Type
ECOSYSTEM
Events
Introduced
5.16.0
Fixed
6.0.9

Database specific

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