# CVE-2025-37764: drm/imagination: fix firmware memory leaks

- 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.20%, higher than 10% of CVEs (2026-12-01)
- Published: 2025-05-01T13:07:05.694Z
- Modified: 2026-06-17T09:15:23.580Z
- Weaknesses: CWE-401
- Assigned by: Linux

## Description

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

drm/imagination: fix firmware memory leaks

Free the memory used to hold the results of firmware image processing
when the module is unloaded.

Fix the related issue of the same memory being leaked if processing
of the firmware image fails during module load.

Ensure all firmware GEM objects are destroyed if firmware image
processing fails.

Fixes memory leaks on powervr module unload detected by Kmemleak:

unreferenced object 0xffff000042e20000 (size 94208):
  comm "modprobe", pid 470, jiffies 4295277154
  hex dump (first 32 bytes):
    02 ae 7f ed bf 45 84 00 3c 5b 1f ed 9f 45 45 05  .....E..<[...EE.
    d5 4f 5d 14 6c 00 3d 23 30 d0 3a 4a 66 0e 48 c8  .O].l.=#0.:Jf.H.
  backtrace (crc dd329dec):
    kmemleak_alloc+0x30/0x40
    ___kmalloc_large_node+0x140/0x188
    __kmalloc_large_node_noprof+0x2c/0x13c
    __kmalloc_noprof+0x48/0x4c0
    pvr_fw_init+0xaa4/0x1f50 [powervr]

unreferenced object 0xffff000042d20000 (size 20480):
  comm "modprobe", pid 470, jiffies 4295277154
  hex dump (first 32 bytes):
    00 00 00 00 00 00 00 00 09 00 00 00 0b 00 00 00  ................
    00 00 00 00 00 00 00 00 07 00 00 00 08 00 00 00  ................
  backtrace (crc 395b02e3):
    kmemleak_alloc+0x30/0x40
    ___kmalloc_large_node+0x140/0x188
    __kmalloc_large_node_noprof+0x2c/0x13c
    __kmalloc_noprof+0x48/0x4c0
    pvr_fw_init+0xb0c/0x1f50 [powervr]

(As written by CVE List.)

## Affected

- Linux Linux: from cc1aeedb98ad347c06ff59e991b2f94dfb4c565d before 490c30fd554597e78f66650044877e7defb5f83c; from cc1aeedb98ad347c06ff59e991b2f94dfb4c565d before 891c12ba855ccb34c06a2e5da75c644683087036; from cc1aeedb98ad347c06ff59e991b2f94dfb4c565d before a5b230e7f3a55bd8bd8d012eec75a4b7baa671d5; 6.8 (not affected: before 6.8; from 6.12.25 up to 6.12.*; from 6.14.4 up to 6.14.*; from 6.15 up to *)
- linux linux_kernel: from 6.8 before 6.12.25; from 6.13 before 6.14.4; 6.15

## References

- <https://git.kernel.org/stable/c/490c30fd554597e78f66650044877e7defb5f83c> (patch)
- <https://git.kernel.org/stable/c/891c12ba855ccb34c06a2e5da75c644683087036> (patch)
- <https://git.kernel.org/stable/c/a5b230e7f3a55bd8bd8d012eec75a4b7baa671d5> (patch)

## Sources

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

---

Page: https://cve.day/CVE-2025-37764 · Whole record: https://cve.day/CVE-2025-37764.json · Rebuilt by cve.day 2026-11-25T22:58:57.308Z
