From: Rusty Russell <rusty@rustcorp.com.au>
To: David Howells <dhowells@redhat.com>, CAI Qian <caiqian@redhat.com>
Cc: dhowells@redhat.com, LKML <linux-kernel@vger.kernel.org>
Subject: Re: NULL pointer at kset_find_obj
Date: Wed, 03 Apr 2013 16:40:13 +1030 [thread overview]
Message-ID: <874nfo5em2.fsf@rustcorp.com.au> (raw)
In-Reply-To: <19926.1364924330@warthog.procyon.org.uk>
David Howells <dhowells@redhat.com> writes:
> CAI Qian <caiqian@redhat.com> wrote:
>
>> Just booted the latest mainline,
>>
>> [ 35.217698] Request for unknown module key 'Magrathea: Glacier signing
>> key: 8b7774b08bc4ee9637073434c10f0823f6fbe523' err -11
>
> Can you check back earlier in the dmesg to see whether the kernel tried to
> load the key? -11 is presumably -EAGAIN - in which case no such key was found
> (rather than there being a cached lookup failure which is what -ENOKEY would
> indicate). It is possible that you encountered the key-not-yet-valid problem
> due to your h/w clock showing a value prior to the start date on the key.
>
>> [ 35.218511] BUG: unable to handle kernel paging request at ffffffffa03093f0
>> [ 35.218521] IP: [<ffffffff81304710>] kset_find_obj+0x30/0x80
>> ...
>> [ 35.218575] Call Trace:
>> [ 35.218583] [<ffffffff810c827d>] load_module+0xb0d/0x1b00
>> [ 35.218587] [<ffffffff81321880>] ? ddebug_proc_open+0xc0/0xc0
>> [ 35.218593] [<ffffffff81628cd8>] ? page_fault+0x28/0x30
>> [ 35.218596] [<ffffffff810c9347>] sys_init_module+0xd7/0x120
>> [ 35.218601] [<ffffffff81630d59>] system_call_fastpath+0x16/0x1b
>
> I think this bit should be waved in front of Rusty. It looks like it might be
> a bug in error handling code.
It does look like it, but I can't see it. The module code doesn't see
an error (presumably sig_enforce is false), so we continue processing
the module like normal.
Is the module getting corrupted somehow? I don't think the signing
infrastructure is doing it...
Puzzled,
Rusty.
next prev parent reply other threads:[~2013-04-03 6:49 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <1539073339.442884.1364883991962.JavaMail.root@redhat.com>
2013-04-02 6:28 ` NULL pointer at kset_find_obj CAI Qian
2013-04-02 17:38 ` David Howells
2013-04-03 2:53 ` CAI Qian
2013-04-03 9:41 ` David Howells
2013-04-03 6:10 ` Rusty Russell [this message]
2013-04-03 10:18 ` David Howells
2013-04-04 0:47 ` Rusty Russell
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=874nfo5em2.fsf@rustcorp.com.au \
--to=rusty@rustcorp.com.au \
--cc=caiqian@redhat.com \
--cc=dhowells@redhat.com \
--cc=linux-kernel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.