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 D89C2154C10 for ; Mon, 29 Jul 2024 14:32:33 +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=1722263553; cv=none; b=QQ4NRUbycMb7AQ+SgLjdhftkRjH32NdAuowB0qpEy+MjHLpVsG3wgLRJgTVdQ9W7TlG97SyVngj5QZrzlChahL54yGN+LniKW+J/Qf6EBr0ceH+l8mss15c+Wmu86m/i5XjExB9BFIJIYfcsxi8WMmWR5LEHudaaJ5cpzL3zJsY= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1722263553; c=relaxed/simple; bh=zJaGdg31vxKmXnKyWax47i7+H7gYqMXLtuR2BVXx02c=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=nG7VAG18lg8M0cLf1s8wOHKR25AMtRd84+xxwffKJPLMgWT1uKqzqD8VjkOfQBwLG5zqJnaRtP3cOLgKcAvuzTT2Jo2G/mraHDw15aoWM+Yd+/3QL6jljxHSAJjeh7bRI3g4feMtY4YIknildslLOxec1ZDl5DJuouI2nDUYULY= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=izB4lwE2; 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="izB4lwE2" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 17525C32786; Mon, 29 Jul 2024 14:32:32 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1722263553; bh=zJaGdg31vxKmXnKyWax47i7+H7gYqMXLtuR2BVXx02c=; h=From:To:Cc:Subject:Date:Reply-to:From; b=izB4lwE29TPPxwKx+WcXvn4usITFr73uc05H2fLfj7kfEeHvuh1r3dNiQ+LL3BOmU thWm72uTWOKoKZ6vqWU3XQbdsJ+BqPU7+FsM0hdBidzZbh0PyLUMuXOJvKofli9jcB VIMFVhqWSKuA6Zg0sZ6qUqnpeaXYwndMJEoltW44= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2024-41024: misc: fastrpc: Restrict untrusted app to attach to privileged PD Date: Mon, 29 Jul 2024 16:32:19 +0200 Message-ID: <2024072919-CVE-2024-41024-be39@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=2229; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=zJaGdg31vxKmXnKyWax47i7+H7gYqMXLtuR2BVXx02c=; b=owGbwMvMwCRo6H6F97bub03G02pJDGnLl382PvO6dab2zDdvnz/I+iaQdvf9ke9/fne9mCGtb bL1mmGMXUcsC4MgE4OsmCLLl208R/dXHFL0MrQ9DTOHlQlkCAMXpwBM5NE6hgUNv26HrpLPY50s uGDKq7rpGcdWTg1imGe2YW3KJyaVizMiHBRuuhuK7LW+9gQA 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: misc: fastrpc: Restrict untrusted app to attach to privileged PD Untrusted application with access to only non-secure fastrpc device node can attach to root_pd or static PDs if it can make the respective init request. This can cause problems as the untrusted application can send bad requests to root_pd or static PDs. Add changes to reject attach to privileged PDs if the request is being made using non-secure fastrpc device node. The Linux kernel CVE team has assigned CVE-2024-41024 to this issue. Affected and fixed versions =========================== Issue introduced in 6.2 with commit 0871561055e6 and fixed in 6.6.41 with commit 5e305b5986dc Issue introduced in 6.2 with commit 0871561055e6 and fixed in 6.9.10 with commit c69fd8afaceb Issue introduced in 6.2 with commit 0871561055e6 and fixed in 6.10 with commit bab2f5e8fd5d 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-41024 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/misc/fastrpc.c include/uapi/misc/fastrpc.h 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/5e305b5986dc52122a9368a1461f0c13e1de3fd6 https://git.kernel.org/stable/c/c69fd8afacebfdf2f8a1ee1ea7e0723786529874 https://git.kernel.org/stable/c/bab2f5e8fd5d2f759db26b78d9db57412888f187