Received: from smtp.kernel.org (aws-us-west-2-korg-mail-alma10-1.taild15c8.ts.net [100.103.45.18]) (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 381CE3BB136 for ; Fri, 26 Jun 2026 19:41:40 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=100.103.45.18 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1782502902; cv=none; b=t6rSWb469n2fp3Z8putts0umIdmrIoiR0uba+DNi/u/UTR7Sk1Xafa1OMii8/5Owg9reU30V9X6alN6XiNLc6u7bPKhQTzKvDFsoh39MKhBrC6bHKqGQAlu7eWP3VtCdjmgBHOgSiZp3H0zFzPW8pojRjHZK9ZFf2wjENzK+Zus= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1782502902; c=relaxed/simple; bh=EvzI76I7wTG+hAmtMgUEhhPeWG9ea1igacDaOIpqODw=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=JFe8c8+lUGc7eY3zKRIy+DnOvrs6KkY+wAhkjSz7OHtzpKZYyD7Edgx15xcEXsd4QONIRtriuqPsJVQTziDi5/hZ+mNky1W636Zp7R5RoymwKOlX9t9hs1zG2bpC/QTE48cKm20bTEMh9KKrWYynAzWriPY7iPzUNqS8ydCUnto= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=vJz3uBPH; arc=none smtp.client-ip=100.103.45.18 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b="vJz3uBPH" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 391591F000E9; Fri, 26 Jun 2026 19:41:40 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1782502900; bh=LY6BIsmUliVdRDndK+7/G6IgYdbSRvASuW6fSt+8WrQ=; h=From:To:Cc:Subject:Date:Reply-To; b=vJz3uBPHqWzC95CPuCN2oT6GWQOQ+8mt0FmcMoiZfK6zQ0HLuJDLD0aYK82MOesMh rtN0sfUuM2Th9EdS1htsyTXK7ydrj+X9V+wvGgNCwDXkzWixAUs7LcDmelNXJunirA iag667j3JsTYb6ZWPbAgZN2egGlHnuom1flp9GdU= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-53278: arm_mpam: Check whether the config array is allocated before destroying it Date: Fri, 26 Jun 2026 20:40:11 +0100 Message-ID: <2026062611-CVE-2026-53278-ec2a@gregkh> X-Mailer: git-send-email 2.54.0 Reply-To: , Precedence: bulk X-Mailing-List: linux-cve-announce@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=2405; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=j9LIe7HLw0bopFkYSlxMh2QwsCKJsUiyFWPk9Kxz1G0=; b=owGbwMvMwCRo6H6F97bub03G02pJDFl2V+esPyqnstOd4e2eqQp/XPJOHHjceT5Fa8uRSLnvt XedVv1Z1hHLwiDIxCArpsjyZRvP0f0VhxS9DG1Pw8xhZQIZwsDFKQATWbKUYQ5/SIqbU2fEweWb e+5s696ZGPy7g5NhwVSvE/1qDoe6OT7uN76jluvluuoBPwA= X-Developer-Key: i=gregkh@linuxfoundation.org; a=openpgp; fpr=F4B60CC5BF78C2214A313DCB3147D40DDB2DFB29 Content-Transfer-Encoding: 8bit From: Greg Kroah-Hartman Description =========== In the Linux kernel, the following vulnerability has been resolved: arm_mpam: Check whether the config array is allocated before destroying it __destroy_component_cfg() is called to free the configuration array. It uses the embedded 'garbage' structure, which means the array has to be allocated. If __destroy_component_cfg() is called from mpam_disable() before the configuration was ever allocated, then a NULL pointer is dereferenced. Check for this case and return early if the configuration is not allocated. __destroy_component_cfg() also frees the mbwu_state as this is allocated by __allocate_component_cfg(). As the mbwu_state is allocated after comp->cfg is set, and is also under mpam_list_lock, only the first pointer needs checking. The Linux kernel CVE team has assigned CVE-2026-53278 to this issue. Affected and fixed versions =========================== Issue introduced in 6.19 with commit 3bd04fe7d807bbdcfe75b29ca82fae4e2d7dc524 and fixed in 7.0.10 with commit 8eb6dc76eeae5302c0d885906a0e469ef9630a59 Issue introduced in 6.19 with commit 3bd04fe7d807bbdcfe75b29ca82fae4e2d7dc524 and fixed in 7.1 with commit 6ccbb613b42a1f1ba7bfd547a148f644a902a25c 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-53278 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/8eb6dc76eeae5302c0d885906a0e469ef9630a59 https://git.kernel.org/stable/c/6ccbb613b42a1f1ba7bfd547a148f644a902a25c