AZL-117358: CVE-2026-99831 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 profile leak when a policy load fails

The error paths of aareplaceprofiles() and aaunpack() do not break the refcount cycle between label and proxy. They just aaputprofile() the new profiles, which drops the label refcount from 2 to 1, and the proxy keeps the profile alive. Every failed atomic policy load (e.g. "profile can not be replaced", or a later profile in the blob failing to unpack) leaks every new profile in the set, along with its proxy, rules and its loaddata reference.

The leak is usually not visible from userspace, because the rawdata directory for a failed load is not created, but it becomes visible when the blob is deduplicated onto an existing loaddata, which then keeps its policy/rawdata/<rev> directory forever.

Add aaputunpublishedprofile(), which drops the profile's own proxy before putting the profile, and use it on those error paths. The proxy of an unpacked profile is always freshly allocated and not referenced by anything else before the profile is published, so putting it is safe.

Affected Software

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

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Compensating control

    Add aa_put_unpublished_profile() to drop an unpublished profile’s own proxy, and use it in the error paths of aa_replace_profiles() and aa_unpack() before putting the profile.

Event History

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

Child vulnerabilities

Contains the following vulnerabilities.

Frequently Asked Questions

1

What conditions trigger the leak?

The leak occurs when an atomic AppArmor policy load fails after new profiles have been created, such as when a profile cannot be replaced or when a later profile in the policy blob fails to unpack.

2

What resources remain allocated after a failed load?

Each failed atomic policy load can retain every new profile in the set, along with its proxy, rules, and loaddata reference. The affected profiles are kept alive by a label/proxy reference-count cycle.

3

How can administrators identify evidence of this issue?

The leak is usually not visible from userspace because a failed load does not create a raw_data directory. It can become visible when the policy blob is deduplicated onto existing loaddata, causing its policy/raw_data/<rev> directory to remain indefinitely.

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