All reports
Medium

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

Affected versions

Affected versions
Unknown
Fixed version
Not reported

Exploitation

CVE-2022-50663

Probability of exploitation in the next 30 days: 0.26%

FIRST EPSS · 2026-11-24

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.

A memory leak vulnerability was found in the stmmac network driver in the Linux kernel. When create_singlethread_workqueue() fails during probe, the previously allocated bitmap (priv->af_xdp_zc_qps) is not freed. This can lead to memory resource exhaustion if the error condition is repeatedly triggered.