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

Published May 28, 2026
·
Updated

In the Linux kernel, the following vulnerability has been resolved:

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

The recent change in commit 1dabf00ee206 ("media: iris: gen1: Destroy internal buffers after FW releases") introduced a regression where sessionreleasebuf() may free the buffer. The caller, irisreleaseinternalbuffers(), continued to access buffer after the call, leading to a potential use-after-free.

Fix this by setting BUFATTRPENDINGRELEASE before calling sessionreleasebuf(), and reverting the flag if the call fails. This ensures no dereference occurs after potential freeing.

Affected Software

5 affected components
Linux Foundation Linux kernel (media/iris)
Linux Linux kernel>=6.18.16<6.18.32
Linux Linux kernel>=6.19.6<7.0.9
Linux Linux kernel=7.1-rc1
Linux Linux kernel=7.1-rc2

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Configuration

    Fix the regression by setting BUF_ATTR_PENDING_RELEASE before calling session_release_buf(), so iris_release_internal_buffers() does not dereference `buffer` after session_release_buf() may free it. Also revert the flag if the call fails.

    Linux kernel (media: iris) BUF_ATTR_PENDING_RELEASE = set before calling iris_release_internal_buffers()/session_release_buf()

Event History

May 28, 2026
CVE Published
via MITRE·09:41 AM
Data Sourced
via MITRE·09:41 AM
DescriptionSeverity
Data Sourced
via NVD·10:16 AM
RemedyDescriptionSeverityWeaknessAffected Software
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2026-46240?

The severity of CVE-2026-46240 is high with a score of 7.8.

2

What is the nature of CVE-2026-46240?

CVE-2026-46240 involves a use-after-free vulnerability in the Linux kernel related to media: iris.

3

How do I fix CVE-2026-46240?

To fix CVE-2026-46240, ensure that you apply the latest patches from the Linux kernel that address this vulnerability.

4

What systems are affected by CVE-2026-46240?

CVE-2026-46240 affects systems running the Linux Foundation Linux kernel, specifically those utilizing media/iris.

5

What can happen if CVE-2026-46240 is exploited?

Exploitation of CVE-2026-46240 can lead to arbitrary code execution, data corruption, or system crashes.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203