CVE-2026-23409

apparmor: fix differential encoding verification

published April 1, 2026

CVSS
—
EPSS
0%
Percentile
6.9
In the wild
Unconfirmed
What it is

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.

The record
Technical detail
CVSS
Not scored
CVSS v4.0
Not supplied
EPSS
0.00177 · 6.9th percentile
Published
2026-04-01T08:36Z
EPSS history
Timeline
  • 01 APR 08:36Z
    apparmor: fix differential encoding verification
    cvelistv5