{"id":"AZL-116884","summary":"CVE-2026-139108 affecting package kernel 6.6.161.1-1","details":"In the Linux kernel, the following vulnerability has been resolved:\n\napparmor: fix table_size() integer overflow on 32 bit\n\ntable_size() checks ALIGN(sizeof(struct table_header) + len * el_size, 8)\nin size_t, where @len is td_lolen, a u32 user-provided value from the\npolicy blob. On 32 bit kernels both operations can overflow.\n\nTriggering this bug allows to:\n - overflow a 16 byte allocation with up to 4GiB of policy data\n - store the table header at address ZERO_SIZE_PTR (kvzalloc(0))\n\nHowever, this bug requires CAP_MAC_ADMIN, only affects 32 bit kernels,\nand the copy runs until the machine is destroyed, so it gives no\ncontrollable primitive and is therefore not a security issue.\n\nCompute the size with the checked helpers and return 0 when the result is\nnot representable, so the callers can reject the table. A valid table is\nnever 0 bytes, the header alone is 12.\n\n64 bit kernels cannot overflow (these structs are 32 bit), and are hence\nnot affected.","modified":"2026-12-01T14:17:41.267917987Z","published":"2026-11-30T14:18:19Z","upstream":["CVE-2026-139108"],"references":[{"type":"WEB","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-139108"}],"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-116884.json"}}],"schema_version":"1.9.2"}