apparmor: remove unconfined_profile() check in inet socket mediation
Summary
| CVE | CVE-2026-142889 |
| State | PUBLISHED |
| Assigner | Linux |
| Source Priority | CVE Program / NVD first with legacy fallback |
| Published | 2026-12-03 04:18:27 UTC |
| Updated | 2026-12-03 04:18:27 UTC |
| Description | In the Linux kernel, the following vulnerability has been resolved:
apparmor: remove unconfined_profile() 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 aa_profile_af_perm() being called which results in
WARNING: security/apparmor/net.c:263 at aa_profile_af_perm+0x228/0x3b0
on any inet socket using basic socket mediation.
Remove the AA_BUG(profile_unconfined(profile)) check, it is not needed
as the code already handles the unconfined_profile() case. In addition
also a comment to indicate that this case is covered. |
Vendor Declared Affected Products
| Source | Vendor | Product | Version | Platforms |
|---|
| CNA |
Linux |
Linux |
affected 89ac6aa752ec8b7b43d8d88a3e7719d1868d582a fd51e06e345d1bdafcfb6d08c6b9eea6e0b66784 git |
Not specified |
| CNA |
Linux |
Linux |
affected 89ac6aa752ec8b7b43d8d88a3e7719d1868d582a 1f5428b9f9bfb9dab6828015a5254dcd7c582a01 git |
Not specified |
| CNA |
Linux |
Linux |
affected 7.3 |
Not specified |
| CNA |
Linux |
Linux |
unaffected 7.3 semver |
Not specified |
| CNA |
Linux |
Linux |
unaffected 7.3.6 7.3.* semver |
Not specified |
| CNA |
Linux |
Linux |
unaffected 7.4-rc1 * original_commit_for_fix |
Not specified |
References
| Reference | Source | Link | Tags |
|---|
| git.kernel.org/stable/c/fd51e06e345d1bdafcfb6d08c6b9eea6e0b66784 |
416baaa9-dc9f-4396-8d5f-8c081fb06d67 |
git.kernel.org |
|
| git.kernel.org/stable/c/1f5428b9f9bfb9dab6828015a5254dcd7c582a01 |
416baaa9-dc9f-4396-8d5f-8c081fb06d67 |
git.kernel.org |
|
| CVE Program record |
CVE.ORG |
www.cve.org |
canonical |
| NVD vulnerability detail |
NVD |
nvd.nist.gov |
canonical, analysis |
No vendor comments have been submitted for this CVE.
There are currently no legacy QID mappings associated with this CVE.