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 9912B1422BF for ; Sat, 17 Aug 2024 08:55:30 +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=1723884930; cv=none; b=AF01MiVSHcj/3w4YMvKgG9EQi4NqwiZVnoUoUpniFkXkmIpobbvQei3JAlnS1cJQzy4oOBZ5tSYn3uh8+l/R5lCxsydQf5R3BrPrlG+weTC0XKr1rs0BsTiR6EWWohpjWeZPZQg/+UOm4MOi2BMBGLBHE2dSz60lTWPbkse86M0= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1723884930; c=relaxed/simple; bh=eA55U3HHp8nktl1kCIEU+mOtMvASLC55M8p/6TUsfso=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=HHLvhRc7APfJx3zFLIYMjw/QQ/zDeWGAHW0P4RIW/fOySkOCs6dzDocy8278ziRsH1EJ1aL2OhW381yCLU04q7E4x2gZtvW6JSIGKt6i+F8BCUzkNQtDeNAXJpt1Aj2vRA3WZ1Adi5NVtamqoS4W/LwNUv5y/ItDLPMCkSyvhmA= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=oAPg3dm1; 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="oAPg3dm1" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 17BBFC116B1; Sat, 17 Aug 2024 08:55:29 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1723884930; bh=eA55U3HHp8nktl1kCIEU+mOtMvASLC55M8p/6TUsfso=; h=From:To:Cc:Subject:Date:Reply-to:From; b=oAPg3dm1Ka2Vtao5ry3u1/iq2ATTzQHYomv3k4U3Pmuck4+NbrCqdL5rqYiqrwk9p 25dBjEchMduJovU6BGnSpYjHdQthxr9+DSVvoXr6akZS6XcbnPsgmiGUWvL4R6pVcl jcwUeVxk+jTfQaf6osi7C5qUaATO4/FwACmtY7d4= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2024-42275: drm/client: Fix error code in drm_client_buffer_vmap_local() Date: Sat, 17 Aug 2024 10:54:49 +0200 Message-ID: <2024081740-CVE-2024-42275-8f91@gregkh> X-Mailer: git-send-email 2.46.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=1807; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=eA55U3HHp8nktl1kCIEU+mOtMvASLC55M8p/6TUsfso=; b=owGbwMvMwCRo6H6F97bub03G02pJDGkHUgPOXq2z2/tOovaL55pvR+VZ85+v1g3xTTibNTvY5 V9S0Q3WjlgWBkEmBlkxRZYv23iO7q84pOhlaHsaZg4rE8gQBi5OAZjIyoUMC+ZPXqN+zDu7TO/1 yYmFYqqxm7Z2VDIsOLi9SEvvYZn/Q7vL05Leq4ovulj8AgA= 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/client: Fix error code in drm_client_buffer_vmap_local() This function accidentally returns zero/success on the failure path. It leads to locking issues and an uninitialized *map_copy in the caller. The Linux kernel CVE team has assigned CVE-2024-42275 to this issue. Affected and fixed versions =========================== Issue introduced in 6.10 with commit b4b0193e83cb and fixed in 6.10.4 with commit c0f412961653 Issue introduced in 6.10 with commit b4b0193e83cb and fixed in 6.11-rc2 with commit b5fbf924f125 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-42275 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/drm_client.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/c0f412961653237f52e2f16ee8747fb330bcf074 https://git.kernel.org/stable/c/b5fbf924f125ba3638cfdc21c0515eb7e76264ca