CVE-2026-142889: apparmor: remove unconfined_profile() check in inet socket mediation

Published Dec 3, 2026
·
Updated

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

apparmor: remove unconfinedprofile() check in inet socket mediation

When a stacked label is used the early bailout !unconfined(label) fails, and the individual profile components of the label are checked. This can lead to aaprofileafperm() being called which results in

WARNING: security/apparmor/net.c:263 at aaprofileafperm+0x228/0x3b0

on any inet socket using basic socket mediation.

Remove the AABUG(profileunconfined(profile)) check, it is not needed as the code already handles the unconfinedprofile() case. In addition also a comment to indicate that this case is covered.

Affected Software

1 affected component
Linux Linux kernel

Event History

Dec 3, 2026
CVE Published
via MITRE·03:25 AM
Data Sourced
via MITRE·03:25 AM
Description

Frequently Asked Questions

1

Which systems are affected in practice?

Systems using AppArmor stacked labels and basic socket mediation for inet sockets are affected. The issue occurs when the stacked label causes individual profile components to be checked.

2

How can I tell whether this condition has been triggered?

A kernel warning at security/apparmor/net.c:263 in aa_profile_af_perm() is an indicator. The described warning can occur on an inet socket using basic socket mediation.

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