Skip to main content
← All vulnerabilities
CVE-2026-46240

media: iris: Fix use-after-free in iris_release_internal_buffers()

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 6.18.32, 6.20
None on Exploit-DB, Metasploit or GitHub

Summary

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.

Timeline

  1. CVE published
  2. Record last updated

Affected versions

  • Linux Linux

    From 6.18.16 · fixed in 6.18.32; From 6.19.6 · fixed in 6.20

  • Linux Linux

    7.0

References 3

git.kernel.org