Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (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 C007F3314D0 for ; Wed, 1 Apr 2026 08:37:58 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1775032678; cv=none; b=FJSwc2pkW8lKfWJFjkfYkQdnCZwbt884iBEeMKo+f2DuR/WP3+5bLhZTDQSGpIobGuAE+d7dzTV1fwJJxfPYcktGpL3PAmUkNe999wRXeK7Iodbp3CTQ//Qu9rsx2z4YB13A8Y3DgE4kY6Xi7a6MgdENxwp6AmNt+JddN1qYRqs= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1775032678; c=relaxed/simple; bh=jKgPZ7EVpl08KXxLU8lwh0YT5aUOwJpXBQ230aILgu4=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=pHSEc4NuKmbmTEgfkVoHYJqj3LQGj7jr1tZ2PHEkWbBBOqkFwzY52MKGPREuWsn3Ye9uTQ1KeFf+wbxYjNQjaVCmkZkq8iXjQkxcNLC2qjPuSkVmaCkM8QLYdZPnCeGfJiJdj734Oxx/huD/sLjFk7yF2U9+aOb0nGnSSw4xblQ= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=uSc9Dzt8; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b="uSc9Dzt8" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 1CBABC4CEF7; Wed, 1 Apr 2026 08:37:57 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1775032678; bh=jKgPZ7EVpl08KXxLU8lwh0YT5aUOwJpXBQ230aILgu4=; h=From:To:Cc:Subject:Date:Reply-To:From; b=uSc9Dzt8JxxCsoICbZdd0GYmIKbTg09IhJd2zzQU07O3VTIl/nhHITObrAalM1XCM dAREFUsJOMjDTPr8NHWQ4/NsT4omrlZV4t40BJkRInSLY1IzB3/slbuJedMyEC3dkf XQDJBxSzzLNgBFRsU9PQLJau3DA0ZeFyTgjNZ2Cc= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-23411: apparmor: fix race between freeing data and fs accessing it Date: Wed, 1 Apr 2026 10:37:19 +0200 Message-ID: <2026040114-CVE-2026-23411-00f7@gregkh> X-Mailer: git-send-email 2.53.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=3373; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=/jJfvJFFmB7+dWSr9ylMPW2Y334GPWKutkayHkor5lU=; b=owGbwMvMwCRo6H6F97bub03G02pJDJlnblptCAr+6ffwS7zV9s0zr+SduGr+gj/J8/fz5Ce68 tsyszgvdMSyMAgyMciKKbJ82cZzdH/FIUUvQ9vTMHNYmUCGMHBxCsBE5vxhWNB17JZWzlJfh2ML n0SW6Iqf37sxx4thwQ5O3iWvnYrO3b1x1t5RdNuZhbtEtwAA 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 race between freeing data and fs accessing it AppArmor was putting the reference to i_private data on its end after removing the original entry from the file system. However the inode can aand does live beyond that point and it is possible that some of the fs call back functions will be invoked after the reference has been put, which results in a race between freeing the data and accessing it through the fs. While the rawdata/loaddata is the most likely candidate to fail the race, as it has the fewest references. If properly crafted it might be possible to trigger a race for the other types stored in i_private. Fix this by moving the put of i_private referenced data to the correct place which is during inode eviction. The Linux kernel CVE team has assigned CVE-2026-23411 to this issue. Affected and fixed versions =========================== Issue introduced in 4.13 with commit c961ee5f21b202dea60b63eeef945730d92e46a6 and fixed in 6.6.130 with commit ae10787d955fb255d381e0d5589451dd72c614b1 Issue introduced in 4.13 with commit c961ee5f21b202dea60b63eeef945730d92e46a6 and fixed in 6.12.77 with commit eecce026399917f6efa532c56bc7a3e9dd6ee68b Issue introduced in 4.13 with commit c961ee5f21b202dea60b63eeef945730d92e46a6 and fixed in 6.18.18 with commit 13bc2772414d68e94e273dea013181a986948ddf Issue introduced in 4.13 with commit c961ee5f21b202dea60b63eeef945730d92e46a6 and fixed in 6.19.8 with commit 2a732ed26fbd048e7925d227af8cf9ea43fb5cc9 Issue introduced in 4.13 with commit c961ee5f21b202dea60b63eeef945730d92e46a6 and fixed in 7.0-rc4 with commit 8e135b8aee5a06c52a4347a5a6d51223c6f36ba3 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-23411 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/apparmorfs.c security/apparmor/include/label.h security/apparmor/include/lib.h security/apparmor/include/policy.h security/apparmor/include/policy_unpack.h security/apparmor/label.c security/apparmor/policy_unpack.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/ae10787d955fb255d381e0d5589451dd72c614b1 https://git.kernel.org/stable/c/eecce026399917f6efa532c56bc7a3e9dd6ee68b https://git.kernel.org/stable/c/13bc2772414d68e94e273dea013181a986948ddf https://git.kernel.org/stable/c/2a732ed26fbd048e7925d227af8cf9ea43fb5cc9 https://git.kernel.org/stable/c/8e135b8aee5a06c52a4347a5a6d51223c6f36ba3