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 A2D523CF685 for ; Fri, 28 Aug 2026 06:49:58 +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=1787899799; cv=none; b=iKcMGoc6g4+EyBp8TTqGGMt0wQByC0szuba5+oeqjJLwIfvf4OMhoUrFC/0gMYbh7e7lbVkJI+eBeV65pj9riwG3jo5jsfTNWvgHdtxgpZ6E5HjIJEKzHIZJNBQiwUVvaKDOER6lLYJYU+X2wMCLmhGEMGM7N7X3jePOB5h0BLA= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1787899799; c=relaxed/simple; bh=0rg+samiD44HCwIQBXAcP2HPU7u3KP3uEI2yoHtk9ow=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=o2FoerWeiSow9D3yFZggVW1UObj2OVDps/ox0ZCaTAuU28HS6AvcDg/OJ3wnDD69EWfP9zaXuhMdZIcfXUrcR1S+7QVrJ2X1t3vuJeQ6vVp7Td+12jd0bQJLqJpOKt9n3cTEnXxTmudR+jREEyhDyO28kS57wNkRpm7ios5E8l0= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=ee5rWd2z; 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="ee5rWd2z" Received: by smtp.kernel.org (Postfix) with ESMTPSA id BAD931F000E9; Fri, 28 Aug 2026 06:49:57 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1787899798; bh=FVO7W1oslK5H5dU2qJ+Bl7QyhH4Lp19gzbypM8kbMPw=; h=From:To:Cc:Subject:Date:Reply-To; b=ee5rWd2zGHC2lnaOkSwcaMYNRzS4X2GK+IrMfig5k4fN0R4SEkAMGjPrXH8/J2er5 OAq/dQlMZOP0iB3/D3WnwNTuAnlUXqpwhzwN6zFJ1THvXJFSgHtSGjkDXo+V1gB26N 9WHkJ4B063QCRVwTUUccf5TPQadVXrFlyVtyB6a8= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-80619: apparmor: fix potential UAF in aa_replace_profiles Date: Fri, 28 Aug 2026 08:48:56 +0200 Message-ID: <2026082836-CVE-2026-80619-935d@gregkh> X-Mailer: git-send-email 2.55.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=3341; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=RuiPlz8lRyDjOGPkoUW2WBLNQlvGG2518P/UdmQ8XAQ=; b=owGbwMvMwCRo6H6F97bub03G02pJDFkT9V1undjcUHT6zsGJH+xz+BOX/XDef5XBozWuPmnhv VduwXckO2JZGASZGGTFFFm+bOM5ur/ikKKXoe1pmDmsTCBDGLg4BWAi3OIM84wOZr0MSDFW8Ltt a/ntT1vhuu1H1zAsWGAj1b1TXN9odxunfTJf7a+lVutWAgA= 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: apparmor: fix potential UAF in aa_replace_profiles The function aa_replace_profiles was accessing udata->size after calling aa_put_loaddata(udata), causing a potential UAF. Fixed this by saving the size to a local variable before dropping the reference. The Linux kernel CVE team has assigned CVE-2026-80619 to this issue. Affected and fixed versions =========================== Issue introduced in 4.11 with commit 5ac8c355ae0013d82b3a07b49aebeadfce9b6e52 and fixed in 5.10.261 with commit 9d8e47cbce7536f19c96e37d0685a042010187ee Issue introduced in 4.11 with commit 5ac8c355ae0013d82b3a07b49aebeadfce9b6e52 and fixed in 5.15.212 with commit 9d37dc6376e336dc4b4f39a7ad0d069aa70e9495 Issue introduced in 4.11 with commit 5ac8c355ae0013d82b3a07b49aebeadfce9b6e52 and fixed in 6.1.178 with commit c0f3a3fda617beeec58708720304dd026a1a4dd7 Issue introduced in 4.11 with commit 5ac8c355ae0013d82b3a07b49aebeadfce9b6e52 and fixed in 6.6.145 with commit 5cba148eae6e8550c2889f5c0f94d72bed864321 Issue introduced in 4.11 with commit 5ac8c355ae0013d82b3a07b49aebeadfce9b6e52 and fixed in 6.12.97 with commit c44de0880b7ccc15c70a6352b5e107677d32b061 Issue introduced in 4.11 with commit 5ac8c355ae0013d82b3a07b49aebeadfce9b6e52 and fixed in 6.18.40 with commit 57b1bd4486d56254bb8af1a8f3d4445bbe505290 Issue introduced in 4.11 with commit 5ac8c355ae0013d82b3a07b49aebeadfce9b6e52 and fixed in 7.1.5 with commit dd5f1202f45a2dbe2c7dd10093f5c6bb2d8ac5bb Issue introduced in 4.11 with commit 5ac8c355ae0013d82b3a07b49aebeadfce9b6e52 and fixed in 7.2 with commit 7b42f95813dc9ceb6bda35afcf914630909a19f9 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-80619 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: security/apparmor/policy.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/9d8e47cbce7536f19c96e37d0685a042010187ee https://git.kernel.org/stable/c/9d37dc6376e336dc4b4f39a7ad0d069aa70e9495 https://git.kernel.org/stable/c/c0f3a3fda617beeec58708720304dd026a1a4dd7 https://git.kernel.org/stable/c/5cba148eae6e8550c2889f5c0f94d72bed864321 https://git.kernel.org/stable/c/c44de0880b7ccc15c70a6352b5e107677d32b061 https://git.kernel.org/stable/c/57b1bd4486d56254bb8af1a8f3d4445bbe505290 https://git.kernel.org/stable/c/dd5f1202f45a2dbe2c7dd10093f5c6bb2d8ac5bb https://git.kernel.org/stable/c/7b42f95813dc9ceb6bda35afcf914630909a19f9