Skip to content

seccomp v0.2.3

Latest

Choose a tag to compare

@thaJeztah thaJeztah released this 06 May 12:55
seccomp/v0.2.3
836ae4d

What's Changed

Revert "seccomp: Block socketcall to prevent AF_ALG filter bypass"

Blocking whole socketcall had much bigger impact on x86 binaries than
anticipated. Drop the seccomp based block in favor of AppArmor/SELinux
based one.

Seccomp cannot filter socketcall(2) arguments because the address family
is behind a userspace pointer that BPF cannot dereference.

Only an LSM (AppArmor or SELinux) can deny AF_ALG via the
security_socket_create hook in the socketcall path.

Full Changelog: seccomp/v0.2.2...seccomp/v0.2.3