AZL-116884: CVE-2026-139108 affecting package kernel 6.6.161.1-1

Published Nov 30, 2026
·
Updated

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

apparmor: fix tablesize() integer overflow on 32 bit

tablesize() checks ALIGN(sizeof(struct tableheader) + len elsize, 8) in sizet, where @len is tdlolen, a u32 user-provided value from the policy blob. On 32 bit kernels both operations can overflow.

Triggering this bug allows to: - overflow a 16 byte allocation with up to 4GiB of policy data - store the table header at address ZEROSIZEPTR (kvzalloc(0))

However, this bug requires CAPMACADMIN, only affects 32 bit kernels, and the copy runs until the machine is destroyed, so it gives no controllable primitive and is therefore not a security issue.

Compute the size with the checked helpers and return 0 when the result is not representable, so the callers can reject the table. A valid table is never 0 bytes, the header alone is 12.

64 bit kernels cannot overflow (these structs are 32 bit), and are hence not affected.

Affected Software

1 affected component
azure-linux/kernel<=6.6.161.1-1

Event History

Nov 30, 2026
Advisory Published
via OSV·02:18 PM
Data Sourced
via OSV·02:18 PM
DescriptionAffected Software

Child vulnerabilities

Contains the following vulnerabilities.

Frequently Asked Questions

1

Which systems are affected by this issue?

Only 32-bit Linux kernels are affected. 64-bit kernels cannot overflow because the relevant structure fields are 32-bit values.

2

What access does an attacker need to trigger the overflow?

Triggering it requires CAP_MAC_ADMIN and a user-provided AppArmor policy blob. This is a privileged capability, so unprivileged users cannot directly exploit the condition.

3

How can I determine whether a system is exposed?

Check whether the system is running a 32-bit kernel and whether an actor can load AppArmor policy data with CAP_MAC_ADMIN. Systems running a 64-bit kernel are not affected.

4

What is the practical impact if the vulnerable code is triggered?

The overflow can lead to a 16-byte allocation being overrun with up to 4 GiB of policy data or place a table header at ZERO_SIZE_PTR. The copy continues until the machine is destroyed, and the description states that this does not provide a controllable exploitation primitive.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203