CVE-2022-49502Published Feb 26, 2025 · Feb 26Updated Oct 28
media: rga: fix possible memory leak in rga_probe
Linux
Medium5.5Fix available
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
| No fix yet |
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
| No fix yet |
| Linux Linux |
|
|
In the Linux kernel, the following vulnerability has been resolved:
media: rga: fix possible memory leak in rga_probe
rga->m2m_dev needs to be freed when rga_probe fails.
From the CVE record · Linux
The Linux kernel's RGA driver may leak memory if rga_probe fails because rga->m2m_dev is not freed. The input does not describe an attacker action or specify access, authentication, or user-interaction requirements.
Engineers running Linux kernels with the RGA driver should check their versions; affected versions are not specified.