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 2C81E81AB6 for ; Wed, 10 Jul 2024 07:14:35 +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=1720595675; cv=none; b=l4DTX5ysRAbMvm2L5EzI9mTme/ldB2+K7EllxiTri7xn75ifmMMthcbJVMeHvfLFpkBIWsvjQOpGjSC/qZGmOSzdEZqTDTY8qNNe3B1kll6stHVsJ/7TiG6QpRI/c628gKM5HanfZq3oLdTiNmP9lq3+VVu3vybvQQNQewd6h64= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1720595675; c=relaxed/simple; bh=N8GA48a1HgnJ5LX0pKjsyZb7ObyeH3KZcz+KdihFR/k=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=POY26U9W8ZrHeH0kES3WC6k+Yxhdq+J8L15OxTrIT//hd4XxHM1vQgpCEp4zrN66ZjBIRsQRe+C1PDvhFhGZfSKdeSOvXwWRbfOLZi9sfsmPSCD2dOP5xqtFFkbbVgCQq4MF6TgNelA4Oy5GNZyqHks+spT6CvAbHA2UWZoTa44= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=FGbgmH8l; 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="FGbgmH8l" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 8CFFAC32781; Wed, 10 Jul 2024 07:14:34 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1720595674; bh=N8GA48a1HgnJ5LX0pKjsyZb7ObyeH3KZcz+KdihFR/k=; h=From:To:Cc:Subject:Date:Reply-to:From; b=FGbgmH8lga9uya3eKpVbcCBl0p7ENnxnx0LYM9dtnQvWol4sTf+8YzOKdwxVw6MDS rWbCMRLH+jLI/gv9e3Q6VzdVEuaX5Pk9XX+PEoCWIp4pxA1sDsafU3vQ2uvBCk8lxL o7+hvqGxz5lRebdYD+xzQOQ8B1cXYypo5TlNSJ4Y= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2024-39492: mailbox: mtk-cmdq: Fix pm_runtime_get_sync() warning in mbox shutdown Date: Wed, 10 Jul 2024 09:14:18 +0200 Message-ID: <2024071017-CVE-2024-39492-384a@gregkh> X-Mailer: git-send-email 2.45.2 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=1901; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=N8GA48a1HgnJ5LX0pKjsyZb7ObyeH3KZcz+KdihFR/k=; b=owGbwMvMwCRo6H6F97bub03G02pJDGl9Jicfa+ve83LfzLB8w07vU984tX8uM6lL59l4e1ZNj dIcJ+XvHbEsDIJMDLJiiixftvEc3V9xSNHL0PY0zBxWJpAhDFycAjARlzMM813lckQUdTjuxX9d /XeR5V2PvpKt0QzzVFxL+xfrVf3byLV7Vyb3j9Dti5rmAAA= X-Developer-Key: i=gregkh@linuxfoundation.org; a=openpgp; fpr=F4B60CC5BF78C2214A313DCB3147D40DDB2DFB29 Content-Transfer-Encoding: 8bit Description =========== In the Linux kernel, the following vulnerability has been resolved: mailbox: mtk-cmdq: Fix pm_runtime_get_sync() warning in mbox shutdown The return value of pm_runtime_get_sync() in cmdq_mbox_shutdown() will return 1 when pm runtime state is active, and we don't want to get the warning message in this case. So we change the return value < 0 for WARN_ON(). The Linux kernel CVE team has assigned CVE-2024-39492 to this issue. Affected and fixed versions =========================== Issue introduced in 6.7 with commit 8afe816b0c99 and fixed in 6.9.4 with commit 2d42a37a4518 Issue introduced in 6.7 with commit 8afe816b0c99 and fixed in 6.10-rc1 with commit 747a69a119c4 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-2024-39492 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/mailbox/mtk-cmdq-mailbox.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/2d42a37a4518478f075ccf848242b4a50e313a46 https://git.kernel.org/stable/c/747a69a119c469121385543f21c2d08562968ccc