CVE 7.8 HIGH

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

7.8 / 10
HIGH
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

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.

Basic Information

ID CVE-2026-46240
Source Linux
Published May 28, 2026 at 09:41
Modified May 30, 2026 at 10:49

Affected Product

Vendor Linux
Product Linux
Version 7cde76db8883ec8a3d1456068079ecadbfb15ca5
Affected Versions Linux Linux 7cde76db8883ec8a3d1456068079ecadbfb15ca5
Linux Linux 1dabf00ee206eceb0f08a1fe5d1ce635f9064338
Linux Linux 1dabf00ee206eceb0f08a1fe5d1ce635f9064338
Linux Linux d4457f23ac0130240053a34be663f0fade3bb371
Linux Linux 6.18.16
Linux Linux 6.19.6
Linux Linux 7.0

References

💭 Join the Security Discussion

🔒 Your email address will not be published. Required fields are marked *

⚠️ Please be respectful and constructive in your comments. Security discussions should remain professional.