CVE-2026-139106: apparmor: check connect permission for SCTP
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
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
linux/Kernelto a version that resolves this vulnerability.Fixed in 6.12.119 - Upgrade
Upgrade
linux/Kernelto a version that resolves this vulnerability.Fixed in 6.18.65 - Upgrade
Upgrade
linux/Kernelto a version that resolves this vulnerability.Fixed in 7.3.6
Event History
Frequently Asked Questions
Which systems are exposed to this bypass?
Systems using the Linux kernel with AppArmor profiles that rely on denying socket connect permission for SCTP are exposed. The bypass applies when the profile still permits send operations or socket-option operations needed for the SCTP association path.
What does an attacker need to do to bypass the policy?
A confined task must be able to initiate an SCTP association using sendmsg() with SENDMSG_CONNECT or the SCTP CONNECTX operation. Those paths previously used an SCTP-specific hook that AppArmor did not register, allowing association creation despite a denied connect permission.
How can exposure be reduced before the fix is deployed?
Restrict or avoid SCTP use by confined workloads, particularly where profiles deny connect but allow send or setopt. Review affected AppArmor profiles and remove permissions that permit the SCTP association-creation paths where operationally feasible.