# CVE-2022-49091: drm/imx: Fix memory leak in imx_pd_connector_get_modes

- Severity: Medium 5.5 (CVSS:3.1, scored by NVD) `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.25%, higher than 17% of CVEs (2026-12-01)
- Published: 2025-02-26T01:54:46.701Z
- Modified: 2026-06-17T05:17:03.270Z
- Weaknesses: CWE-401
- Assigned by: Linux

## Description

In the Linux kernel, the following vulnerability has been resolved:

drm/imx: Fix memory leak in imx_pd_connector_get_modes

Avoid leaking the display mode variable if of_get_drm_display_mode
fails.

Addresses-Coverity-ID: 1443943 ("Resource leak")

(As written by CVE List.)

## Affected

- Linux Linux: from 76ecd9c9fb24b014a6f33fbb1287ede3be12158b before d2c2758cfb0262637fd93350bdc8ad485fb1dd61; from 76ecd9c9fb24b014a6f33fbb1287ede3be12158b before 38bf605bd8c83d942c8dcffaef3633b7d8b37549; from 76ecd9c9fb24b014a6f33fbb1287ede3be12158b before 41624d7c0c3df71dee170c610744aaa5909327b8; from 76ecd9c9fb24b014a6f33fbb1287ede3be12158b before c539a6a5896ed92bfb91494e46996d013f3d5967; from 76ecd9c9fb24b014a6f33fbb1287ede3be12158b before f8b0ef0a5889890b50482b6593bd8de544736351; from 76ecd9c9fb24b014a6f33fbb1287ede3be12158b before 31e449302ed00c38d4068443cf0243279701ab28; from 76ecd9c9fb24b014a6f33fbb1287ede3be12158b before bc23c327e1a23cc3555fa1e86288e13288515442; from 76ecd9c9fb24b014a6f33fbb1287ede3be12158b before 7526102d908ec5ae777aa77723d52fce12916093; from 76ecd9c9fb24b014a6f33fbb1287ede3be12158b before bce81feb03a20fca7bbdd1c4af16b4e9d5c0e1d3; 4.8 (not affected: before 4.8; from 4.9.311 up to 4.9.*; from 4.14.276 up to 4.14.*; from 4.19.238 up to 4.19.*; from 5.4.189 up to 5.4.*; from 5.10.111 up to 5.10.*; from 5.15.34 up to 5.15.*; from 5.16.20 up to 5.16.*; from 5.17.3 up to 5.17.*; from 5.18 up to *)
- linux linux_kernel: from 4.8 before 4.9.311; from 4.10 before 4.14.276; from 4.15 before 4.19.238; from 4.20 before 5.4.189; from 5.5 before 5.10.111; from 5.11 before 5.15.34; from 5.16 before 5.16.20; from 5.17 before 5.17.3; 5.18

## References

- <https://git.kernel.org/stable/c/d2c2758cfb0262637fd93350bdc8ad485fb1dd61> (patch)
- <https://git.kernel.org/stable/c/38bf605bd8c83d942c8dcffaef3633b7d8b37549> (patch)
- <https://git.kernel.org/stable/c/41624d7c0c3df71dee170c610744aaa5909327b8> (patch)
- <https://git.kernel.org/stable/c/c539a6a5896ed92bfb91494e46996d013f3d5967> (patch)
- <https://git.kernel.org/stable/c/f8b0ef0a5889890b50482b6593bd8de544736351> (patch)
- <https://git.kernel.org/stable/c/31e449302ed00c38d4068443cf0243279701ab28> (patch)
- <https://git.kernel.org/stable/c/bc23c327e1a23cc3555fa1e86288e13288515442> (patch)
- <https://git.kernel.org/stable/c/7526102d908ec5ae777aa77723d52fce12916093> (patch)
- <https://git.kernel.org/stable/c/bce81feb03a20fca7bbdd1c4af16b4e9d5c0e1d3> (patch)

## Sources

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

---

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