← Back to feed
Vulnerabilities & PatchesEmerging1 sourceSep 11, 2026 · 20:20via CVEFeed

CVE-2026-89761 - apparmor: fix out-of-bounds write when null terminating a label vec

Brief

CVE ID : CVE-2026-89761

Published : Sept. 11, 2026, 8:20 p. m.

  • 32 minutes ago

Description : In the Linux kernel, the following vulnerability has been resolved:

apparmor: fix out-of-bounds write when null terminating a label vec

aa_vec_unique() null terminates at vec[n - dups] when VEC_FLAG_TERMINATE is passed. If the components are all distinct no duplicates are dropped, dups is 0 and the terminator goes to vec[n], so the caller has to provide room for n + 1 entries.

aa_label_strn_parse() sets up its vector with vec_setup(profile, vec, len, gfp) and then calls aa_vec_unique(vec, len, VEC_FLAG_TERMINATE), but vec_setup() does not reserve the terminator entry. Up to LOCAL_VEC_ENTRIES it uses the local array of LOCAL_VEC_ENTRIES pointers, above that it allocates exactly len pointers.

Read more on CVEFeed→