CVE-2026-46240: media: iris: Fix use-after-free in iris_release_internal_buffers()
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.
Security readout for executives and security teams
Plain-English summary
A Linux kernel media-driver regression can access an internal buffer after it has been freed. A local, low-privileged attacker may be able to crash the system or compromise confidentiality and integrity. Exposure depends on running an affected kernel and using the iris media driver; the supplied sources do not establish broader reachability.
Executive priority
Treat this as a high-priority kernel update for systems using the iris media driver, especially shared or locally accessible machines. It is not presented as remotely exploitable, and active exploitation is unconfirmed. Use normal emergency-change evaluation rather than assuming universal exposure; accelerate remediation where an affected kernel and relevant hardware or workload coincide.
Technical view
Commit 1dabf00ee206 introduced a use-after-free in iris_release_internal_buffers(): session_release_buf() may free buffer, but its caller subsequently accesses it. The fix marks the buffer pending release before that call and restores the flag if release fails, preventing a post-free dereference. No CWE is assigned in the supplied record.
Likely exposure
The supplied record marks Linux versions 7.0, 6.18.32, 7.0.9, and 7.1 as affected, while listing several commits and versions as unaffected. Practical exposure requires the relevant iris media-driver path. Distribution backports may make version-only checks unreliable, so confirm patch ancestry or vendor status.
Exploitation context
CVSS 3.1 is 7.8: local access, low complexity, low privileges, no user interaction, and potentially high confidentiality, integrity, and availability impact. The record is not in KEV, and the supplied sources provide no evidence of active exploitation or a public exploit.
Researcher notes
The vulnerable lifetime transition occurs because session_release_buf() can free buffer before iris_release_internal_buffers() finishes using it. The corrective ordering sets BUF_ATTR_PENDING_RELEASE first and rolls it back on failure. The supplied version data is unusual and incomplete for distribution kernels; validate using commit ancestry and vendor backport records. No exploitability proof or affected configuration matrix is supplied.
Mitigation direction
Install a vendor-supported kernel containing the applicable upstream or stable fix.
Check distribution advisories because vendors may backport fixes without changing the expected upstream version.
Prioritize systems where the iris media driver is present and used.
If patching is delayed, consult vendor guidance for supported exposure-reduction measures.
Validation and detection
Inventory running kernel builds and compare them with vendor advisories and the CVE record.
Determine whether the iris media driver is present and operational on each system.
Confirm the deployed kernel contains the applicable stable fix commit or documented backport.
After updating, verify systems boot normally and affected media workloads complete without regressions.
Generated from the cited source records. This long-tail analysis has not been individually reviewed by a named human.
Potential ATT&CK relevance
Conservative CVE-to-ATT&CK context
These mappings and lookup hints may be relevant to the vulnerability behavior, CWE, affected product, or exposure path. Glexia-inferred context is not an official MITRE, ATT&CK, CWE, or CVE Program mapping.
ATT&CK lookup starting points
Use these exact CWE pages and searches to review the Glexia ATT&CK library from this CVE's weakness and description context.
cve · low confidence lookup
CVE-2026-46240 mapping review
Open the CVE-to-ATT&CK bridge for reviewed, inferred, or future official mappings tied to this CVE.
These fields come from the CVE record and ADP containers, not from Glexia's Take. They preserve time-varying source decisions such as CISA SSVC, KEV status, CVSS metrics, and provider references.
1CVSS vectors
3Timeline events
0ADP providers
4Source links
CVSS vector scores
1 official score
We collect every scored CVSS vector available in the official CNA and ADP containers. When more than one version is present, the table keeps the source vectors side by side instead of collapsing them into the highest score.