diff options
| author | John Johansen <john.johansen@canonical.com> | 2026-10-29 09:03:55 -0700 |
|---|---|---|
| committer | John Johansen <john.johansen@canonical.com> | 2026-10-29 09:03:55 -0700 |
| commit | 7a82f9a06459ff1c37b5e97b204430442cc076e3 (patch) | |
| tree | b753480da87ca1fb0efed29451a019f19df54c90 /scripts/Makefile.thinlto | |
| parent | 2f764c08bb191a8c8f4051926dba0d25d195f39b (diff) | |
| download | linux-7a82f9a06459ff1c37b5e97b204430442cc076e3.tar.gz linux-7a82f9a06459ff1c37b5e97b204430442cc076e3.zip | |
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 sctp_bind_connect() hook.
Require for bind permissions when CTP_SET_PEER_PRIMARY_ADDR, and
SCTP_SOCKOPT_BINDX_ADD are asked for.
The peer initialized ASCONF cases (SCTP_PARAM_ADD_IP and
SCTP_PARAM_SET_PRIMARY) are processed in softirq context and are not
mediated atm. SCTP_PRIMATEY_ADDR, and SCTP_SET_PEER_PRIMARY_ADDR only
select among address already in the association.
Fixes: 56974a6fcfef ("apparmor: add base infastructure for socket mediation")
Signed-off-by: John Johansen <john.johansen@canonical.com>
Diffstat (limited to 'scripts/Makefile.thinlto')
0 files changed, 0 insertions, 0 deletions
