CVE-2026-139097: apparmor: fix check SCTP bind, and connect permission checks
In the Linux kernel, the following vulnerability has been resolved:
apparmor: fix check SCTP bind, and connect permission checks
SCTP mediation of bind is not being checked correctly because bind permission needs to be checked in the sctpbindconnect() hook.
Require for bind permissions when CTPSETPEERPRIMARYADDR, and SCTPSOCKOPTBINDXADD are asked for.
The peer initialized ASCONF cases (SCTPPARAMADDIP and SCTPPARAMSETPRIMARY) are processed in softirq context and are not mediated atm. SCTPPRIMATEYADDR, and SCTPSETPEERPRIMARYADDR only select among address already in the association.
Affected Software
Event History
Frequently Asked Questions
Which SCTP operations are subject to the corrected bind-permission enforcement?
Bind permission is required when CTP_SET_PEER_PRIMARY_ADDR and SCTP_SOCKOPT_BINDX_ADD are requested. The bind check must occur in the sctp_bind_connect() hook.
Are all SCTP address-management operations mediated by AppArmor?
No. Peer-initiated ASCONF cases, specifically SCTP_PARAM_ADD_IP and SCTP_PARAM_SET_PRIMARY, are processed in softirq context and are not mediated.
Do primary-address selection operations add new addresses to an SCTP association?
No. SCTP_PRIMATEY_ADDR and SCTP_SET_PEER_PRIMARY_ADDR only select from addresses already in the association.