CVE-2022-50663
kernel: net: stmmac: fix possible memory leak in stmmac_dvr_probe()
Severity
ModerateRed Hat Product Security
CVSS 3.1
Review impact separately from score.
Published · December 9, 2025
Updated · June 30, 2026
Description
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.
Statement
This is a memory leak in the stmmac Ethernet driver's probe function. The leak occurs only when workqueue creation fails, which is an uncommon error condition. The impact is limited as it requires specific failure conditions during driver initialization.
CVSS score applicability
The CVSS score(s) listed for this vulnerability do not reflect the associated product's status, and are included for informational purposes to better understand the severity of this vulnerability.
Mitigation
No mitigation is specified in collected source.
CVSS / CWE
CVSS 3.1 · 4.7CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:H
CWE-771 · Missing Reference to Active Allocated Resource