Skip to contentSkip to conversation

CVE-2026-90270: arm_mpam: Disable driver unbind to avoid UAF

DISCUSSION Greg Kroah-Hartman 1 participant 1 message Sep 17

lore
Share & tools
lore
#0 lore raw

From: Greg Kroah-Hartman <[email protected]>

Description
===========

In the Linux kernel, the following vulnerability has been resolved:

arm_mpam: Disable driver unbind to avoid UAF

When a user unbinds an MSC and that MSC is the only MSC left for a component then the corresponding mpam_component will be freed. If the user then goes on to read the schemata file in the resctrl filesystem then the mpam_component will be accessed from resctrl_arch_get_config() leading to a use after free.

As the MPAM driver is not a module the unbind sysfs interface is the only way to trigger the remove. Instead of dealing with the complexity of allowing some unused MSC to unbind just remove the unbind sysfs interface.

The Linux kernel CVE team has assigned CVE-2026-90270 to this issue.

Affected and fixed versions
===========================

	Issue introduced in 6.19 with commit f04046f2577a5c76167333ca99d3903ee5331ba0 and fixed in 7.2.6 with commit 7d199b6a0651abad3ca6d0877dbedbe8fe6ea9e2
	Issue introduced in 6.19 with commit f04046f2577a5c76167333ca99d3903ee5331ba0 and fixed in 7.3-rc1 with commit bb1a0f582d519c0461b0940116e2b52c5ba31459

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-2026-90270

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/resctrl/mpam_devices.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/7d199b6a0651abad3ca6d0877dbedbe8fe6ea9e2
	https://git.kernel.org/stable/c/bb1a0f582d519c0461b0940116e2b52c5ba31459