VYPR
Unrated severityNVD Advisory· Published Dec 9, 2025· Updated Apr 15, 2026

CVE-2022-50663

CVE-2022-50663

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.

AI Insight

LLM-synthesized narrative grounded in this CVE's description and references.

Memory leak in Linux kernel's stmmac driver when create_singlethread_workqueue() fails, fixed by adding proper cleanup.

A memory leak vulnerability exists in the Linux kernel's stmmac (STMicroelectronics MAC) driver. In the stmmac_dvr_probe() function, a bitmap (priv->af_xdp_zc_qps) is allocated but not freed if create_singlethread_workqueue() fails. This missing bitmap_free() call leads to a memory leak over time [1].

The vulnerability is triggered during driver probe when the workqueue creation fails due to resource constraints or other errors. While the specific conditions are rare, the issue can be exploited by an attacker with local access who can trigger the probe failure, potentially repeatedly.

Impact is limited to memory exhaustion, which could degrade system performance or lead to a denial-of-service condition. No privilege escalation or code execution is implied.

Both the mainline and stable kernels have been patched to address this issue, as seen in the referenced commits [1][2]. Users are advised to update their kernels to versions containing the fix.

AI Insight generated on May 19, 2026. Synthesized from this CVE's description and the cited reference URLs; citations are validated against the source bundle.

Affected products

2
  • Linux/Kernelinferred2 versions
    (expand)+ 1 more
    • (no CPE)
    • (no CPE)

Patches

4

Vulnerability mechanics

Generated on May 9, 2026. Inputs: CWE entries + fix-commit diffs from this CVE's patches. Citations validated against bundle.

References

4

News mentions

0

No linked articles in our index yet.