CVE-2022-50663

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

State
Published
Severity
Not scored
Published
Dec 9, 2025
Updated
May 11, 2026
Reserved
Dec 9, 2025

Read the record on cve.org

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.

Scores

The record has no CVSS score.

Weaknesses

The record names no weakness.

Affected Products

ProductVersions
LinuxLinux
  • bba2556efad66e7eaa56fece13f7708caa1187f8 to before 96e50897029f65222ef76cfe9bc802321fcea33bAffected
  • bba2556efad66e7eaa56fece13f7708caa1187f8 to before b59253e32c203a20bce15dca80890b7d268bacd7Affected
  • bba2556efad66e7eaa56fece13f7708caa1187f8 to before 446757787baf99b7db15cb347783c45a37bfe21fAffected
  • bba2556efad66e7eaa56fece13f7708caa1187f8 to before a137f3f27f9290933fe7e40e6dc8a445781c31a2Affected
LinuxLinux
  • 5.13Affected
  • before 5.13Not affected
  • 5.15.86 through 5.15.*Not affected
  • 6.0.16 through 6.0.*Not affected
  • 6.1.2 through 6.1.*Not affected
  • 6.2 and laterNot affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.