Skip to main content

In the Linux kernel, the following vulnerability has been resolved: apparmor: fix cred UAF caused by begin_current_label_crit_section() AppArmor's… (CVE-2026-89762)

0
High
Published: 09/11/2026 (09/11/2026, 21:31:39 UTC)
Source: GCVE Database

Description

A use-after-free (UAF) vulnerability in the Linux kernel's AppArmor component was fixed. The issue arises from improper handling of credential (cred) references during label replacement in AppArmor's begin_current_label_crit_section() function. This can lead to a scenario where the task's real credentials point to freed memory, causing UAF when accessed. The fix defers credential replacement to task_work executed at syscall end to avoid premature reference drops.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 09/12/2026, 00:47:30 UTC

Technical Analysis

The vulnerability in the Linux kernel's AppArmor LSM involves a use-after-free condition caused by direct replacement of the current credentials struct in begin_current_label_crit_section(). When AppArmor replaces the credentials due to a stale label, it drops references prematurely, especially in scenarios involving overridden credentials. This leads to a mismatch between task->cred and task->real_cred pointers, potentially causing the real_cred pointer to reference freed memory. The issue was demonstrated with a test case involving aa-disable on a profile during a blocked splice() syscall, resulting in a KASAN UAF error. The fix changes the replacement mechanism to defer cred replacement via task_work at syscall completion, preventing premature reference drops and UAF.

Potential Impact

If exploited, this vulnerability can cause use-after-free conditions in kernel memory related to credential structures, potentially leading to kernel crashes or undefined behavior. There is no evidence of active exploitation in the wild. The impact is limited to kernel stability and security context integrity within AppArmor's credential handling.

Mitigation Recommendations

A fix is available that defers credential replacement to task_work executed at the end of the current syscall, preventing premature reference drops and use-after-free. Users should apply the official Linux kernel updates that include this patch. No additional mitigation is indicated by the vendor advisory.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Gcve Source
db.gcve.eu
Osv Id
GHSA-p69h-p269-mrvc
Osv Schema Version
1.4.0
Aliases
["CVE-2026-89762"]

Threat ID: 6aa49ff755bf5e2cf5a865b2

Added to database: 09/12/2026, 00:42:31 UTC

Last enriched: 09/12/2026, 00:47:30 UTC

Last updated: 09/12/2026, 00:47:30 UTC

Views: 2

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses