# CVE-2025-40017: media: iris: Fix memory leak by freeing untracked persist buffer

- Severity: not scored yet
- 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.24%, higher than 15% of CVEs (2026-12-01)
- Published: 2025-10-20T15:30:43.085Z
- Modified: 2026-10-19T21:10:00.160Z
- Assigned by: Linux

## Description

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

media: iris: Fix memory leak by freeing untracked persist buffer

One internal buffer which is allocated only once per session was not
being freed during session close because it was not being tracked as
part of internal buffer list which resulted in a memory leak.

Add the necessary logic to explicitly free the untracked internal buffer
during session close to ensure all allocated memory is released
properly.

(As written by CVE List.)

## Affected

- Linux Linux: from 73702f45db81b74897b2808aaa13484826156006 before c9e024e907cafafd6b094f69a0d0f5d18fd28876; from 73702f45db81b74897b2808aaa13484826156006 before ec2f87ad035e8d1ad67567542842f1f23a4dbde2; from 73702f45db81b74897b2808aaa13484826156006 before 02a24f13b3a1d9da9f3de56aa5fdb7cc1fe167a2; 6.15 (not affected: before 6.15; from 6.16.11 up to 6.16.*; from 6.17.1 up to 6.17.*; from 6.18 up to *)

## References

- <https://git.kernel.org/stable/c/c9e024e907cafafd6b094f69a0d0f5d18fd28876>
- <https://git.kernel.org/stable/c/ec2f87ad035e8d1ad67567542842f1f23a4dbde2>
- <https://git.kernel.org/stable/c/02a24f13b3a1d9da9f3de56aa5fdb7cc1fe167a2>

## Sources

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

---

Page: https://cve.day/CVE-2025-40017 · Whole record: https://cve.day/CVE-2025-40017.json · Rebuilt by cve.day 2026-11-25T22:59:06.580Z
