{"id":"CVE-2022-49857","aliases":["CVE-2022-49857"],"related":[],"kind":"vulnerability","state":"published","title":"net: marvell: prestera: fix memory leak in prestera_rxtx_switch_init()","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\nnet: marvell: prestera: fix memory leak in prestera_rxtx_switch_init()\n\nWhen prestera_sdma_switch_init() failed, the memory pointed to by\nsw->rxtx isn't released. Fix it. Only be compiled, not be tested.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In the Linux kernel, the following vulnerability has been resolved:\n\nnet: marvell: prestera: fix memory leak in prestera_rxtx_switch_init()\n\nWhen prestera_sdma_switch_init() failed, the memory pointed to by\nsw->rxtx isn't released. Fix it. Only be compiled, not be tested.","source":"cvelist"},{"lang":"es","text":"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-&gt;rxtx no se libera. Se debe corregir. Solo se compilará, no se probará.","source":"nvd"}],"published":"2025-05-01T14:10:10.892Z","modified":"2026-06-17T05:19:19.220Z","severity":{"scorer":"CISA-ADP","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","score":5.5,"rating":"MEDIUM"},"severities":[{"scorer":"CISA-ADP","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","score":5.5,"rating":"MEDIUM"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","score":5.5,"rating":"MEDIUM"}],"cwes":["CWE-401"],"affected":[{"ranges":[{"type":"git","introduced":"501ef3066c89d7f9045315e1be58749cf9e6814d","fixed":"5333cf1b7f6861912aff6263978d4781f9858e47","status":"affected"},{"type":"git","introduced":"501ef3066c89d7f9045315e1be58749cf9e6814d","fixed":"409731df6310a33f4d0a3ef594d2410cdcd637f2","status":"affected"},{"type":"git","introduced":"501ef3066c89d7f9045315e1be58749cf9e6814d","fixed":"31e5084ac6876e52dbb0a1cc4fc18b6c79979f31","status":"affected"},{"type":"git","introduced":"501ef3066c89d7f9045315e1be58749cf9e6814d","fixed":"519b58bbfa825f042fcf80261cc18e1e35f85ffd","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"5.10","status":"affected"},{"type":"semver","introduced":"0","fixed":"5.10","status":"unaffected"},{"type":"semver","introduced":"5.10.155","lastAffected":"5.10.*","status":"unaffected"},{"type":"semver","introduced":"5.15.79","lastAffected":"5.15.*","status":"unaffected"},{"type":"semver","introduced":"6.0.9","lastAffected":"6.0.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"6.1","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"status":"affected","introduced":"5.10","fixed":"5.10.155"},{"status":"affected","introduced":"5.11","fixed":"5.15.79"},{"status":"affected","introduced":"5.16","fixed":"6.0.9"},{"status":"affected","version":"6.1"},{"status":"affected","version":"6.1"},{"status":"affected","version":"6.1"},{"status":"affected","version":"6.1"}],"vendor":"linux","product":"linux_kernel","cpe":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://git.kernel.org/stable/c/5333cf1b7f6861912aff6263978d4781f9858e47","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/409731df6310a33f4d0a3ef594d2410cdcd637f2","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/31e5084ac6876e52dbb0a1cc4fc18b6c79979f31","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/519b58bbfa825f042fcf80261cc18e1e35f85ffd","tags":["patch"],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2025-10-01T16:05:54.265Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2022-49857","url":"https://www.cve.org/CVERecord?id=CVE-2022-49857","licence":"CVE Terms of Use","modified":"2026-05-11T19:08:05.104Z"},{"source":"nvd","name":"NVD","id":"CVE-2022-49857","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-49857","licence":"Public domain","modified":"2026-06-17T05:19:19.220Z"}],"updatedAt":"2026-11-25T22:58:20.903Z","epss":{"score":0.00206,"percentile":0.11183,"date":"2026-12-01T12:00:22.000Z"}}