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>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20140215124212.GA8782@localhost>
Date:	Sat, 15 Feb 2014 20:42:12 +0800
From:	Fengguang Wu <fengguang.wu@...el.com>
To:	Tejun Heo <tj@...nel.org>
Cc:	cgroups@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: [cgroups] BUG: unable to handle kernel NULL pointer dereference at
 0000003c

Greetings,

I got the below dmesg and the first bad commit is

git://git.kernel.org/pub/scm/linux/kernel/git/tj/cgroup.git for-next
commit de00ffa56ea3132c6013fc8f07133b8a1014cf53
Author:     Tejun Heo <tj@...nel.org>
AuthorDate: Tue Feb 11 11:52:48 2014 -0500
Commit:     Tejun Heo <tj@...nel.org>
CommitDate: Tue Feb 11 11:52:48 2014 -0500

    cgroup: make cgroup_subsys->base_cftypes use cgroup_add_cftypes()
    
    Currently, cgroup_subsys->base_cftypes registration is different from
    dynamic cftypes registartion.  Instead of going through
    cgroup_add_cftypes(), cgroup_init_subsys() invokes
    cgroup_init_cftsets() which makes use of cgroup_subsys->base_cftset
    which doesn't involve dynamic allocation.
    
    While avoiding dynamic allocation is somewhat nice, having two
    separate paths for cftypes registration is nasty, especially as we're
    planning to add more operations during cftypes registration.
    
    This patch drops cgroup_init_cftsets() and cgroup_subsys->base_cftset
    and registers base_cftypes using cgroup_add_cftypes().  This is done
    as a separate step in cgroup_init() instead of a part of
    cgroup_init_subsys().  This is because cgroup_init_subsys() can be
    called very early during boot when kmalloc() isn't available yet.
    
    Signed-off-by: Tejun Heo <tj@...nel.org>
    Acked-by: Li Zefan <lizefan@...wei.com>

[    0.020000] Calibrating delay loop (skipped) preset value.. 5786.00 BogoMIPS (lpj=28930000)
[    0.020000] pid_max: default: 32768 minimum: 301
[    0.020000] Mount-cache hash table entries: 512
[    0.020000] BUG: unable to handle kernel NULL pointer dereference at 0000003c
[    0.020000] IP: [<cc90b4ad>] cgroup_cfts_commit+0x27/0x1c1
[    0.020000] *pdpt = 0000000000000000 *pde = f000ff53f000ff53 
[    0.020000] Oops: 0000 [#1] SMP 
[    0.020000] Modules linked in:
[    0.020000] CPU: 0 PID: 0 Comm: swapper/0 Not tainted 3.14.0-rc2-next-20140212-02521-g4602175 #1
[    0.020000] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011
[    0.020000] task: cd497910 ti: cd492000 task.ti: cd492000
[    0.020000] EIP: 0060:[<cc90b4ad>] EFLAGS: 00210282 CPU: 0
[    0.020000] EIP is at cgroup_cfts_commit+0x27/0x1c1
[    0.020000] EAX: cd4b1d0c EBX: cf004fa0 ECX: 00000001 EDX: 00000001
[    0.020000] ESI: 00000000 EDI: cd9820d4 EBP: cd493fa4 ESP: cd493f70
[    0.020000]  DS: 007b ES: 007b FS: 00d8 GS: 00e0 SS: 0068
[    0.020000] CR0: 8005003b CR2: 0000003c CR3: 0d96e000 CR4: 000006b0
[    0.020000] Stack:
[    0.020000]  cf004fa0 cd4b1d4c 00200246 cd9820d4 cc9d1129 0190c691 0000000c 000080d0
[    0.020000]  cd493f90 cd493f90 cf004fa0 cd9820d4 cd4accc4 cd493fbc cc90c6fc 00000000
[    0.020000]  00000000 00000000 cd970800 cd493fcc cd78b646 00000000 00020800 cd493fe8
[    0.020000] Call Trace:
[    0.020000]  [<cc9d1129>] ? kmem_cache_alloc_trace+0x33f/0x3b7
[    0.020000]  [<cc90c6fc>] cgroup_add_cftypes+0x8f/0xca
[    0.020000]  [<cd78b646>] cgroup_init+0x6a/0x26a
[    0.020000]  [<cd764d7d>] start_kernel+0x4d7/0x57a
[    0.020000]  [<cd7642ef>] i386_start_kernel+0x92/0x96
[    0.020000] Code: 5e 5f 5d c3 55 89 e5 57 56 53 83 ec 28 e8 94 ab 71 00 89 c7 8b 77 50 89 45 d8 8d 45 ec 89 45 ec 89 45 f0 b8 0c 1d 4b cd 88 55 e3 <8b> 5e 3c e8 c9 4d 71 00 85 ff 74 0e 31 c0 81 7e 3c c8 43 ec cd
[    0.020000] EIP: [<cc90b4ad>] cgroup_cfts_commit+0x27/0x1c1 SS:ESP 0068:cd493f70
[    0.020000] CR2: 000000000000003c
[    0.020000] ---[ end trace fd4743fe17bdbf8e ]---
[    0.020000] Kernel panic - not syncing: Fatal exception

git bisect start d80813ed6679ea0be2d054f2e2085699d1493978 v3.13 --
git bisect good aa2e7100e38880db7907cb2b7ec6267b2b243771  # 01:41     20+      3  Merge branch 'akpm' (patches from Andrew Morton)
git bisect good dd178a56e226296988cd5a6f3499f07f259b4631  # 02:16     20+     11  Merge remote-tracking branch 'char-misc.current/char-misc-linus'
git bisect good b19abf9906eda1d49591a117d2315b02a8a58fa8  # 05:25     20+     11  Merge remote-tracking branch 'slave-dma/next'
git bisect good 9341660bd894be14c9dd67cbd36588aa25dd377e  # 05:49     20+      1  Merge remote-tracking branch 'devicetree/devicetree/next'
git bisect good 522e2050f3a977119a1865b18052351c224bf171  # 06:30     20+      4  Merge remote-tracking branch 'leds/for-next'
git bisect  bad 9a06744bd5a4baeaa86ab1b9ce5eaec23b799100  # 06:30      0-     20  Merge remote-tracking branch 'cgroup/for-next'
git bisect good a7204faea47fcea987a189bd2817913a7a4eb254  # 07:20     20+      9  Merge remote-tracking branch 'usb/usb-next'
git bisect good 70d6c976107c8cca03d038eb7b7849f81e2c60d1  # 08:24     20+      1  Merge remote-tracking branch 'staging/staging-next'
git bisect good d6f156c8bc35e7e7542e39b6855fe5b73fb79b46  # 09:18     20+      4  Merge remote-tracking branch 'char-misc/char-misc-next'
git bisect good f7cef064aa01a1ac682c1945cc168b878cb118ff  # 09:43     20+      1  Merge branch 'driver-core-next' into cgroup/for-3.15
git bisect good 8d7e6fb0a1db970ac3589f87af0f2a20ef46654b  # 10:01     20+      7  cgroup: update cgroup name handling
git bisect  bad b1664924062393bb048203bd4622e0b1c9e1d328  # 10:07      0-      1  cgroup: introduce cgroup_ino()
git bisect  bad 5f46990787e2721b4db190ddc8af6fdbe8f010d7  # 10:11      0-      1  cgroup: update the meaning of cftype->max_write_len
git bisect  bad de00ffa56ea3132c6013fc8f07133b8a1014cf53  # 10:15      0-      1  cgroup: make cgroup_subsys->base_cftypes use cgroup_add_cftypes()
# first bad commit: [de00ffa56ea3132c6013fc8f07133b8a1014cf53] cgroup: make cgroup_subsys->base_cftypes use cgroup_add_cftypes()
git bisect good 8d7e6fb0a1db970ac3589f87af0f2a20ef46654b  # 10:54     60+     22  cgroup: update cgroup name handling
git bisect  bad 460217583c934110865a2f5dce5e1b5c98835a46  # 10:54      0-     59  Add linux-next specific files for 20140212
git bisect good ca033390a537dacdc2127c66d62e7862ad15ffdb  # 11:30     60+      8  Merge tag 'usb-3.14-rc3' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb
git bisect good da8d308fbdb8360078786b3e125238122c4fc611  # 12:09     60+     60  Add linux-next specific files for 20140214

Thanks,
Fengguang

View attachment "dmesg-yocto-cairo-3:20140213074936:i386-randconfig-an1-02121352:3.14.0-rc2-next-20140212-02521-g4602175:1" of type "text/plain" (24123 bytes)

Download attachment "i386-randconfig-an1-02121352-460217583c934110865a2f5dce5e1b5c98835a46-cgroup_cfts_commit+-x-27863.log" of type "application/octet-stream" (46275 bytes)

View attachment "config-3.14.0-rc2-next-20140212-02521-g4602175" of type "text/plain" (96626 bytes)

_______________________________________________
LKP mailing list
LKP@...ux.intel.com

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ