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 7A28C27F759 for ; Tue, 13 Jan 2026 15:31:12 +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=1768318272; cv=none; b=VAe3B6lWvGDUF50qLze9fQEwhT04NRLkHQ0HG0AI1MbMZhsHYwZVxP6HASElQe6vbzYOF3psoM8Rfuth7MN62MXoM69SZvfWLsb2sQOjFUW/uQmdKVb8zRHSrJR2YLCW3OCUEatVygxjWmiYYIf449c2VeeiWUPEsamaIqbK90o= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1768318272; c=relaxed/simple; bh=iNHp92PZAc6OzvrA4fg7W72DTtegjgrS/7P/sqJ2o/o=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=tjBcfedNc+2rKVSM/G+RDMDYszRRfoWr0HLVs9loJryjKEtWFNyOGztfOmr4AbSMScyJ8ww5b+IQAalK5oMOsWYo6KIRKBFXwoiaWl/9MVaQok929e1+WtVeJ6gl8umwr+MZFLOdImXBTkDhk3xpsH6uYZ0nrKKaXvmZmjWHvlI= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=GgzWxGb/; 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="GgzWxGb/" Received: by smtp.kernel.org (Postfix) with ESMTPSA id A6F3CC116C6; Tue, 13 Jan 2026 15:31:11 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1768318272; bh=iNHp92PZAc6OzvrA4fg7W72DTtegjgrS/7P/sqJ2o/o=; h=From:To:Cc:Subject:Date:Reply-To:From; b=GgzWxGb/rJfJHXtxRCHuYqzkPSDIZQ1Yp7yCeN3QNvkVZjVb9yXDigcSF0Gyvy9p7 a9WSfwIm6Lz1nnsEssxfw5+Z3LdqVDXD+zs7kU+6kmuV7qZbOCX9HrUVt77KrYIw3U yAIVtUB3yjT5Or5SC+EAp7eSFTV4wq64Zy+ZB92I= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2025-68812: media: iris: Add sanity check for stop streaming Date: Tue, 13 Jan 2026 16:29:38 +0100 Message-ID: <2026011312-CVE-2025-68812-4098@gregkh> X-Mailer: git-send-email 2.52.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=2199; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=pn0VMxQM9G/B4erlERu/G+i89Vg6FzEJ7BAbZjDbCY8=; b=owGbwMvMwCRo6H6F97bub03G02pJDJlpKSduTir0XB96oK/287a1+r+mbJnN7nnsyorWoCXfa 56lZXU+6YhlYRBkYpAVU2T5so3n6P6KQ4pehranYeawMoEMYeDiFICJRG9gWLBu5s4NFwWklp24 JsLzWbbwl73Od1aGOZzHtV9Jbby+cPuXSUx5/qfDNGIW7gQA 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 sanity check for stop streaming Add sanity check in iris_vb2_stop_streaming. If inst->state is already IRIS_INST_ERROR, we should skip the stream_off operation because it would still send packets to the firmware. In iris_kill_session, inst->state is set to IRIS_INST_ERROR and session_close is executed, which will kfree(inst_hfi_gen2->packet). If stop_streaming is called afterward, it will cause a crash. [bod: remove qcom from patch title] The Linux kernel CVE team has assigned CVE-2025-68812 to this issue. Affected and fixed versions =========================== Issue introduced in 6.15 with commit 11712ce70f8e52fc94365b48ee15aec806b02422 and fixed in 6.18.3 with commit f8b136296722e258ec43237a35f72c92a6d4501a Issue introduced in 6.15 with commit 11712ce70f8e52fc94365b48ee15aec806b02422 and fixed in 6.19-rc1 with commit ad699fa78b59241c9d71a8cafb51525f3dab04d4 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-2025-68812 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_vb2.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/f8b136296722e258ec43237a35f72c92a6d4501a https://git.kernel.org/stable/c/ad699fa78b59241c9d71a8cafb51525f3dab04d4