Skip to content
CVE PROGRAM SOURCE RECORDUnscored

CVE-2022-50663

net: stmmac: fix possible memory leak in stmmac_dvr_probe()

Description

In the Linux kernel, the following vulnerability has been resolved: net: stmmac: fix possible memory leak in stmmac_dvr_probe() The bitmap_free() should be called to free priv->af_xdp_zc_qps when create_singlethread_workqueue() fails, otherwise there will be a memory leak, so we add the err path error_wq_init to fix it.

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

  • bba2556efad66e7eaa56fece13f7708caa1187f8 to < 96e50897029f65222ef76cfe9bc802321fcea33baffected
  • bba2556efad66e7eaa56fece13f7708caa1187f8 to < b59253e32c203a20bce15dca80890b7d268bacd7affected
  • bba2556efad66e7eaa56fece13f7708caa1187f8 to < 446757787baf99b7db15cb347783c45a37bfe21faffected
  • bba2556efad66e7eaa56fece13f7708caa1187f8 to < a137f3f27f9290933fe7e40e6dc8a445781c31a2affected

Linux Linux

Default version status: affected

  • 5.13affected
  • 0 to < 5.13unaffected
  • 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