# CVE-2022-50663: net: stmmac: fix possible memory leak in stmmac_dvr_probe()

- Severity: not scored yet
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.26%, higher than 18% of CVEs (2026-12-01)
- Published: 2025-12-09T01:29:12.392Z
- Modified: 2026-11-10T12:10:00.177Z
- Assigned by: Linux

## 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.

(As written by CVE List.)

## Affected

- Linux Linux: from bba2556efad66e7eaa56fece13f7708caa1187f8 before 96e50897029f65222ef76cfe9bc802321fcea33b; from bba2556efad66e7eaa56fece13f7708caa1187f8 before b59253e32c203a20bce15dca80890b7d268bacd7; from bba2556efad66e7eaa56fece13f7708caa1187f8 before 446757787baf99b7db15cb347783c45a37bfe21f; from bba2556efad66e7eaa56fece13f7708caa1187f8 before a137f3f27f9290933fe7e40e6dc8a445781c31a2; 5.13 (not affected: before 5.13; from 5.15.86 up to 5.15.*; from 6.0.16 up to 6.0.*; from 6.1.2 up to 6.1.*; from 6.2 up to *)

## References

- <https://git.kernel.org/stable/c/96e50897029f65222ef76cfe9bc802321fcea33b>
- <https://git.kernel.org/stable/c/b59253e32c203a20bce15dca80890b7d268bacd7>
- <https://git.kernel.org/stable/c/446757787baf99b7db15cb347783c45a37bfe21f>
- <https://git.kernel.org/stable/c/a137f3f27f9290933fe7e40e6dc8a445781c31a2>

## Sources

- CVE List: [CVE-2022-50663](https://www.cve.org/CVERecord?id=CVE-2022-50663), CVE Terms of Use, modified 2026-05-11
- NVD: [CVE-2022-50663](https://nvd.nist.gov/vuln/detail/CVE-2022-50663), Public domain, modified 2026-11-10

---

Page: https://cve.day/CVE-2022-50663 · Whole record: https://cve.day/CVE-2022-50663.json · Rebuilt by cve.day 2026-11-25T22:58:21.311Z
