CVE-2026-23409

apparmor: fix differential encoding verification

State
Published
Severity
Not scored
Published
Apr 1, 2026
Updated
May 11, 2026
Reserved
Jan 13, 2026

Read the record on cve.org

Description

In 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.

Scores

The record has no CVSS score.

Weaknesses

The record names no weakness.

Affected Products

ProductVersions
LinuxLinux
  • 031dcc8f4e84fea37dc6f78fdc7288aa7f8386c3 to before ff7c73744fafe944ed9a7b2b7cf6c8d5557a3d84Affected
  • 031dcc8f4e84fea37dc6f78fdc7288aa7f8386c3 to before 1439150cd3c411228b387ab5efca92199d2a659aAffected
  • 031dcc8f4e84fea37dc6f78fdc7288aa7f8386c3 to before 0fab44285445e9012674396d5c1236a67da518e0Affected
  • 031dcc8f4e84fea37dc6f78fdc7288aa7f8386c3 to before f90e3ecd9e1ed69f1a370f866ceed1f104f3ab4aAffected
  • 031dcc8f4e84fea37dc6f78fdc7288aa7f8386c3 to before 34fc60b125ed1d4eb002c76b0664bf0619492167Affected
  • 031dcc8f4e84fea37dc6f78fdc7288aa7f8386c3 to before 623a9d211bbbb031bb1cbdb38b23487648167f8aAffected
  • 031dcc8f4e84fea37dc6f78fdc7288aa7f8386c3 to before 1ff4857fac56ac5a90ee63b24db05fa5e91a45aaAffected
  • 031dcc8f4e84fea37dc6f78fdc7288aa7f8386c3 to before 39440b137546a3aa383cfdabc605fb73811b6093Affected
LinuxLinux
  • 4.17Affected
  • before 4.17Not affected
  • 5.10.253 through 5.10.*Not affected
  • 5.15.203 through 5.15.*Not affected
  • 6.1.169 through 6.1.*Not affected
  • 6.6.130 through 6.6.*Not affected
  • 6.12.77 through 6.12.*Not affected
  • 6.18.18 through 6.18.*Not affected
  • 6.19.8 through 6.19.*Not affected
  • 7.0 and laterNot affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.