CVE-2022-49857
published medium CVSS 3.1 · 5.5net: marvell: prestera: fix memory leak in prestera_rxtx_switch_init()
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Linux | — | Linux501ef3066c89d7f9045315e1be58749cf9e6814d to < 5333cf1b7f6861912aff6263978d4781f9858e47 · 501ef3066c89d7f9045315e1be58749cf9e6814d to < 409731df6310a33f4d0a3ef594d2410cdcd637f2 · 501ef3066c89d7f9045315e1be58749cf9e6814d to < 31e5084ac6876e52dbb0a1cc4fc18b6c79979f31 · 501ef3066c89d7f9045315e1be58749cf9e6814d to < 519b58bbfa825f042fcf80261cc18e1e35f85ffd · Other versions: unaffected | Affected | Not stated | Linux |
| Linux | — | Linux5.10 (affected) · 0 to < 5.10 (unaffected · semver) · 5.10.155 through 5.10.* (unaffected · semver) · 5.15.79 through 5.15.* (unaffected · semver) · 6.0.9 through 6.0.* (unaffected · semver) · 6.1 and later (unaffected · original_commit_for_fix) · Other versions: affected | Version-specific | Not stated | Linux |
| Amazon Linux | AL2 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
| Amazon Linux | AL2023 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
Description
In the Linux kernel, the following vulnerability has been resolved: net: marvell: prestera: fix memory leak in prestera_rxtx_switch_init() When prestera_sdma_switch_init() failed, the memory pointed to by sw->rxtx isn't released. Fix it. Only be compiled, not be tested.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 5.5 / 10
- Severity
- medium
- Provider
- CISA-ADP · adp
- Vector string
- CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Linux | Linux | 501ef3066c89d7f9045315e1be58749cf9e6814d to < 5333cf1b7f6861912aff6263978d4781f9858e47 (affected · git)501ef3066c89d7f9045315e1be58749cf9e6814d to < 409731df6310a33f4d0a3ef594d2410cdcd637f2 (affected · git)501ef3066c89d7f9045315e1be58749cf9e6814d to < 31e5084ac6876e52dbb0a1cc4fc18b6c79979f31 (affected · git)501ef3066c89d7f9045315e1be58749cf9e6814d to < 519b58bbfa825f042fcf80261cc18e1e35f85ffd (affected · git)Default: unaffected | Linux · cna |
| Linux | Linux | 5.10 (affected)0 to < 5.10 (unaffected · semver)5.10.155 through 5.10.* (unaffected · semver)5.15.79 through 5.15.* (unaffected · semver)6.0.9 through 6.0.* (unaffected · semver)6.1 and later (unaffected · original_commit_for_fix)Default: affected | Linux · cna |
Weaknesses
1- CWE-401 CWE-401 Missing Release of Memory after Effective Lifetime
References
4Provider assertions
2Linux · cna
net: marvell: prestera: fix memory leak in prestera_rxtx_switch_init()
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 238042c5ff02d292546b9826bd2a60f5416fddb285aa80fad7dec1bf1a861156
- Ingested
- 23 Sep 2026, 08:04:21 UTC
- Source record
- Official CVE record