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]
Date:	Thu, 10 Oct 2013 00:49:51 +0800
From:	Fengguang Wu <fengguang.wu@...el.com>
To:	"Kirill A. Shutemov" <kirill.shutemov@...ux.intel.com>
Cc:	linux-kernel@...r.kernel.org, linux-mm@...ck.org
Subject: [page->ptl] BUG: unable to handle kernel NULL pointer dereference at
 00000010

Greetings,

I got the below dmesg and the first bad commit is

commit c7727a852968b09a9a5756dc7c85c30287c6ada3
Author: Kirill A. Shutemov <kirill.shutemov@...ux.intel.com>
Date:   Wed Oct 9 16:45:45 2013 +0300

    mm: dynamic allocate page->ptl if it cannot be embedded to struct page
    
    Signed-off-by: Kirill A. Shutemov <kirill.shutemov@...ux.intel.com>


[    6.954248] ALSA device list:
[    6.954705]   No soundcards found.
[    6.960370] Freeing unused kernel memory: 2016K (c19c1000 - c1bb9000)
[    6.961935] BUG: unable to handle kernel NULL pointer dereference at 00000010
[    6.962703] IP: [<c03018f9>] __lock_acquire+0x79/0x1ef0
[    6.962703] *pdpt = 0000000000000000 *pde = f000ff53f000ff53 
[    6.962703] Oops: 0000 [#1] SMP 
[    6.962703] CPU: 1 PID: 1 Comm: swapper/0 Not tainted 3.12.0-rc2-00044-gc7727a8 #616
[    6.962703] task: c0018000 ti: c001a000 task.ti: c001a000
[    6.962703] EIP: 0060:[<c03018f9>] EFLAGS: 00010046 CPU: 1
[    6.962703] EIP is at __lock_acquire+0x79/0x1ef0
[    6.962703] EAX: 00000046 EBX: 00000010 ECX: 00000000 EDX: 00000000
[    6.962703] ESI: 00000000 EDI: c0018000 EBP: c001bd8c ESP: c001bd38
[    6.962703]  DS: 007b ES: 007b FS: 00d8 GS: 0000 SS: 0068
[    6.962703] CR0: 8005003b CR2: 00000010 CR3: 01bc4000 CR4: 000006b0
[    6.962703] Stack:
[    6.962703]  00000000 00000004 00000000 00000004 c0018000 00000006 c0018000 c0a4d767
[    6.962703]  cd3dfa48 c001bd7c 00000006 00000002 c00184b8 00000246 c17c4cc0 00000000
[    6.962703]  00000000 c001bdb8 00000246 c0018000 00000000 c001bdc0 c030385e 00000000
[    6.962703] Call Trace:
[    6.962703]  [<c0a4d767>] ? __raw_spin_lock_init+0x27/0x80
[    6.962703]  [<c030385e>] lock_acquire+0xee/0x130
[    6.962703]  [<c0383e25>] ? __pte_alloc+0xa5/0x270
[    6.962703]  [<c12403ea>] _raw_spin_lock+0x7a/0x130
[    6.962703]  [<c0383e25>] ? __pte_alloc+0xa5/0x270
[    6.962703]  [<c0383e25>] __pte_alloc+0xa5/0x270
[    6.962703]  [<c038af6c>] handle_mm_fault+0x178c/0x1950
[    6.962703]  [<c0387501>] ? follow_page_mask+0x121/0x8f0
[    6.962703]  [<c03524ab>] ? generic_file_aio_read+0xafb/0xe50
[    6.962703]  [<c038b415>] __get_user_pages+0x185/0xb90
[    6.962703]  [<c038bf37>] get_user_pages+0x87/0xb0
[    6.962703]  [<c03cab43>] get_arg_page+0x53/0x130
[    6.962703]  [<c03cad8a>] copy_strings+0x16a/0x440
[    6.962703]  [<c03cb61a>] copy_strings_kernel+0x2a/0x50
[    6.962703]  [<c03cdd44>] do_execve_common+0x894/0xd00
[    6.962703]  [<c03cd633>] ? do_execve_common+0x183/0xd00
[    6.962703]  [<c03ce1c6>] do_execve+0x16/0x30
[    6.962703]  [<c121e935>] kernel_init+0x95/0x280
[    6.962703]  [<c1243037>] ret_from_kernel_thread+0x1b/0x28
[    6.962703]  [<c121e8a0>] ? rest_init+0x1e0/0x1e0
[    6.962703] Code: 00 00 a1 90 fa c1 c1 83 05 70 03 d0 c1 01 83 15 74 03 d0 c1 00 85 c0 0f 84 a5 02 00 00 83 05 b0 03 d0 c1 01 83 15 b4 03 d0 c1 00 <81> 3b 60 e3 c5 c1 0f 84 53 05 00 00 83 fe 01 0f 86 02 03 00 00
[    6.962703] EIP: [<c03018f9>] __lock_acquire+0x79/0x1ef0 SS:ESP 0068:c001bd38
[    6.962703] CR2: 0000000000000010
[    6.962703] ---[ end trace c26ae1ffa4e19d4f ]---
[    6.962703] Kernel panic - not syncing: Fatal exception

git bisect start c7727a852968b09a9a5756dc7c85c30287c6ada3 4a10c2ac2f368583138b774ca41fac4207911983 --
git bisect good 6c227d806670656b1a267feca6d15751976a45b9  # 22:47     20+      0  arm64: handle pgtable_page_ctor() fail
git bisect good f696457846fe13f23ebf48152b43fdcab051e038  # 22:53     20+      1  powerpc: handle pgtable_page_ctor() fail
git bisect good 91d6e7fd677903c9cc038d5489e1f91a6a41658d  # 22:56     20+      0  tile: handle pgtable_page_ctor() fail
git bisect good 7f692a838f315ce576bdaf2e7f1ff08126afb778  # 22:59     20+      1  x86: handle pgtable_page_ctor() fail
git bisect good cdf8588809f4bedbf92f11d3c59f3d7a16f19d5b  # 23:01     20+      0  iommu/arm-smmu: handle pgtable_page_ctor() fail
git bisect good cdf8588809f4bedbf92f11d3c59f3d7a16f19d5b  # 23:05     60+      3  iommu/arm-smmu: handle pgtable_page_ctor() fail
git bisect  bad c7727a852968b09a9a5756dc7c85c30287c6ada3  # 23:05      0-     19  mm: dynamic allocate page->ptl if it cannot be embedded to struct page
git bisect good a09d1f589443cb8a441a86bf285762b28d13b326  # 23:13     60+      2  Revert "mm: dynamic allocate page->ptl if it cannot be embedded to struct page"
git bisect good 0e7a3ed04f0cd4311096d691888f88569310ee6c  # 23:19     60+      8  Merge branch 'perf-urgent-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip
git bisect good a0cf1abc25ac197dd97b857c0f6341066a8cb1cf  # 23:30     60+      5  Add linux-next specific files for 20130927

Thanks,
Fengguang

View attachment "dmesg-yocto-lkp-st01-2:20131009222123:i386-randconfig-i007-1008:3.12.0-rc2-00044-gc7727a8:616" of type "text/plain" (44316 bytes)

View attachment "bisect-c7727a852968b09a9a5756dc7c85c30287c6ada3-i386-randconfig-i007-1008-Oops:-26868.log" of type "text/plain" (13112 bytes)

View attachment "config-3.12.0-rc2-00044-gc7727a8" of type "text/plain" (83770 bytes)

Powered by blists - more mailing lists