Re: [PATCH 1/4] modsign: Abort modules_install when signing fails

From: Woodhouse, David
Date: Tue May 19 2015 - 08:57:30 EST


On Tue, 2015-05-19 at 07:45 -0400, Mimi Zohar wrote:
>
> /bin/sh: line 1: 22771 Segmentation fault (core dumped)
> scripts/sign-file "sha256" "pkcs11:manufacturer=piv_II;id=%01"
> ./signing_key.x509 /lib/modules/4.1.0-rc1
> -test+/kernel/net/ipv6/netfilter/ip6table_filter.ko
> /home/zohar/src/kernel/linux-integrity/scripts/Makefile.modinst:35:
> recipe for target 'net/ipv6/netfilter/ip6table_filter.ko' failed
> make[2]: *** [net/ipv6/netfilter/ip6table_filter.ko] Error 139

Hm, can you get a backtrace of that? It would be impressive if that
were a bug in the very few lines of code we have in sign-file.c to
handle the engine; I suspect it's more likely to be elsewhere in the
OpenSSL/p11-kit-proxy/OpenSC/pcsc stack.

It only happens with 'make -j', yes?


--
Sent with Evolution's ActiveSync support.

David Woodhouse Open Source Technology Centre
David.Woodhouse@xxxxxxxxx Intel Corporation

Attachment: smime.p7s
Description: S/MIME cryptographic signature