[openssh with openssl cryptodev engine] sshd killed by seccomp filter

Damien Miller djm at mindrot.org
Thu Feb 26 04:21:03 AEDT 2015


On Wed, 25 Feb 2015, LABBE Corentin wrote:

> Hello
> 
> I have a server with an hardware crypto accelator.
> For giving userspace access to it I use the cryptodev module (http://cryptodev-linux.org/)
> I have also the cryptodev engine compiled in openssl.
> 
> When I modprobe the cryptodev module, I cannot login with ssh on the server.
> 
> The symptom can be found with dmesg:
> audit: type=1326 audit(1424784807.257:3): auid=4294967295 uid=22 gid=22 ses=4294967295 pid=17725 comm="sshd" exe="/usr/sbin/sshd" sig=31 arch=40000028 syscall=54 compat=0 ip=0xb6be809c code=0x0
[snip]
> +	SC_ALLOW(ioctl),

no, sorry. ioctl is too much attack kernel surface and would defeat the
usefulness of the sandbox.

-d


More information about the openssh-unix-dev mailing list