Skip to contentSkip to conversation

CVE-2024-41024: misc: fastrpc: Restrict untrusted app to attach to privileged PD

DISCUSSION Greg Kroah-Hartman 1 participant 1 message Jul 29, 2024

lore
Share & tools
lore
#0 lore raw

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