apparmor: fix differential encoding verification

Summary

CVECVE-2026-23409
StatePUBLISHED
AssignerLinux
Source PriorityCVE Program / NVD first with legacy fallback
Published2026-04-01 09:16:16 UTC
Updated2026-04-01 14:23:37 UTC
DescriptionIn the Linux kernel, the following vulnerability has been resolved: apparmor: fix differential encoding verification Differential encoding allows loops to be created if it is abused. To prevent this the unpack should verify that a diff-encode chain terminates. Unfortunately the differential encode verification had two bugs. 1. it conflated states that had gone through check and already been marked, with states that were currently being checked and marked. This means that loops in the current chain being verified are treated as a chain that has already been verified. 2. the order bailout on already checked states compared current chain check iterators j,k instead of using the outer loop iterator i. Meaning a step backwards in states in the current chain verification was being mistaken for moving to an already verified state. Move to a double mark scheme where already verified states get a different mark, than the current chain being kept. This enables us to also drop the backwards verification check that was the cause of the second error as any already verified state is already marked.

Risk And Classification

EPSS: 0.000180000 probability, percentile 0.045290000 (date 2026-04-01)

Vendor Declared Affected Products

SourceVendorProductVersionPlatforms
CNA Linux Linux affected 031dcc8f4e84fea37dc6f78fdc7288aa7f8386c3 f90e3ecd9e1ed69f1a370f866ceed1f104f3ab4a git Not specified
CNA Linux Linux affected 031dcc8f4e84fea37dc6f78fdc7288aa7f8386c3 34fc60b125ed1d4eb002c76b0664bf0619492167 git Not specified
CNA Linux Linux affected 031dcc8f4e84fea37dc6f78fdc7288aa7f8386c3 623a9d211bbbb031bb1cbdb38b23487648167f8a git Not specified
CNA Linux Linux affected 031dcc8f4e84fea37dc6f78fdc7288aa7f8386c3 1ff4857fac56ac5a90ee63b24db05fa5e91a45aa git Not specified
CNA Linux Linux affected 031dcc8f4e84fea37dc6f78fdc7288aa7f8386c3 39440b137546a3aa383cfdabc605fb73811b6093 git Not specified
CNA Linux Linux affected 4.17 Not specified
CNA Linux Linux unaffected 4.17 semver Not specified
CNA Linux Linux unaffected 6.6.130 6.6.* semver Not specified
CNA Linux Linux unaffected 6.12.77 6.12.* semver Not specified
CNA Linux Linux unaffected 6.18.18 6.18.* semver Not specified
CNA Linux Linux unaffected 6.19.8 6.19.* semver Not specified
CNA Linux Linux unaffected 7.0-rc4 * original_commit_for_fix Not specified

References

ReferenceSourceLinkTags
git.kernel.org/stable/c/1ff4857fac56ac5a90ee63b24db05fa5e91a45aa 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
git.kernel.org/stable/c/f90e3ecd9e1ed69f1a370f866ceed1f104f3ab4a 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
git.kernel.org/stable/c/623a9d211bbbb031bb1cbdb38b23487648167f8a 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
git.kernel.org/stable/c/34fc60b125ed1d4eb002c76b0664bf0619492167 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
git.kernel.org/stable/c/39440b137546a3aa383cfdabc605fb73811b6093 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
CVE Program record CVE.ORG www.cve.org canonical
NVD vulnerability detail NVD nvd.nist.gov canonical, analysis
© CVE.report 2026 |

Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.

CVE, CWE, and OVAL are registred trademarks of The MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. This site includes MITRE data granted under the following license.

CVE.report and Source URL Uptime Status status.cve.report