# CVE-2022-49502: media: rga: fix possible memory leak in rga_probe

- Severity: Medium 5.5 (CVSS:3.1, scored by CISA-ADP) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.26%, higher than 19% of CVEs (2026-12-01)
- Published: 2025-02-26T02:13:35.528Z
- Modified: 2026-06-17T05:18:15.607Z
- Weaknesses: CWE-401
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: Linux

## Description

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.

(As written by CVE List.)

## Affected

- Linux Linux: from f7e7b48e6d796da85d99b318def20d9313ef61df before 8ddc89437ccefa18279918c19a61fd81527f40b9; from f7e7b48e6d796da85d99b318def20d9313ef61df before eeb4819e94aa69767b9e5591e70c63e8b7c5786a; from f7e7b48e6d796da85d99b318def20d9313ef61df before b7bbca4d08471bc8404a946bab1aa017dd05199b; from f7e7b48e6d796da85d99b318def20d9313ef61df before 1cdc768468c25d6b10ab83ec1efd4a8554532d69; from f7e7b48e6d796da85d99b318def20d9313ef61df before a71eb6025305192e646040cd76ccacb5bd48a1b5; 4.15 (not affected: before 4.15; from 5.10.121 up to 5.10.*; from 5.15.46 up to 5.15.*; from 5.17.14 up to 5.17.*; from 5.18.3 up to 5.18.*; from 5.19 up to *)
- linux linux_kernel: before 5.10.121; from 5.11 before 5.15.46; from 5.16 before 5.17.14; from 5.18 before 5.18.3

## Every score

- CISA-ADP: CVSS:3.1 5.5 Medium `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- NVD: CVSS:3.1 5.5 Medium `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`

## References

- <https://git.kernel.org/stable/c/8ddc89437ccefa18279918c19a61fd81527f40b9> (patch)
- <https://git.kernel.org/stable/c/eeb4819e94aa69767b9e5591e70c63e8b7c5786a> (patch)
- <https://git.kernel.org/stable/c/b7bbca4d08471bc8404a946bab1aa017dd05199b> (patch)
- <https://git.kernel.org/stable/c/1cdc768468c25d6b10ab83ec1efd4a8554532d69> (patch)
- <https://git.kernel.org/stable/c/a71eb6025305192e646040cd76ccacb5bd48a1b5> (patch)

## Sources

- CVE List: [CVE-2022-49502](https://www.cve.org/CVERecord?id=CVE-2022-49502), CVE Terms of Use, modified 2026-05-11
- NVD: [CVE-2022-49502](https://nvd.nist.gov/vuln/detail/CVE-2022-49502), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2022-49502 · Whole record: https://cve.day/CVE-2022-49502.json · Rebuilt by cve.day 2026-11-25T22:58:20.694Z
