Re: 2.6.18.5 usb/sysfs bug.

From: Dave Jones
Date: Fri Dec 15 2006 - 22:14:08 EST


On Fri, Dec 15, 2006 at 05:47:50PM -0800, Pete Zaitcev wrote:
> On Fri, 15 Dec 2006 16:37:15 -0500, Dave Jones <davej@xxxxxxxxxx> wrote:
>
> > Linux version 2.6.18-1.2864.fc6 (brewbuilder@xxxxxxxxxxxxxxxxxxxxxxxxxxx) (gcc version 4.1.1 20061011 (Red Hat 4.1.1-30)) #1 SMP Fri Dec 15 13:14:58 EST 2006
> > Kernel command line: ro root=/dev/VolGroup00/LogVol00 profile=1 vga=791
>
> > audit(1166218060.464:4): avc: denied { search } for pid=2678 comm="pcscd" name="usbdev2.4_ep03" dev=sysfs ino=1384 scontext=system_u:system_r:pcscd_t:s0 tcontext=system_u:object_r:sysfs_t:s0 tclass=dir
> > BUG: unable to handle kernel NULL pointer dereference at virtual address 0000000b
>
> But if you boot with selinux=0, everything works, right? Printk time.

Good spotting, yes it does. And come to think of it, this only
recently started happening after some updates got applied, so it's
likely that policy got stricter somehow. Still shouldn't cause
an oops though obviously.

Dave

--
http://www.codemonkey.org.uk
-
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/