Skip to content
CVE PROGRAM SOURCE RECORDUnscored

CVE-2022-50837

net: dsa: tag_8021q: avoid leaking ctx on dsa_tag_8021q_register() error path

Description

In the Linux kernel, the following vulnerability has been resolved: net: dsa: tag_8021q: avoid leaking ctx on dsa_tag_8021q_register() error path If dsa_tag_8021q_setup() fails, for example due to the inability of the device to install a VLAN, the tag_8021q context of the switch will leak. Make sure it is freed on the error path.

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

  • 328621f6131f667c5c328bb72d45442fd76efb81 to < 09f30f394e832ed09859b6a80fdd20668a9104ffaffected
  • 328621f6131f667c5c328bb72d45442fd76efb81 to < 39691d51af99f80efb9e365f94b8e0c791fa1a2faffected
  • 328621f6131f667c5c328bb72d45442fd76efb81 to < 14ed46a13aba42a6ddd85de6f6274090df3586a5affected
  • 328621f6131f667c5c328bb72d45442fd76efb81 to < e095493091e850d5292ad01d8fbf5cde1d89ac53affected

Linux Linux

Default version status: affected

  • 5.15affected
  • 0 to < 5.15unaffected
  • 5.15.86 to ≤ 5.15.*unaffected
  • 6.0.16 to ≤ 6.0.*unaffected
  • 6.1.2 to ≤ 6.1.*unaffected
  • 6.2 to ≤ *unaffected

References