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]
Date:   Thu, 01 Jun 2017 01:38:53 +0800
From:   kernel test robot <fengguang.wu@...el.com>
To:     Johannes Weiner <hannes@...xchg.org>
Cc:     LKP <lkp@...org>, linux-mm@...ck.org, cgroups@...r.kernel.org,
        linux-kernel@...r.kernel.org,
        Linux Memory Management List <linux-mm@...ck.org>,
        Andrew Morton <akpm@...ux-foundation.org>, wfg@...ux.intel.com
Subject: [mm: memcontrol] 1e698e532c:  BUG: unable to handle kernel NULL
 pointer dereference at 000002d4

Greetings,

0day kernel testing robot got the below dmesg and the first bad commit is

https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master

commit 1e698e532caa453afe1d39e67d3951b3e2250c93
Author:     Johannes Weiner <hannes@...xchg.org>
AuthorDate: Wed May 31 09:17:23 2017 +1000
Commit:     Stephen Rothwell <sfr@...b.auug.org.au>
CommitDate: Wed May 31 09:17:23 2017 +1000

    mm: memcontrol: per-lruvec stats infrastructure
    
    lruvecs are at the intersection of the NUMA node and memcg, which is the
    scope for most paging activity.
    
    Introduce a convenient accounting infrastructure that maintains statistics
    per node, per memcg, and the lruvec itself.
    
    Then convert over accounting sites for statistics that are already tracked
    in both nodes and memcgs and can be easily switched.
    
    Link: http://lkml.kernel.org/r/20170530181724.27197-6-hannes@cmpxchg.org
    Signed-off-by: Johannes Weiner <hannes@...xchg.org>
    Cc: Josef Bacik <josef@...icpanda.com>
    Cc: Michal Hocko <mhocko@...e.com>
    Cc: Vladimir Davydov <vdavydov.dev@...il.com>
    Cc: Rik van Riel <riel@...hat.com>
    Signed-off-by: Andrew Morton <akpm@...ux-foundation.org>

3cdb9deb76  mm: memcontrol: use generic mod_memcg_page_state for kmem pages
1e698e532c  mm: memcontrol: per-lruvec stats infrastructure
f2882f46b6  Add linux-next specific files for 20170531
+------------------------------------------+------------+------------+---------------+
|                                          | 3cdb9deb76 | 1e698e532c | next-20170531 |
+------------------------------------------+------------+------------+---------------+
| boot_successes                           | 35         | 0          | 0             |
| boot_failures                            | 0          | 15         | 13            |
| BUG:unable_to_handle_kernel              | 0          | 15         | 13            |
| Oops:#[##]                               | 0          | 15         | 13            |
| EIP:page_add_file_rmap                   | 0          | 15         | 13            |
| Kernel_panic-not_syncing:Fatal_exception | 0          | 15         | 13            |
+------------------------------------------+------------+------------+---------------+

[  123.333963] BIOS EDD facility v0.16 2004-Jun-25, 6 devices found
[  123.336866] debug: unmapping init [mem 0x79fa9000-0x7a17bfff]
[  123.338021] Write protecting the kernel text: 11240k
[  123.338833] Write protecting the kernel read-only data: 3840k
[  123.339671] rodata_test: all tests were successful
[  123.340966] BUG: unable to handle kernel NULL pointer dereference at 000002d4
[  123.342006] IP: page_add_file_rmap+0x155/0x220
[  123.342655] *pde = 00000000 
[  123.342657] 
[  123.343317] Oops: 0000 [#1] PREEMPT SMP DEBUG_PAGEALLOC
[  123.344069] CPU: 0 PID: 1 Comm: init Not tainted 4.12.0-rc3-00156-g1e698e5 #1
[  123.345117] task: 8982c000 task.stack: 8982e000
[  123.345785] EIP: page_add_file_rmap+0x155/0x220
[  123.346458] EFLAGS: 00010256 CPU: 0
[  123.346977] EAX: 00000000 EBX: 00000001 ECX: 79d9cfa4 EDX: 00000000
[  123.347892] ESI: 8a1720e4 EDI: 884e6570 EBP: 8982fe98 ESP: 8982fe88
[  123.348805]  DS: 007b ES: 007b FS: 00d8 GS: 0000 SS: 0068
[  123.349600] CR0: 80050033 CR2: 000002d4 CR3: 104e7000 CR4: 000406d0
[  123.350517] Call Trace:
[  123.350889]  alloc_set_pte+0x452/0x520
[  123.351448]  finish_fault+0x2d/0x50
[  123.351966]  do_fault+0x14b/0x570
[  123.352465]  handle_mm_fault+0x458/0x5d0
[  123.353046]  __do_page_fault+0x3ad/0x420
[  123.353633]  ? kvm_read_and_reset_pf_reason+0x50/0x50
[  123.354377]  do_page_fault+0x1a/0x20
[  123.354906]  do_async_page_fault+0x21/0x60
[  123.355516]  common_exception+0x3a/0x4e
[  123.356081] EIP: 0x47e5b301
[  123.356509] EFLAGS: 00010206 CPU: 0
[  123.357022] EAX: 47e78bf0 EBX: 47e77ff4 ECX: 00000001 EDX: 47e78d00
[  123.357920] ESI: 47e78bf0 EDI: 6f79f000 EBP: 77825020 ESP: 77824f30
[  123.358818]  DS: 007b ES: 007b FS: 0000 GS: 0000 SS: 007b
[  123.359596]  ? kvm_read_and_reset_pf_reason+0x50/0x50
[  123.360330] Code: 8d 42 ff e8 ae 79 ff ff 8d b6 00 00 00 00 3e ff 46 0c 0f 85 82 00 00 00 bb 01 00 00 00 3e 8d 74 26 00 8b 15 78 1c f8 79 8b 46 20 <8b> bc 90 d4 02 00 00 eb 07 66 90 bf 8c 1d f8 79 81 7f 40 00 14
[  123.376055] EIP: page_add_file_rmap+0x155/0x220 SS:ESP: 0068:8982fe88
[  123.376977] CR2: 00000000000002d4
[  123.377465] ---[ end trace b3d8fcbd204f58f3 ]---
[  123.378132] Kernel panic - not syncing: Fatal exception

                                                          # HH:MM RESULT GOOD BAD GOOD_BUT_DIRTY DIRTY_NOT_BAD
git bisect start f2882f46b623423c573c4d029b016974b04da954 5ed02dbb497422bf225783f46e6eadd237d23d6b --
git bisect good 8168ff213ef9d0cc386fdca1d46e4553262b21f3  # 21:27  G     11     0    0   0  Merge remote-tracking branch 'idle/next'
git bisect good 6cef1356d3794dd87dfac808172e3c8517137df0  # 21:41  G     11     0    0   0  Merge remote-tracking branch 'iommu/next'
git bisect good 1ad18baf77ecde079ebd95223a7e7efcea3fefc5  # 22:01  G     11     0    0   0  Merge remote-tracking branch 'extcon/extcon-next'
git bisect good 06867893048b1dadef7f2d1db824e245d568a089  # 22:13  G     11     0    0   0  Merge remote-tracking branch 'pinctrl/for-next'
git bisect good f9e05a7857806e481b38b176e88f1e087aa38f3b  # 22:29  G     11     0    0   0  Merge remote-tracking branch 'livepatching/for-next'
git bisect good 5f6e1344a0311cbdd6f12551d0939886a161e513  # 22:50  G     10     0    0   0  next-20170530/rtc
git bisect  bad ea0e19f1f81355bede5aea2d4bc1e22afcc8d3ea  # 23:03  B      0    11   22   0  Merge branch 'akpm-current/current'
git bisect good 1d4a95b197227152bf68b059923d801e6ce37ed8  # 23:21  G     11     0    0   0  mm-hugetlb-introduce-set_huge_swap_pte_at-helper-v41
git bisect  bad 9d1f2181ae0d158277513d0cb13f7a8a1d58729a  # 23:33  B      0    11   22   0  lib/kstrtox.c: use "unsigned int" more
git bisect good 3cdb9deb763d75ebfc0f923d1629fa444e2ff601  # 23:45  G     11     0    0   0  mm: memcontrol: use generic mod_memcg_page_state for kmem pages
git bisect  bad 61e0101b1cd0a4e58d962130a6a7ea24f4a66e66  # 23:57  B      0    11   24   2  frv: remove wrapper header for asm/device.h
git bisect  bad be320d5361f2a363426e375f80b422e6d56db8f2  # 00:12  B      0    11   22   0  mm/vmstat.c: walk the zone in pageblock_nr_pages steps
git bisect  bad 57f7e0ea320b81e8f16a183dda4391fcf7e76aeb  # 00:24  B      0     1   12   0  mm, memory_hotplug: move movable_node to the hotplug proper
git bisect  bad 4e221ed9fb61a139749fd4d9550d8c38ad1dd559  # 00:40  B      0    10   23   2  mm: memcontrol: account slab stats per lruvec
git bisect  bad 1e698e532caa453afe1d39e67d3951b3e2250c93  # 00:51  B      0    11   25   3  mm: memcontrol: per-lruvec stats infrastructure
# first bad commit: [1e698e532caa453afe1d39e67d3951b3e2250c93] mm: memcontrol: per-lruvec stats infrastructure
git bisect good 3cdb9deb763d75ebfc0f923d1629fa444e2ff601  # 01:08  G     31     0    0   0  mm: memcontrol: use generic mod_memcg_page_state for kmem pages
# extra tests with CONFIG_DEBUG_INFO_REDUCED
git bisect  bad 1e698e532caa453afe1d39e67d3951b3e2250c93  # 01:18  B      0     6   17   0  mm: memcontrol: per-lruvec stats infrastructure
# extra tests on HEAD of linux-next/master
git bisect  bad f2882f46b623423c573c4d029b016974b04da954  # 01:18  B      0    13   27   0  Add linux-next specific files for 20170531
# extra tests on tree/branch linux-next/master
git bisect  bad f2882f46b623423c573c4d029b016974b04da954  # 01:18  B      0    13   27   0  Add linux-next specific files for 20170531
# extra tests with first bad commit reverted
git bisect good 64761e0276bc689025ef58d18670f462c95639c7  # 01:38  G     11     0    0   0  Revert "mm: memcontrol: per-lruvec stats infrastructure"

---
0-DAY kernel test infrastructure                Open Source Technology Center
https://lists.01.org/pipermail/lkp                          Intel Corporation

Download attachment "dmesg-yocto-vp-18:20170601005109:i386-randconfig-h0-05312023:4.12.0-rc3-00156-g1e698e5:1.gz" of type "application/gzip" (15601 bytes)

View attachment "reproduce-yocto-vp-18:20170601005109:i386-randconfig-h0-05312023:4.12.0-rc3-00156-g1e698e5:1" of type "text/plain" (901 bytes)

View attachment "config-4.12.0-rc3-00156-g1e698e5" of type "text/plain" (105688 bytes)

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ