From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=100.103.45.18 ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none; t=1796048397; b=qmb5+NFtZnJFllrOD/wiOt3t38jdM0OFUjWIf01jLAmyqo6DcOx67tKeSyFkblwhvsbl ahdyCllQY/N3QnWv9S3AlT8dIDLnx4+EACiRurzTZSz+8c07BNZdMwVO7vIPwIjaA1cIn LSY972Qi8NouXZvzYgbmnAAGX2An0+QLBoZadLNw2042icJaGSWTOX4HrxC+RdGBJgwLE kUR85S0BHDTTE3W24t01BeavMKonRelWS8bFi1XQB3Eyv/BPfj1+vA67ZBDWqgvCKvLBU WGnO7bYAVvsE69lvp//4Yj7MJ1BRjK8anPu1HA/mfaHdDG+Jp93P/HplVjqndIcopBg== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1796048397; h=Received:DKIM-Signature:From:To:Cc:Subject:Date:Message-ID:X-Mailer: Reply-To:MIME-Version:Lines:X-Developer-Signature:X-Developer-Key: Content-Transfer-Encoding; bh=mk2s1NPX+yhJWCj3ZXu9mhkWKtL1vqdCT7gGKAPwCWE=; b=PmdvChBYVXTrxS1IkJvH2RKM7HqnackgdVs4pTcC5IcHvIoDTXTuwgVQEcFEEAR9kqIX Ts/S/wRxTsE/oHyNVuuypvGqZimU0UkIM2t7kuejRPzAVAdEHUfgX462+R7Eep7EZtZVc ED4wfuVcr66OwKo8tGKzb1ztpA4EObYZPqdmoL6pSgY4tMmbgu+m+mVBMjtbpYG8UpwPW j+YBTKaHCGMUeFQvB7z2uJrbR1nji/mvy1urTWQ8YqbOZHWIMHOBftcySdjBbWO7GyGPk 8hD3+g3BQFpqbvictgXVdN6vz4GNkMzlWZyDKp6DC05CPAhFnlDFtBt0gSD3H7uc9Aw== ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dkim=pass header.d=linuxfoundation.org header.i=@linuxfoundation.org header.a=rsa-sha256 header.s=korg header.b="Ifqh/+3i"; arc=none smtp.remote-ip=100.103.45.18 Received: from smtp.kernel.org (quasi.space.kernel.org [100.103.45.18]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (prime256v1)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 05483606A69F for ; Mon, 30 Nov 2026 14:19:57 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.a=rsa-sha256 header.s=korg header.b=Ifqh/+3i Received: by smtp.kernel.org (Postfix) with ESMTPSA id 4CCFA1F02EFA; Mon, 30 Nov 2026 14:19:56 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1796048396; bh=mk2s1NPX+yhJWCj3ZXu9mhkWKtL1vqdCT7gGKAPwCWE=; h=From:To:Cc:Subject:Date:Reply-To; b=Ifqh/+3i7d9ThlS7qEsMVqQE6nJ3LF+HRCLDsb3uKSQoqNMP3A2IROcnF/gi9AbaH 3CXWKjV0rQ2pXuvHJwxhj/DMGgDuyL6CmHZHcSKX5qiGvUkF64KgCtMUP9DFbjg8Ez RnVYd0dWA28/mEzPI1TeAA3EgZzXrCKFvdEibyr0= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-139588: media: venus: Drop session events without an instance Date: Mon, 30 Nov 2026 14:39:57 +0100 Message-ID: <2026113003-CVE-2026-139588-c8a9@gregkh> X-Mailer: git-send-email 2.56.1 Reply-To: , X-Mailing-List: linux-cve-announce@vger.kernel.org List-Id: List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list MIME-Version: 1.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=3904; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=78roPcvLbmapMYMPTPrOdcx+9ww28xgprcB2tE1R45k=; b=owGbwMvMwCRo6H6F97bub03G02pJDNm81fwBzzY/iNnUes3s2fbCeewxUofL7wd8vvtb1nS7t dauDNnYjlgWBkEmBlkxRZYv23iO7q84pOhlaHsaZg4rE8gQBi5OAZjI6W0M8/3+p7+akniLT5sz mu+prKLhm7RSPoYF678mL1m2UELaxJJn293Npu7tT2sEAA== 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: venus: Drop session events without an instance hfi_process_msg_packet() intentionally allows HFI_MSG_EVENT_NOTIFY packets without a matching session instance because HFI_EVENT_SYS_ERROR is a system event and has no session attached. That exception currently applies to every event-notify packet. If the firmware reports a late or otherwise invalid session event after to_instance() fails, hfi_event_notify() can dispatch it to session-only handlers such as event_seq_changed() or event_release_buffer_ref(), which dereference inst. Only system errors are valid without a session instance. Drop other event notifications before the session event handlers can dereference a NULL inst. This issue was found by a static analysis checker and confirmed by manual source review. The Linux kernel CVE team has assigned CVE-2026-139588 to this issue. Affected and fixed versions =========================== Issue introduced in 4.13 with commit 09c2845e8fe4fcab942929480203f504a6e0a114 and fixed in 5.10.275 with commit 53584089b5468f47a0bb4939542aaca264c64aa2 Issue introduced in 4.13 with commit 09c2845e8fe4fcab942929480203f504a6e0a114 and fixed in 5.15.226 with commit 3763010285cc45c1ab88e776b19a948282e3ff93 Issue introduced in 4.13 with commit 09c2845e8fe4fcab942929480203f504a6e0a114 and fixed in 6.1.193 with commit c85402016ea0b52150b458cf64e559c5651f0384 Issue introduced in 4.13 with commit 09c2845e8fe4fcab942929480203f504a6e0a114 and fixed in 6.6.163 with commit be62be7a40e64e16541ef168bfdac6be39de336f Issue introduced in 4.13 with commit 09c2845e8fe4fcab942929480203f504a6e0a114 and fixed in 6.12.119 with commit b0055a9716c2af0f702c6ee4e755d4e78977e5f1 Issue introduced in 4.13 with commit 09c2845e8fe4fcab942929480203f504a6e0a114 and fixed in 6.18.65 with commit 565e997910409e163b0c18088180d478a3c8a8ca Issue introduced in 4.13 with commit 09c2845e8fe4fcab942929480203f504a6e0a114 and fixed in 7.3.6 with commit a0f9052ab62e25bc9592ad14ae6b11c01b55d3be Issue introduced in 4.13 with commit 09c2845e8fe4fcab942929480203f504a6e0a114 and fixed in 7.4-rc1 with commit 8921f6da06fd869b6f1aa8d02e40a4e2e2a45fe4 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-139588 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/venus/hfi_msgs.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/53584089b5468f47a0bb4939542aaca264c64aa2 https://git.kernel.org/stable/c/3763010285cc45c1ab88e776b19a948282e3ff93 https://git.kernel.org/stable/c/c85402016ea0b52150b458cf64e559c5651f0384 https://git.kernel.org/stable/c/be62be7a40e64e16541ef168bfdac6be39de336f https://git.kernel.org/stable/c/b0055a9716c2af0f702c6ee4e755d4e78977e5f1 https://git.kernel.org/stable/c/565e997910409e163b0c18088180d478a3c8a8ca https://git.kernel.org/stable/c/a0f9052ab62e25bc9592ad14ae6b11c01b55d3be https://git.kernel.org/stable/c/8921f6da06fd869b6f1aa8d02e40a4e2e2a45fe4