5.5medium
net: marvell: prestera: fix memory leak in prestera_rxtx_switch_init()
- Severity
- 5.5medium CVSS:3.1 by CISA-ADP
- Exploit likelihood
- 0.21% (higher than 11% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- Linux
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.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| Linux Linux | from 501ef3066c89d7f9045315e1be58749cf9e6814d before 5333cf1b7f6861912aff6263978d4781f9858e47, from 501ef3066c89d7f9045315e1be58749cf9e6814d before 409731df6310a33f4d0a3ef594d2410cdcd637f2, from 501ef3066c89d7f9045315e1be58749cf9e6814d before 31e5084ac6876e52dbb0a1cc4fc18b6c79979f31, from 501ef3066c89d7f9045315e1be58749cf9e6814d before 519b58bbfa825f042fcf80261cc18e1e35f85ffd, 5.10 Not affected: before 5.10, from 5.10.155 up to 5.10.*, from 5.15.79 up to 5.15.*, from 6.0.9 up to 6.0.*, from 6.1 up to * | CVE List |
| linux linux_kernel | from 5.10 before 5.10.155, from 5.11 before 5.15.79, from 5.16 before 6.0.9, 6.1 | NVD |
All scores
| CISA-ADP | 5.5medium CVSS:3.1 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H |
| NVD | 5.5medium CVSS:3.1 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H |
Classification
SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.
What each source says
CVE List
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.
NVD (es)
En el kernel de Linux, se ha resuelto la siguiente vulnerabilidad: net: marvell: prestera: se corrige una fuga de memoria en prestera_rxtx_switch_init(). Cuando prestera_sdma_switch_init() falla, la memoria a la que apunta sw->rxtx no se libera. Se debe corregir. Solo se compilará, no se probará.
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2022-49857 changed 2026-05-11 | CVE Terms of Use |
| NVD | CVE-2022-49857 changed 2026-06-17 | Public domain |