Re: Kernel Null pointer dereference in sysfs_readdir()

From: Greg KH
Date: Fri Mar 02 2007 - 02:05:04 EST


On Thu, Mar 01, 2007 at 05:54:01PM -0800, Kunal Trivedi wrote:
> 5) OOPS messages from console.
> <1>Unable to handle kernel NULL pointer dereference at virtual
> address 00000018
> <1> printing eip:
> <4>e01a40c9
> <1>*pde = 00000000
> <1>Oops: 0000 [#1]
> <4>SMP
> <4>Modules linked in: ipt_state ip_conntrack iptable_filter
> cls_u32 iptable_mangle lm85 i2c_i801 w83627hf_wdt w83627hf i2c_sensor
> i2c_isa i2c_core slcmi ip_tables e7xxx_edac edac_mc
> <4>CPU: 2
> <4>EIP: 0060:[<e01a40c9>] Tainted: PF VLI
> <4>EFLAGS: 00010286 (2.6.9-34.EL-i386_SMP)
> <4>EIP is at sysfs_readdir+0xd9/0x210
> <4>eax: 00000000 ebx: f7d6b104 ecx: 00000006 edx: 00000020
> <4>esi: f7d6b100 edi: f7f1cb87 ebp: f7f1cb80 esp: ef432f48
> <4>ds: 007b es: 007b ss: 0068
> <4>Process sensors (pid: 2933, threadinfo=ef432000 task=f562c030)
> <4>Stack: 00000002 00000000 016c32f7 0000000a f7d6cc8c 00000006
> f7ddbbc4 e017a670
> <4> ef432fa0 ed6e7280 e0409ba0 ed6e7280 f6f180b0 f6f18120
> e017a33f ef432fa0
> <4> e017a670 09ce61b4 ed6e7280 fffffff7 00000000 e017a81e
> 09ce6204 09ce61e4
> <4>Call Trace:
> <4> [<e017a670>] filldir64+0x0/0x140
> <4> [<e017a33f>] vfs_readdir+0xaf/0xd0
> <4> [<e017a670>] filldir64+0x0/0x140
> <4> [<e017a81e>] sys_getdents64+0x6e/0xb6
> <4> [<e039bb5f>] syscall_call+0x7/0xb
> <4>Code: 26 00 89 f0 e8 89 e8 ff ff 89 c5 b9 ff ff ff ff 31 c0 89
> ef f2 ae f7 d1 49 89 4c 24 14 8b 46 20 85 c0 0f 84 22 01 00 00 8b 40
> 10 <8b> 50 18 0f b7 46 1c 89 54 24 08 8b 4c 24 24 c1 e8 0c 89 44 24
>
> Please advice.

I suggest contacting the vendor providing the support for this old
kernel version, they should be able to help you out (although they might
ask you to not run a closed source driver in your kernel, as that
probably voids any support contract you might have.)

thanks,

greg k-h
-
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/