CVE-2026-46240

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

High · published May 28, 2026

CVSS v3.1
7.8
EPSS
0%
Percentile
5.9
In the wild
Unconfirmed
What it is

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.

The record
Technical detail
CVSS v3.1
7.8 · HIGH
Vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
CVSS v4.0
Not supplied
EPSS
0.00168 · 5.9th percentile
Published
2026-05-28T09:41Z
EPSS history
Timeline
  • 28 MAY 09:41Z
    media: iris: Fix use-after-free in iris_release_internal_buffers()
    cvelistv5