# CVE-2026-142889: apparmor: remove unconfined\_profile() check in inet socket mediation

- **Severity:** UNSCORED
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Unknown
- **Published:** 2026-12-03T03:25:42.504Z
- **Modified:** 2026-12-03T04:18:27.830Z

> **AI summary (AI-generated, claude-haiku-5-5):** An attacker can trigger a kernel warning on inet socket operations when a stacked AppArmor label is used in the Linux kernel's AppArmor socket mediation code.

## Who should check

- Anyone running Linux \>= 89ac6aa752ec8b7b43d8d88a3e7719d1868d582a, \< fd51e06e345d1bdafcfb6d08c6b9eea6e0b66784; \>= 89ac6aa752ec8b7b43d8d88a3e7719d1868d582a, \< 1f5428b9f9bfb9dab6828015a5254dcd7c582a01
- Anyone running Linux 7.3

## 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.

## Affected and fixed versions

- Linux: \>= 89ac6aa752ec8b7b43d8d88a3e7719d1868d582a, \< fd51e06e345d1bdafcfb6d08c6b9eea6e0b66784; \>= 89ac6aa752ec8b7b43d8d88a3e7719d1868d582a, \< 1f5428b9f9bfb9dab6828015a5254dcd7c582a01 (cvelist)
- Linux: 7.3 (cvelist)

## Technologies

Linux kernel

## Mitigation

- Upgrade Linux to 1f5428b9f9bfb9dab6828015a5254dcd7c582a01 or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2026-142889. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-142889.md
Affected: Linux >= 89ac6aa752ec8b7b43d8d88a3e7719d1868d582a, < fd51e06e345d1bdafcfb6d08c6b9eea6e0b66784; >= 89ac6aa752ec8b7b43d8d88a3e7719d1868d582a, < 1f5428b9f9bfb9dab6828015a5254dcd7c582a01; Linux 7.3
Fixed in: Linux 1f5428b9f9bfb9dab6828015a5254dcd7c582a01

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2026-142889 being exploited?

There is no confirmed exploitation: CVE-2026-142889 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known.

### How serious is CVE-2026-142889?

It has no CVSS score yet. Unknown.

### Which versions are affected by CVE-2026-142889?

Linux \>= 89ac6aa752ec8b7b43d8d88a3e7719d1868d582a, \< fd51e06e345d1bdafcfb6d08c6b9eea6e0b66784; \>= 89ac6aa752ec8b7b43d8d88a3e7719d1868d582a, \< 1f5428b9f9bfb9dab6828015a5254dcd7c582a01; Linux 7.3.

### Is there a fix for CVE-2026-142889?

Yes. Fixed in Linux 1f5428b9f9bfb9dab6828015a5254dcd7c582a01. Upgrade Linux to 1f5428b9f9bfb9dab6828015a5254dcd7c582a01 or later.

### How do I check if I'm affected by CVE-2026-142889?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- other: <https://git.kernel.org/stable/c/fd51e06e345d1bdafcfb6d08c6b9eea6e0b66784>
- other: <https://git.kernel.org/stable/c/1f5428b9f9bfb9dab6828015a5254dcd7c582a01>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2026-142889>

HTML: <https://flawdb.com/CVE-2026-142889> · JSON: <https://flawdb.com/api/v1/entries/CVE-2026-142889>
