AZL-116878: CVE-2026-139106 affecting package kernel 6.6.161.1-1
In the Linux kernel, the following vulnerability has been resolved:
apparmor: check connect permission for SCTP
SCTP can start an association through sendmsg() or CONNECTX. These paths call the SCTP-specific sctpbindconnect hook instead of the normal socket connect hook, but AppArmor does not register it. As a result, a profile can deny connect and allow send or setopt, yet a task can still create an SCTP association.
Register the SCTP hook. Ask for connect permission when SENDMSGCONNECT or CONNECTX creates an association.
Affected Software
Event History
Frequently Asked Questions
Who is exposed to this issue?
Systems using the affected Azure Linux kernel package and relying on AppArmor profiles to block SCTP connections are exposed. The bypass applies when a profile denies connect permission but allows send or setopt permission.
What does an attacker need to exploit the bypass?
An attacker needs the ability to run a task under an AppArmor profile with the relevant permission combination and initiate an SCTP association using sendmsg() or CONNECTX. Those paths can create an association without the normal socket connect hook being checked.
Are all SCTP operations affected?
The issue specifically concerns SCTP association creation through sendmsg() with SENDMSG_CONNECT or through CONNECTX. Normal socket connect handling is not the path described as bypassed.
How can I determine whether an AppArmor policy may be affected?
Review AppArmor profiles for tasks that deny connect permission while allowing send or setopt, and identify whether those tasks can use SCTP. Such profiles may not prevent SCTP associations created through the affected paths.