{"id":"AZL-116881","summary":"CVE-2026-139107 affecting package kernel 6.6.161.1-1","details":"In the Linux kernel, the following vulnerability has been resolved:\n\napparmor: convert duplicated dfa transitions to match_char()\n\nFor historical reasons several matchers duplicate the dfa character\ntransition instead of using match_char().\n\nThis is because aa_dfa_match_until() and aa_dfa_matchn_until() were\nwritten on a branch that did not yet have match_char(), and copied code\nfrom aa_dfa_match(). leftmatch_fb() used the same pattern.\n\nWhen match_char() added support for diff-encoded states, the change was\nnever ported to these copies.\n\nmatch_char() resolves a diff encoded state by using def[state] and\nretrying the same character, until it reaches a state with a valid\ntransition. The copies instead do a simple `state = def[state];` after\nthe character is consumed, so on a diff encoded state one byte is dropped\nand the walk continues from the diff parent in the wrong state.\n\nThis makes an unnamed px/Px/cx/Cx transition resolve to no profile, and\nexec fails with\n\n  apparmor=\"DENIED\" operation=\"exec\" info=\"profile transition not found\"\n\nConvert the three copies to match_char(). For a dfa with no diff\nencoded state this is a no-op.\n\nThis bug is latent until the kernel advertises policy/diff-encode.","modified":"2026-12-01T14:17:41.156243486Z","published":"2026-11-30T14:18:19Z","upstream":["CVE-2026-139107"],"references":[{"type":"WEB","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-139107"}],"affected":[{"package":{"name":"kernel","ecosystem":"Azure Linux:3","purl":"pkg:rpm/azure-linux/kernel"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"last_affected":"6.6.161.1-1"}]}],"database_specific":{"source":"https://github.com/microsoft/AzureLinuxVulnerabilityData/blob/main/osv/AZL-116881.json"}}],"schema_version":"1.9.2"}