CVE-2026-139106

apparmor: check connect permission for SCTP

Published Nov 30, 2026 CVSS n/a EPSS n/a KEV · Not listed
Description
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 sctp_bind_connect 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 SENDMSG_CONNECT
or CONNECTX creates an association.

Analysis

AI-generated

Technical impact

The vulnerability arises because the AppArmor module in the Linux kernel does not register the SCTP connect hook. As a result, when a task uses sendmsg() or CONNECTX to initiate an SCTP association, the kernel bypasses the AppArmor connect permission check. This allows a profile that denies SCTP connect while permitting send or setopt operations to unintentionally allow an association, effectively bypassing the intended access control. The weakness is an improper authorization check, leading to unauthorized SCTP communication and potential exposure of services that should be blocked.

Affected Systems

All Linux kernel releases that include AppArmor and SCTP handling are potentially affected, as the CPE indicates "cpe:2.3:o:linux:linux_kernel:*.*.*.*.*.*.*.*.*". No specific version ranges are listed; therefore any kernel version containing the unpatched AppArmor SCTP logic is impacted.

Risk and Exploitability

Because the flaw permits establishment of SCTP associations without proper authorization, it can be exploited by a local user possessing a profile that denies connect. The absence of an EPSS score or KEV listing suggests limited publicly known exploitation but the risk remains significant. The attack vector is local, requiring the ability to execute sendmsg() or CONNECTX on the target system. Given the severity of an access control bypass, the potential consequences include denial of service or data exfiltration through the unauthorized channel.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Update the Linux kernel to a version that registers the SCTP connect hook, as demonstrated in the recent commit to the AppArmor subsystem.
  • Rebuild or reload AppArmor profiles after upgrading to ensure the new hook is active.
  • If an upgrade is not immediately possible, configure profiles to explicitly deny all SCTP send and setopt operations or limit their usage to trusted applications to mitigate the bypass until a patch is applied.

Generated by OpenCVE AI on November 30, 2026 at 19:27 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
Weaknesses CWE-284
CWE-640
Type Values Removed Values Added
Description 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 sctp_bind_connect 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 SENDMSG_CONNECT or CONNECTX creates an association.
Title apparmor: check connect permission for SCTP
First Time appeared Linux
Linux linux Kernel
CPEs cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
Vendors & Products Linux
Linux linux Kernel
References
Weaknesses
  • CWE-284

    Improper Access Control

  • CWE-640

    Weak Password Recovery Mechanism for Forgotten Password

Sources

Status
PUBLISHED
Assigner
Linux
Published
Updated
Nov 30, 2026, 1:31 PM
Reserved
Nov 30, 2026, 1:22 PM
Status
Received
Published
Nov 30, 2026, 2:18 PM
Modified
Nov 30, 2026, 2:18 PM