All of lore.kernel.org
 help / color / mirror / Atom feed
From: Paul Moore <paul.moore@hp.com>
To: Antoine Martin <antoine@nagafix.co.uk>
Cc: selinux@tycho.nsa.gov
Subject: Re: 2.6.19.2 Oops
Date: Fri, 19 Jan 2007 08:18:27 -0500	[thread overview]
Message-ID: <200701190818.27289.paul.moore@hp.com> (raw)
In-Reply-To: <45B09CFA.5070805@nagafix.co.uk>

On Friday 19 January 2007 5:27 am, Antoine Martin wrote:
> I tried to upgrade a system which had been running very smoothly for
> quite some time (enforcing=1), but it just Oopsed with 2.6.19.2, even in
> non-enforcing mode, I had to use selinux=0 to get anywhere (otherwise
> the Oops below just scrolled on the console)

This looks to be related to NetLabel as the Oops is happening in 
mls_export_cat().  Could you do the following in gdb and report the results 
so that we can get a better idea of what instruction is causing the NULL 
dereference:

 (gdb) list *mls_export_cat+0x33

Also, can you tell us what distribution and SELinux policy you are using?

Thanks for reporting this.

> [   80.782761] Adding 3911736k swap on /dev/md1.  Priority:-1 extents:1
> across:3911736k
> [   86.188350] BUG: unable to handle kernel NULL pointer dereference at
> virtual address 00000000
> [   86.188359]  printing eip:
> [   86.188361] c114e1f3
> [   86.188362] *pde = 00000000
> [   86.188367] Oops: 0002 [#1]
> [   86.221736] CPU:    0
> [   86.221737] EIP:    0060:[<c114e1f3>]    Not tainted VLI
> [   86.221738] EFLAGS: 00010246   (2.6.19.2-skas3-v8.2 #3)
> [   86.375023] EIP is at mls_export_cat+0x33/0xf0
> [   86.428188] eax: 00000000   ebx: c1e78f1c   ecx: c1e78f20   edx:
> c1e78f1c [   86.509404] esi: c1e78f20   edi: 00000000   ebp: f79ffe24  
> esp: c1e78ef0 [   86.590617] ds: 007b   es: 007b   ss: 0068
> [   86.639632] Process ip (pid: 1543, ti=c1e78000 task=c1f0a030
> task.ti=c1e78000)
> [   86.723962] Stack: fffffffe c1e78f10 f79ffe24 f793cd20 c114ac67
> 00000000 00000000 f7c9ac00
> [   86.825204]        f78d1fc0 00000000 00000001 00000000 00000000
> 00000000 c14b0c20 00000002
> [   86.926564]        00000001 00000000 c12f9598 00000000 00000000
> f793cd20 c1e78f70 0000000c
> [   87.027820] Call Trace:
> [   87.059298]  [<c114ac67>] selinux_netlbl_socket_setsid+0xb7/0x120
> [   87.132410]  [<c12f9598>] __sock_create+0xd8/0x160
> [   87.189944]  [<c12f9658>] sock_create+0x18/0x20
> [   87.244361]  [<c12f998c>] sys_socket+0x1c/0x50
> [   87.297741]  [<c12fa63a>] sys_socketcall+0x9a/0x2b0
> [   87.356315]  [<c1002e35>] sysenter_past_esp+0x56/0x79
> [   87.416966]  =======================
> [   87.459754] Code: c5 a1 04 e0 59 c1 89 1c 24 89 74 24 04 89 d3 89 7c
> 24 08 89 ce 85 c0 75 37 c7 02 00 00 00 00 c7 01 00 00 00 00 31 ff 8b 44
> 24 14 <c7> 00 00 00 00 00 8b 54 24 18 c7 02 00 00 00 00 89 f8 8b 1c 24
> [   87.692380] EIP: [<c114e1f3>] mls_export_cat+0x33/0xf0 SS:ESP
> 0068:c1e78ef0
> [   87.776087]  <1>BUG: unable to handle kernel NULL pointer dereference
> at virtual address 00000000

-- 
paul moore
linux security @ hp

--
This message was distributed to subscribers of the selinux mailing list.
If you no longer wish to subscribe, send mail to majordomo@tycho.nsa.gov with
the words "unsubscribe selinux" without quotes as the message.

  parent reply	other threads:[~2007-01-19 13:17 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-01-19 10:27 2.6.19.2 Oops Antoine Martin
2007-01-19 13:18 ` Stephen Smalley
2007-01-19 13:26   ` Antoine Martin
2007-01-19 15:45     ` Antoine Martin
2007-01-19 15:48       ` Paul Moore
2007-01-19 15:49         ` Stephen Smalley
2007-01-19 18:07         ` Paul Moore
2007-01-19 18:12           ` Stephen Smalley
2007-01-19 19:13           ` James Morris
2007-01-19 13:18 ` Paul Moore [this message]
2007-01-19 13:24   ` Antoine Martin

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=200701190818.27289.paul.moore@hp.com \
    --to=paul.moore@hp.com \
    --cc=antoine@nagafix.co.uk \
    --cc=selinux@tycho.nsa.gov \
    /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.