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 5F99B18A6C4 for ; Fri, 27 Sep 2024 12:36: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=1727440595; cv=none; b=k5pTojN+2Px3vsAAEe2YWW2jP+xJ8isNucv4csgannIc0N7gs12CBf7oibzUmFAd8UQPrwfmubPQe96SpOaN/TLMTqrnJlyvvfm2+tef5tFsNZ06pY4McX+qTcnhIBMBbFoKeCQUo8j/nV7r+Ao7ovdJ0c8pHQ6F3KVg7VLK9pU= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1727440595; c=relaxed/simple; bh=J9wlzlKZa+rbHmUckL1+erfIh1R6BfGwo5qGzzsd5lw=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=Np/msrusp6Uc7rYRn9OD7oP+X8OQx0ZfKCZVJ+4yg6ZnqPsAzZYGQAolK4tInRCw0CtDOOSoFF8+cEpLMR7vKn+SZ5ECt7Itw2SNG+xaxrazLC8AUcrRm60EqwPUrN/QY5HN0fS9vPREeciGewAeM4aUpvC459sp1F5zbyZX2LM= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=L7TqNnOG; 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="L7TqNnOG" Received: by smtp.kernel.org (Postfix) with ESMTPSA id DE8B8C4CECD; Fri, 27 Sep 2024 12:36:34 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1727440595; bh=J9wlzlKZa+rbHmUckL1+erfIh1R6BfGwo5qGzzsd5lw=; h=From:To:Cc:Subject:Date:Reply-to:From; b=L7TqNnOGbLYsx42aJTsStHREG8aaB/rlWXALBu0hMLvEBxnv9+3vKMhgUqinQOnRr 08WoGWCAWFw2IZbkrbgyi5VXRxZgBwu0D3v7wJCFOkdUPDg0qAzkAmdaAtix8EXSs9 aObJGZcpAcOhBN4pPit7R24VQ2xs4wzJULalu/rA= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2024-46814: drm/amd/display: Check msg_id before processing transcation Date: Fri, 27 Sep 2024 14:36:19 +0200 Message-ID: <2024092711-CVE-2024-46814-5021@gregkh> X-Mailer: git-send-email 2.46.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=2229; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=J9wlzlKZa+rbHmUckL1+erfIh1R6BfGwo5qGzzsd5lw=; b=owGbwMvMwCRo6H6F97bub03G02pJDGnflu1meVT80HPVwrOi6uc4MuN7G9ON//NyPrpbN0HEK a71/xuTjlgWBkEmBlkxRZYv23iO7q84pOhlaHsaZg4rE8gQBi5OAZhIwmqG+Rn2RbqL1276EX/v fPSJpecqA7/8uMgwm9UlJW+3gNfK8B0r3P4lsqxQvrahDAA= 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: drm/amd/display: Check msg_id before processing transcation [WHY & HOW] HDCP_MESSAGE_ID_INVALID (-1) is not a valid msg_id nor is it a valid array index, and it needs checking before used. This fixes 4 OVERRUN issues reported by Coverity. The Linux kernel CVE team has assigned CVE-2024-46814 to this issue. Affected and fixed versions =========================== Fixed in 5.10.226 with commit 916083054670 Fixed in 5.15.167 with commit fe63daf7b102 Fixed in 6.1.109 with commit 0147505f0822 Fixed in 6.6.50 with commit cb63090a17d3 Fixed in 6.10.9 with commit 6590643c5de7 Fixed in 6.11 with commit fa71face755e 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-46814 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/gpu/drm/amd/display/dc/hdcp/hdcp_msg.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/916083054670060023d3f8a8ace895d710e268f4 https://git.kernel.org/stable/c/fe63daf7b10253b0faaa60c55d6153cd276927aa https://git.kernel.org/stable/c/0147505f08220c89b3a9c90eb608191276e263a8 https://git.kernel.org/stable/c/cb63090a17d3abb87f132851fa3711281249b7d2 https://git.kernel.org/stable/c/6590643c5de74098d27933b7d224d5ac065d7755 https://git.kernel.org/stable/c/fa71face755e27dc44bc296416ebdf2c67163316