Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (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 C292142188E for ; Wed, 6 May 2026 11:29:52 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1778066992; cv=none; b=pblhmmO2+2e3m+tUsA7M1aru+HrN24Q6Ern4MZavgbPmlNbcK15ng2QcpdPxFDz5U/J+O6I/RgEHWmhYZtQ0eTndjlxT805LYh1mkJwXr/lqGhtPe0FQk1KLZ+q3On4mXuIBsLj+rA2fkiCqdPEgrhErc1ocOwRG9hBLpGOUKyE= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1778066992; c=relaxed/simple; bh=OYjD+l3zjePipwqeiE+BAofZsRAVsEvd+PJOFwUZ/Vc=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=n2R3SJzMbqZmehULAo3l1mXKQbtvtpTvmLPWHN1oegWoYdigaPPVntuyqyAV/fHcOvG/5yv4LFp0tMs3mVCWIYSJy0aADYgDJ6Q07rQVEddWlNZtkHQd7cQh9DwoVGR9+C+HPDiS6dHnxvT8McutvPy9+JZtAHRocHme+aEI1EA= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=jpbYoaHC; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b="jpbYoaHC" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 5781EC2BCB8; Wed, 6 May 2026 11:29:52 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1778066992; bh=OYjD+l3zjePipwqeiE+BAofZsRAVsEvd+PJOFwUZ/Vc=; h=From:To:Cc:Subject:Date:Reply-To:From; b=jpbYoaHCALzTkM2qr36Q8EOYch5HdbKlQLuQzZzvX69mWtNnK5q175pwKOnPpB0rx m7mtlXuhcqYHyAbWw/3NuBXWpV5uMgZfICXqWkDLLFg/+5rOWP3LOdr2168/MTcg6c GYMIxBqJ5Gx+XSyyJa4eZk8VOvHRMlo+8Am3p5zk= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-43146: media: iris: Add buffer to list only after successful allocation Date: Wed, 6 May 2026 13:27:42 +0200 Message-ID: <2026050626-CVE-2026-43146-c0ee@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=2521; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=MRCIZ2wUAsXz3HQP6ZnJDyvDj3YTkrfb++miG5HnUD4=; b=owGbwMvMwCRo6H6F97bub03G02pJDJm/Vee3qQnet+R2N927rLSj7+jsGz+eCTV65HP/S1qyL kR1oh5XRywLgyATg6yYIsuXbTxH91ccUvQytD0NM4eVCWQIAxenAEzkQzLD/LzaHapL/0QwbJLZ H/vozlPtetcLJxnme4mFzNx50bhmqeCzIofHxhLnZmU9AQA= 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: Add buffer to list only after successful allocation Move `list_add_tail()` to after `dma_alloc_attrs()` succeeds when creating internal buffers. Previously, the buffer was enqueued in `buffers->list` before the DMA allocation. If the allocation failed, the function returned `-ENOMEM` while leaving a partially initialized buffer in the list, which could lead to inconsistent state and potential leaks. By adding the buffer to the list only after `dma_alloc_attrs()` succeeds, we ensure the list contains only valid, fully initialized buffers. The Linux kernel CVE team has assigned CVE-2026-43146 to this issue. Affected and fixed versions =========================== Issue introduced in 6.15 with commit 73702f45db81b74897b2808aaa13484826156006 and fixed in 6.18.16 with commit 45b30f65feeb4d5570d5337793bb0f298be813d2 Issue introduced in 6.15 with commit 73702f45db81b74897b2808aaa13484826156006 and fixed in 6.19.6 with commit 98b4c4c90f1e11caecbe2093dbe3a901d338bc81 Issue introduced in 6.15 with commit 73702f45db81b74897b2808aaa13484826156006 and fixed in 7.0 with commit 2d0bbd982dfdd67da488a772f7a8a1bdca7642bf 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-43146 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/45b30f65feeb4d5570d5337793bb0f298be813d2 https://git.kernel.org/stable/c/98b4c4c90f1e11caecbe2093dbe3a901d338bc81 https://git.kernel.org/stable/c/2d0bbd982dfdd67da488a772f7a8a1bdca7642bf