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 BBE0F3191AB for ; Fri, 5 Sep 2025 17:23:39 +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=1757093019; cv=none; b=HjEYiXVp3SiTVouMSJheW7rPG6E2Vmxn+ca9QxZIoDhg5Ot5MXTYjZXUmDSvBC7+1C+VCPSJtlwLeOvlnSC1HMc0bOuDkdPr01lCQNCAo0DsjXzAN9cGUN2OPznTejeKNJ5QlU9RvBwZRAsxeT1aYwBlWj2DAiwNWhydG0KF3i8= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1757093019; c=relaxed/simple; bh=WeFBr7cJ3UsGcLwPtkvTHDqZthWMRWh4+77yotJLV9A=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=HDnbqQpImNzwzPfrKBBP6DGban/FKhBVv+q+ebDVJfUNESr+NXKFqsSoWL53MmAPxPv9B5dbJ+mJojow8a8rEyR1x8RSl+CIZxsSUKxU2c2iFXlcJrougJqlEzkkBcPldQR4aNB++BtGpvglv/bRgfXK5qrM6oBNVW9sComJgQU= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=KABkR+r0; 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="KABkR+r0" Received: by smtp.kernel.org (Postfix) with ESMTPSA id EC86CC4CEF1; Fri, 5 Sep 2025 17:23:38 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1757093019; bh=WeFBr7cJ3UsGcLwPtkvTHDqZthWMRWh4+77yotJLV9A=; h=From:To:Cc:Subject:Date:Reply-to:From; b=KABkR+r0SR1w0NqbkWS03sgVT2tqXupMS5N4eGR5ZW6vNVPPujFhGYhg4PhFxs6A5 yYiAr0/EtftpYeHygpfux63PCXbK0iqrSvGbYYDiBM00aZeV5oZVvfhbGzsB3tW2cn t3KWxZOYmsMEiln8e3A9VpLScxOJcn0w75FVKiow= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2025-39709: media: venus: protect against spurious interrupts during probe Date: Fri, 5 Sep 2025 19:21:22 +0200 Message-ID: <2025090550-CVE-2025-39709-67cb@gregkh> X-Mailer: git-send-email 2.51.0 Precedence: bulk X-Mailing-List: linux-cve-announce@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Reply-to: , X-Developer-Signature: v=1; a=openpgp-sha256; l=3480; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=6SPsngKIshnWP4TSJodLqwv8jaaV2GH5Kg4oZ+zbKyc=; b=owGbwMvMwCRo6H6F97bub03G02pJDBm7pT8Jbzv50EDyxrKQcvkMjkKju6/kGS9dDezov+Dpe vxIzuyVHbEsDIJMDLJiiixftvEc3V9xSNHL0PY0zBxWJpAhDFycAjAR9QqG+a4Tw6xEpRkzXweU +7W2bNih1n54IcNcwVM3pz46xrp5bfrE/9Zn5uY5dQZrAwA= 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: protect against spurious interrupts during probe Make sure the interrupt handler is initialized before the interrupt is registered. If the IRQ is registered before hfi_create(), it's possible that an interrupt fires before the handler setup is complete, leading to a NULL dereference. This error condition has been observed during system boot on Rb3Gen2. The Linux kernel CVE team has assigned CVE-2025-39709 to this issue. Affected and fixed versions =========================== Issue introduced in 4.13 with commit af2c3834c8ca7cc65d15592ac671933df8848115 and fixed in 5.4.297 with commit 18c2b2bd982b8546312c9a7895515672169f28e0 Issue introduced in 4.13 with commit af2c3834c8ca7cc65d15592ac671933df8848115 and fixed in 5.10.241 with commit 88cf63c2599761c48dec8f618d57dccf8f6f4b53 Issue introduced in 4.13 with commit af2c3834c8ca7cc65d15592ac671933df8848115 and fixed in 5.15.190 with commit 9db6a78bc5e418e0064e2248c8f3b9b9e8418646 Issue introduced in 4.13 with commit af2c3834c8ca7cc65d15592ac671933df8848115 and fixed in 6.1.149 with commit 37cc0ac889b018097c217c5929fd6dc2aed636a1 Issue introduced in 4.13 with commit af2c3834c8ca7cc65d15592ac671933df8848115 and fixed in 6.6.103 with commit f54be97bc69b1096198b6717c150dec69f2a1b4d Issue introduced in 4.13 with commit af2c3834c8ca7cc65d15592ac671933df8848115 and fixed in 6.12.44 with commit 639eb587f977c02423f4762467055b23902b4131 Issue introduced in 4.13 with commit af2c3834c8ca7cc65d15592ac671933df8848115 and fixed in 6.16.4 with commit e796028b4835af00d9a38ebbb208ec3a6634702a Issue introduced in 4.13 with commit af2c3834c8ca7cc65d15592ac671933df8848115 and fixed in 6.17-rc1 with commit 3200144a2fa4209dc084a19941b9b203b43580f0 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-39709 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/core.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/18c2b2bd982b8546312c9a7895515672169f28e0 https://git.kernel.org/stable/c/88cf63c2599761c48dec8f618d57dccf8f6f4b53 https://git.kernel.org/stable/c/9db6a78bc5e418e0064e2248c8f3b9b9e8418646 https://git.kernel.org/stable/c/37cc0ac889b018097c217c5929fd6dc2aed636a1 https://git.kernel.org/stable/c/f54be97bc69b1096198b6717c150dec69f2a1b4d https://git.kernel.org/stable/c/639eb587f977c02423f4762467055b23902b4131 https://git.kernel.org/stable/c/e796028b4835af00d9a38ebbb208ec3a6634702a https://git.kernel.org/stable/c/3200144a2fa4209dc084a19941b9b203b43580f0