Vulnerability record
apparmor: convert duplicated dfa transitions to match_char()
In the Linux kernel, the following vulnerability has been resolved:
apparmor: convert duplicated dfa transitions to match_char()
For historical reasons several matchers duplicate the dfa character transition instead of using match_char().
This is because aa_dfa_match_until() and aa_dfa_matchn_until() were written on a branch that did not yet have match_char(), and copied code from aa_dfa_match(). leftmatch_fb() used the same pattern.
When match_char() added support for diff-encoded states, the change was never ported to these copies.
match_char() resolves a diff encoded state by using…
Remediation
No fixed version has been published for this vulnerability yet. Check the references below for vendor advisories, workarounds and mitigation guidance.
Sources