diff options
| author | Jérémy Jean <Jeremy.Jean@oss.cyber.gouv.fr> | 2026-09-25 20:54:48 +0000 |
|---|---|---|
| committer | John Johansen <john.johansen@canonical.com> | 2026-10-29 08:30:53 -0700 |
| commit | 2f764c08bb191a8c8f4051926dba0d25d195f39b (patch) | |
| tree | c86e1ea96aa4e3f17b23e1c77fc526834ece0cec /scripts/Makefile.thinlto | |
| parent | f292873ceb4bd3a1a0f75f884361cd556e457692 (diff) | |
| download | linux-2f764c08bb191a8c8f4051926dba0d25d195f39b.tar.gz linux-2f764c08bb191a8c8f4051926dba0d25d195f39b.zip | |
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.
Fixes: 56974a6fcfef ("apparmor: add base infastructure for socket mediation")
Assisted-by: LLM
Signed-off-by: Jérémy Jean <Jeremy.Jean@oss.cyber.gouv.fr>
Signed-off-by: John Johansen <john.johansen@canonical.com>
Diffstat (limited to 'scripts/Makefile.thinlto')
0 files changed, 0 insertions, 0 deletions
