blob: 4c3c2c970ed3e6fae575acf3b0da9d6b5f827535 [file] [log] [blame]
From bippy-5f407fcff5a0 Mon Sep 17 00:00:00 2001
From: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
To: <linux-cve-announce@vger.kernel.org>
Reply-to: <cve@kernel.org>, <linux-kernel@vger.kernel.org>
Subject: CVE-2024-41024: misc: fastrpc: Restrict untrusted app to attach to privileged PD
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 0871561055e666da421d779397efcc1e5e964cab and fixed in 6.6.41 with commit 5e305b5986dc52122a9368a1461f0c13e1de3fd6
Issue introduced in 6.2 with commit 0871561055e666da421d779397efcc1e5e964cab and fixed in 6.6.48 with commit ea13bd807f1cef1af375d999980a9b9794c789b6
Issue introduced in 6.2 with commit 0871561055e666da421d779397efcc1e5e964cab and fixed in 6.9.10 with commit c69fd8afacebfdf2f8a1ee1ea7e0723786529874
Issue introduced in 6.2 with commit 0871561055e666da421d779397efcc1e5e964cab and fixed in 6.10 with commit bab2f5e8fd5d2f759db26b78d9db57412888f187
Issue introduced in 6.2 with commit 0871561055e666da421d779397efcc1e5e964cab and fixed in 6.10.7 with commit 2eb973ee4770a26d9b5e292b58ad29822d321c7f
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/ea13bd807f1cef1af375d999980a9b9794c789b6
https://git.kernel.org/stable/c/c69fd8afacebfdf2f8a1ee1ea7e0723786529874
https://git.kernel.org/stable/c/bab2f5e8fd5d2f759db26b78d9db57412888f187
https://git.kernel.org/stable/c/2eb973ee4770a26d9b5e292b58ad29822d321c7f