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 4E5AF355F50 for ; Wed, 18 Mar 2026 17:54:53 +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=1773856493; cv=none; b=YD+I/bN/kMStZAUBYx5oiz9XRU9Nctvo+y5EzzJxen7kQXByUrXHPLH3mYDjJ4Z5sUFJz0gGzAWmxf0o0qzuWSTEB+dB8rM+Kg2Uso/aQc1pqTrn1Ld+YmKFeTv6gmIJxxF5pq+31mbDK3spd5AfsfwjH47AdIvJZrVy3mxe4II= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1773856493; c=relaxed/simple; bh=aAU+7xdmFy/zgnEaejSvmn4rREfrD6VXqeJaJ1nidyA=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=fn/4Yes1dcGX2vUWOwVBD1TP4lkWzuP+HGg138T+i8ij+IvpYnM/HKY7ZJD31lM9tHPDK7ehs4Ng8g1WBtb47ihlUUJEqKcWXTxVZWNzRUbGsTWhv7vV3UFV5B7kXD6oKpLr3VBR8cSgIsBrD3cPZbo3Qz4Hzz64FHPG9MlC4FY= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=kI+id1VG; 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="kI+id1VG" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 81BD0C19421; Wed, 18 Mar 2026 17:54:52 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1773856492; bh=aAU+7xdmFy/zgnEaejSvmn4rREfrD6VXqeJaJ1nidyA=; h=From:To:Cc:Subject:Date:Reply-To:From; b=kI+id1VGC1Zs8g3rN7v4lkEjcesr2dRimn00VGlEUPUeDfPI9CKKv9VEx/frYnd7m H2gInHyMxOiWH0CwRKwRSGYsO8JHPE+xP/rSOLag1Xk9oSBPY/uv+oAJo5HWH4y0aW 2/Ksw+rm43hRLhU6I/7Q1iyy5JGXuBSjxw5BhceI= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-23269: apparmor: validate DFA start states are in bounds in unpack_pdb Date: Wed, 18 Mar 2026 18:54:48 +0100 Message-ID: <2026031846-CVE-2026-23269-2bf7@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=2809; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=pVFIoWHRyW0ELv9bMMxFf5faiqVFaQ7RqC0iUj+A9hM=; b=owGbwMvMwCRo6H6F97bub03G02pJDJm7nj1nr2Kz/nA8pni7/fIeUWPRNoM9IjkKZz8uWvow/ Iyr/Wb9jlgWBkEmBlkxRZYv23iO7q84pOhlaHsaZg4rE8gQBi5OAZjIrBcM870a+Tb2MUztNFyh Jb6+xLJO2e71cYYFx9Iultzq29V7X9Grd48t3zqZmtnJAA== 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: validate DFA start states are in bounds in unpack_pdb Start states are read from untrusted data and used as indexes into the DFA state tables. The aa_dfa_next() function call in unpack_pdb() will access dfa->tables[YYTD_ID_BASE][start], and if the start state exceeds the number of states in the DFA, this results in an out-of-bound read. ================================================================== BUG: KASAN: slab-out-of-bounds in aa_dfa_next+0x2a1/0x360 Read of size 4 at addr ffff88811956fb90 by task su/1097 ... Reject policies with out-of-bounds start states during unpacking to prevent the issue. The Linux kernel CVE team has assigned CVE-2026-23269 to this issue. Affected and fixed versions =========================== Issue introduced in 3.4 with commit ad5ff3db53c68c2f12936bc74ea5dfe0af943592 and fixed in 6.12.77 with commit 15c3eb8916e7db01cb246d04a1fe6f0fdc065b0c Issue introduced in 3.4 with commit ad5ff3db53c68c2f12936bc74ea5dfe0af943592 and fixed in 6.18.18 with commit 0baadb0eece2c4d939db10d3c323b4652ac79a58 Issue introduced in 3.4 with commit ad5ff3db53c68c2f12936bc74ea5dfe0af943592 and fixed in 6.19.8 with commit 3bb7db43e32190c973d4019037cedb7895920184 Issue introduced in 3.4 with commit ad5ff3db53c68c2f12936bc74ea5dfe0af943592 and fixed in 7.0-rc4 with commit 9063d7e2615f4a7ab321de6b520e23d370e58816 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-23269 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_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/15c3eb8916e7db01cb246d04a1fe6f0fdc065b0c https://git.kernel.org/stable/c/0baadb0eece2c4d939db10d3c323b4652ac79a58 https://git.kernel.org/stable/c/3bb7db43e32190c973d4019037cedb7895920184 https://git.kernel.org/stable/c/9063d7e2615f4a7ab321de6b520e23d370e58816