CVE-2022-50663Published Dec 9, 2025 · Dec 9Updated Nov 12
net: stmmac: fix possible memory leak in stmmac_dvr_probe()
Linux
Unrated
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
| No fix yet |
| Linux Linux |
|
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
| No fix yet |
| Linux Linux |
|
|
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.
From the CVE record · Linux
The Linux kernel's stmmac driver can leak memory during stmmac_dvr_probe() if create_singlethread_workqueue() fails. The input does not describe an attacker action or specify network or local access, authentication, or user interaction requirements.
Engineers running the Linux kernel should check whether their version includes the stmmac fix; affected versions are not specified.