Received: from smtp.kernel.org (aws-us-west-2-korg-mail-alma10-1.taild15c8.ts.net [100.103.45.18]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 21CD23B19A5 for ; Thu, 28 May 2026 09:45:01 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=100.103.45.18 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1779961502; cv=none; b=WS0128Hrsuc0qLjCMgzsDKgNxr7toB2MGlxsDHEL7E/M3uQbDkEHAD38UrAATfjEoD6k3D0r72avtBAq9+URL1Qixu988TuW19zLKeXrP3Bz+R21QAzMN3zruhkC6jUc4jpOvv9ONPmklq13Oumi65NEhdz0bchK0Te+uQC1A0U= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1779961502; c=relaxed/simple; bh=LEgV2zN6RCptprHfCBY+1dvrY7K4NpRuXj2vXuOVatQ=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=lBrueztwDMOtuisgxkzPJAvHLPX/rAzQ1e13U7aUxui1eyft9r6LNIVLxjzcqpLrW3gkBoSlQDoR3Xj2IoIeuPgJ0d3DqUi+dBaKYdzUqO5I5gavQHMr1u2Qyj2p0LbLGBYlLR93ghhCht9rtFZzQ2tPXRnPusuctozf+Tez2tg= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=EDyKuJsQ; arc=none smtp.client-ip=100.103.45.18 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b="EDyKuJsQ" Received: by smtp.kernel.org (Postfix) with ESMTPSA id A16CF1F000E9; Thu, 28 May 2026 09:45:00 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1779961501; bh=+34qBftgx1kh/U9yLhZRGBSsXlaqhe4aaakzye6goYE=; h=From:To:Cc:Subject:Date:Reply-To; b=EDyKuJsQ7SciH1NY3gczH19vmYdXYWFZPr9HrvbdmU3NJR/i9MNRDbLejKQshlH8p DD7XetTy+1WB7Uh7taJ1kIXm0tA3nzmf5yK8Wnl/wEzc7wYCqh1r6ep4PGZ3iA2mpk l+/XeM3ZP92Au5dzDzBTSeYKwBct8LWkLxZwldag= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-46240: media: iris: Fix use-after-free in iris_release_internal_buffers() Date: Thu, 28 May 2026 11:41:15 +0200 Message-ID: <2026052841-CVE-2026-46240-7e99@gregkh> X-Mailer: git-send-email 2.54.0 Reply-To: , Precedence: bulk X-Mailing-List: linux-cve-announce@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=2612; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=2TNtRSG13nqacqwX/xzyvvHjKQlOfss74yK1Xi8H2E0=; b=owGbwMvMwCRo6H6F97bub03G02pJDFkSvDNvqTPMSd0958N+716OW3m8tr5a5dxyWZ8rfx3Tj PjMMrumI5aFQZCJQVZMkeXLNp6j+ysOKXoZ2p6GmcPKBDKEgYtTACYyYynDgrbg5h9qS7Tus4eU T1fdZGBevNvGhmF++E12zqUZxx+ayO5/bKyQ1t3YWJAAAA== X-Developer-Key: i=gregkh@linuxfoundation.org; a=openpgp; fpr=F4B60CC5BF78C2214A313DCB3147D40DDB2DFB29 Content-Transfer-Encoding: 8bit From: Greg Kroah-Hartman 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. The Linux kernel CVE team has assigned CVE-2026-46240 to this issue. Affected and fixed versions =========================== Issue introduced in 6.18.16 with commit 7cde76db8883ec8a3d1456068079ecadbfb15ca5 and fixed in 6.18.32 with commit dd24998a4a4016fb9921916024399bd80f0d45c6 Issue introduced in 7.0 with commit 1dabf00ee206eceb0f08a1fe5d1ce635f9064338 and fixed in 7.0.9 with commit 18c64439f249859b6140f7bf8bcf95c8ed841f28 Issue introduced in 7.0 with commit 1dabf00ee206eceb0f08a1fe5d1ce635f9064338 and fixed in 7.1-rc3 with commit f27cfdcfc916bb59297825805f4c3499f89f9e76 Issue introduced in 6.19.6 with commit d4457f23ac0130240053a34be663f0fade3bb371 Please see https://www.kernel.org for a full list of currently supported kernel versions by the kernel community. Unaffected versions might change over time as fixes are backported to older supported kernel versions. The official CVE entry at https://cve.org/CVERecord/?id=CVE-2026-46240 will be updated if fixes are backported, please check that for the most up to date information about this issue. Affected files ============== The file(s) affected by this issue are: drivers/media/platform/qcom/iris/iris_buffer.c Mitigation ========== The Linux kernel CVE team recommends that you update to the latest stable kernel version for this, and many other bugfixes. Individual changes are never tested alone, but rather are part of a larger kernel release. Cherry-picking individual commits is not recommended or supported by the Linux kernel community at all. If however, updating to the latest release is impossible, the individual changes to resolve this issue can be found at these commits: https://git.kernel.org/stable/c/dd24998a4a4016fb9921916024399bd80f0d45c6 https://git.kernel.org/stable/c/18c64439f249859b6140f7bf8bcf95c8ed841f28 https://git.kernel.org/stable/c/f27cfdcfc916bb59297825805f4c3499f89f9e76