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

From: Mimi Zohar
Date: Tue May 19 2015 - 09:54:44 EST


On Tue, 2015-05-19 at 12:57 +0000, Woodhouse, David wrote:
> 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?

To be exact, "-j 10".

Mimi


--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/