Skip to content
CVE PROGRAM SOURCE RECORD5.5 Medium

CVE-2022-49857

net: marvell: prestera: fix memory leak in prestera_rxtx_switch_init()

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 products

Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.

Linux Linux

Default version status: unaffected

  • 501ef3066c89d7f9045315e1be58749cf9e6814d to < 5333cf1b7f6861912aff6263978d4781f9858e47affected
  • 501ef3066c89d7f9045315e1be58749cf9e6814d to < 409731df6310a33f4d0a3ef594d2410cdcd637f2affected
  • 501ef3066c89d7f9045315e1be58749cf9e6814d to < 31e5084ac6876e52dbb0a1cc4fc18b6c79979f31affected
  • 501ef3066c89d7f9045315e1be58749cf9e6814d to < 519b58bbfa825f042fcf80261cc18e1e35f85ffdaffected

Linux Linux

Default version status: affected

  • 5.10affected
  • 0 to < 5.10unaffected
  • 5.10.155 to ≤ 5.10.*unaffected
  • 5.15.79 to ≤ 5.15.*unaffected
  • 6.0.9 to ≤ 6.0.*unaffected
  • 6.1 to ≤ *unaffected

References