CVE-2022-49857
MEDIUM 5.5CVSS 3.1In 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.
- Published
- 1 May 2025
- Last modified
- 17 Jun 2026
- Assigned by
- 416baaa9-dc9f-4396-8d5f-8c081fb06d67
- NVD status
- Modified
- Weakness
- CWE-401
- Sources
- NVDJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | MEDIUM 5.5 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H |
| NVD | 134c704f-9b21-4f2e-91b3-4a467353bcc0 (Secondary) | CVSS 3.1 | MEDIUM 5.5 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | linux | linux_kernelcpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* |
>= 5.10, < 5.10.155 | 5.10.155 |
| NVD | linux | linux_kernelcpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* |
>= 5.11, < 5.15.79 | 5.15.79 |
| NVD | linux | linux_kernelcpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* |
>= 5.16, < 6.0.9 | 6.0.9 |
| NVD | linux | linux_kernelcpe:2.3:o:linux:linux_kernel:6.1:rc1:*:*:*:*:*:* |
= 6.1 | |
| NVD | linux | linux_kernelcpe:2.3:o:linux:linux_kernel:6.1:rc2:*:*:*:*:*:* |
= 6.1 | |
| NVD | linux | linux_kernelcpe:2.3:o:linux:linux_kernel:6.1:rc3:*:*:*:*:*:* |
= 6.1 | |
| NVD | linux | linux_kernelcpe:2.3:o:linux:linux_kernel:6.1:rc4:*:*:*:*:*:* |
= 6.1 |
References
- https://git.kernel.org/stable/c/31e5084ac6876e52dbb0a1cc4fc18b6c79979f31 · Patch
- https://git.kernel.org/stable/c/409731df6310a33f4d0a3ef594d2410cdcd637f2 · Patch
- https://git.kernel.org/stable/c/519b58bbfa825f042fcf80261cc18e1e35f85ffd · Patch
- https://git.kernel.org/stable/c/5333cf1b7f6861912aff6263978d4781f9858e47 · Patch
History
- 25 Nov 2026 20:58 UTC · NVD: first stored (published 1 May 2025)