lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [day] [month] [year] [list]
Message-ID: <20121006144225.GA15028@localhost>
Date:	Sat, 6 Oct 2012 22:42:25 +0800
From:	Fengguang Wu <fengguang.wu@...el.com>
To:	Bill Pemberton <wfp5p@...ginia.edu>
Cc:	Greg Kroah-Hartman <gregkh@...uxfoundation.org>,
	LKML <linux-kernel@...r.kernel.org>, devel@...verdev.osuosl.org
Subject: staging: dgrp: NULL pointer dereference BUG in register_proc_table()

Hi Bill,

The below error happens in linus/master and linux-next, and first
shows up in

commit 7b6d45c211a401a9bdeebfa96f8a4c811bd3eeaf
Author: Bill Pemberton <wfp5p@...ginia.edu>
Date:   Thu Sep 20 16:55:28 2012 -0400

    staging: dgrp: add dgrp to the build

[    9.623477] device: 'nodes': device_add
[    9.624106] PM: Adding info for No Bus:nodes
[    9.624673] BUG: unable to handle kernel NULL pointer dereference at 0000000000000040
[    9.625654] IP: [<ffffffff81de20a0>] register_proc_table+0x80/0x2c0
[    9.626441] PGD 0 
[    9.626712] Oops: 0000 [#1] SMP DEBUG_PAGEALLOC
[    9.627326] CPU 0 
[    9.627564] Pid: 1, comm: swapper/0 Not tainted 3.6.0-03042-g11126c6 #12  
[    9.628022] RIP: 0010:[<ffffffff81de20a0>]  [<ffffffff81de20a0>] register_proc_table+0x80/0x2c0
[    9.628022] RSP: 0018:ffff880000161e70  EFLAGS: 00010246
[    9.628022] RAX: 0000000000000003 RBX: 0000000000000006 RCX: 0000000000000001
[    9.628022] RDX: 0000000000000000 RSI: 0000000000000002 RDI: ffffffff82634845
[    9.628022] RBP: ffff880000161eb0 R08: 0000000000000000 R09: 2222222222222222
[    9.628022] R10: 2222222222222222 R11: 2222222222222222 R12: 0000000000000003
[    9.628022] R13: 0000000000000003 R14: ffffffff82634845 R15: ffffffff8273ce38
[    9.628022] FS:  0000000000000000(0000) GS:ffff88000de00000(0000) knlGS:0000000000000000
[    9.628022] CS:  0010 DS: 0000 ES: 0000 CR0: 000000008005003b
[    9.628022] CR2: 0000000000000040 CR3: 000000000268c000 CR4: 00000000000006b0
[    9.628022] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
[    9.628022] DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000400
[    9.628022] Process swapper/0 (pid: 1, threadinfo ffff880000160000, task ffff880000148000)
[    9.628022] Stack:
[    9.628022]  0000000000000000 ffffffff830ea640 ffffffff81dda890 0000000000000006
[    9.628022]  ffffffff81dda890 0000000000000000 0000000000000000 0000000000000000
[    9.628022]  ffff880000161ec0 ffffffff81de2e22 ffff880000161ed0 ffffffff81dda906
[    9.628022] Call Trace:
[    9.628022]  [<ffffffff81dda890>] ? dgrp_cleanup_module+0x60/0x60
[    9.628022]  [<ffffffff81dda890>] ? dgrp_cleanup_module+0x60/0x60
[    9.628022]  [<ffffffff81de2e22>] dgrp_register_proc+0x22/0x30
[    9.628022]  [<ffffffff81dda906>] dgrp_init_module+0x76/0x80
[    9.628022]  [<ffffffff82e8afa5>] do_one_initcall+0x86/0x19e
[    9.628022]  [<ffffffff82e8b1d3>] kernel_init+0x116/0x1da
[    9.628022]  [<ffffffff82e8a664>] ? loglevel+0x48/0x48
[    9.628022]  [<ffffffff810ce7a9>] ? schedule_tail+0x29/0x110
[    9.628022]  [<ffffffff82189d84>] kernel_thread_helper+0x4/0x10
[    9.628022]  [<ffffffff8218819d>] ? retint_restore_args+0x13/0x13
[    9.628022]  [<ffffffff82e8b0bd>] ? do_one_initcall+0x19e/0x19e
[    9.628022]  [<ffffffff82189d80>] ? gs_change+0x13/0x13
[    9.628022] Code: 49 83 7f 20 00 0f 85 e8 01 00 00 49 83 7f 18 00 0f 84 19 02 00 00 0f 85 d7 01 00 00 e9 0e 02 00 00 48 8b 55 c0 41 89 c4 4c 63 e8 <48> 8b 5a 40 48 85 db 75 1f 0f 1f 80 00 00 00 00 b8 01 00 00 00 
[    9.628022] RIP  [<ffffffff81de20a0>] register_proc_table+0x80/0x2c0
[    9.628022]  RSP <ffff880000161e70>
[    9.628022] CR2: 0000000000000040

Thanks,
Fengguang

View attachment "dmesg-kvm-kbuild-1594-2012-10-06-15-25-28-3.6.0-03042-g11126c6-12" of type "text/plain" (156546 bytes)

View attachment "config-3.6.0-03042-g11126c6" of type "text/plain" (64366 bytes)

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ