CVE-2026-46240

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

State
Published
Severity
7.8 High
Published
May 28, 2026
Updated
Aug 5, 2026
Reserved
May 13, 2026

Read the record on cve.org

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.

Scores

CVSSScoreVectorSource
3.17.8 HighCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HLinux

Weaknesses

The record names no weakness.

Affected Products

ProductVersions
LinuxLinux
  • 7cde76db8883ec8a3d1456068079ecadbfb15ca5 to before dd24998a4a4016fb9921916024399bd80f0d45c6Affected
  • 1dabf00ee206eceb0f08a1fe5d1ce635f9064338 to before 18c64439f249859b6140f7bf8bcf95c8ed841f28Affected
  • 1dabf00ee206eceb0f08a1fe5d1ce635f9064338 to before f27cfdcfc916bb59297825805f4c3499f89f9e76Affected
  • d4457f23ac0130240053a34be663f0fade3bb371Affected
  • 6.18.16 to before 6.18.32Affected
  • 6.19.6 to before 6.20Affected
LinuxLinux
  • 7.0Affected
  • before 7.0Not affected
  • 6.18.32 through 6.18.*Not affected
  • 7.0.9 through 7.0.*Not affected
  • 7.1 and laterNot affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.