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: <58cfa2c0.p/3dJKgxzqSf4K9m%fengguang.wu@intel.com>
Date:   Mon, 20 Mar 2017 17:37:04 +0800
From:   kernel test robot <fengguang.wu@...el.com>
To:     "Kirill A. Shutemov" <kirill.shutemov@...ux.intel.com>
Cc:     LKP <lkp@...org>, linux-mm@...ck.org,
        linuxppc-dev@...ts.ozlabs.org, linux-kernel@...r.kernel.org,
        linux-arm-kernel@...ts.infradead.org,
        Ingo Molnar <mingo@...nel.org>, wfg@...ux.intel.com
Subject: [x86/mm/gup] 2947ba054a:  kernel BUG at
 include/linux/pagemap.h:151!

Greetings,

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

https://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git x86/mm

commit 2947ba054a4dabbd82848728d765346886050029
Author:     Kirill A. Shutemov <kirill.shutemov@...ux.intel.com>
AuthorDate: Fri Mar 17 00:39:06 2017 +0300
Commit:     Ingo Molnar <mingo@...nel.org>
CommitDate: Sat Mar 18 09:48:03 2017 +0100

    x86/mm/gup: Switch GUP to the generic get_user_page_fast() implementation
    
    This patch provides all required callbacks required by the generic
    get_user_pages_fast() code and switches x86 over - and removes
    the platform specific implementation.
    
    Signed-off-by: Kirill A. Shutemov <kirill.shutemov@...ux.intel.com>
    Cc: Andrew Morton <akpm@...ux-foundation.org>
    Cc: Aneesh Kumar K . V <aneesh.kumar@...ux.vnet.ibm.com>
    Cc: Borislav Petkov <bp@...en8.de>
    Cc: Catalin Marinas <catalin.marinas@....com>
    Cc: Dann Frazier <dann.frazier@...onical.com>
    Cc: Dave Hansen <dave.hansen@...el.com>
    Cc: H. Peter Anvin <hpa@...or.com>
    Cc: Linus Torvalds <torvalds@...ux-foundation.org>
    Cc: Peter Zijlstra <peterz@...radead.org>
    Cc: Rik van Riel <riel@...hat.com>
    Cc: Steve Capper <steve.capper@...aro.org>
    Cc: Thomas Gleixner <tglx@...utronix.de>
    Cc: linux-arch@...r.kernel.org
    Cc: linux-mm@...ck.org
    Link: http://lkml.kernel.org/r/20170316213906.89528-1-kirill.shutemov@linux.intel.com
    [ Minor readability edits. ]
    Signed-off-by: Ingo Molnar <mingo@...nel.org>

73e10a6181  mm/gup: Provide callback to check if __GUP_fast() is allowed for the range
2947ba054a  x86/mm/gup: Switch GUP to the generic get_user_page_fast() implementation
5b781c7e31  x86/tls: Forcibly set the accessed bit in TLS segments
319d085f9d  Merge branch 'linus'
+------------------------------------------+------------+------------+------------+------------+
|                                          | 73e10a6181 | 2947ba054a | 5b781c7e31 | 319d085f9d |
+------------------------------------------+------------+------------+------------+------------+
| boot_successes                           | 58         | 10         | 15         | 0          |
| boot_failures                            | 0          | 10         | 8          | 4          |
| kernel_BUG_at_include/linux/pagemap.h    | 0          | 10         | 8          | 4          |
| invalid_opcode:#[##]                     | 0          | 10         | 8          | 4          |
| EIP:gup_pte_range                        | 0          | 10         | 8          | 4          |
| Kernel_panic-not_syncing:Fatal_exception | 0          | 10         | 8          | 4          |
+------------------------------------------+------------+------------+------------+------------+

[  103.861936] trinity-c0 (17680) used greatest stack depth: 6220 bytes left
[  104.871508] VFS: Warning: trinity-c0 using old stat() call. Recompile your binary.
[  104.875821] VFS: Warning: trinity-c0 using old stat() call. Recompile your binary.
[  105.093534] VFS: Warning: trinity-c0 using old stat() call. Recompile your binary.
[  105.094331] ------------[ cut here ]------------
[  105.094649] kernel BUG at include/linux/pagemap.h:151!
[  105.095129] invalid opcode: 0000 [#1] DEBUG_PAGEALLOC
[  105.095483] Modules linked in:
[  105.095678] CPU: 0 PID: 17704 Comm: trinity-c0 Not tainted 4.11.0-rc2-00251-g2947ba0 #2
[  105.096175] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.9.3-20161025_171302-gandalf 04/01/2014
[  105.096801] task: 8538c000 task.stack: 85382000
[  105.097120] EIP: gup_pte_range+0x3d6/0x5d0
[  105.097384] EFLAGS: 00010046 CPU: 0
[  105.097598] EAX: 80000000 EBX: 87c722b4 ECX: 8538a5b8 EDX: 00000000
[  105.098048] ESI: 87c722b4 EDI: 0a085067 EBP: 85383dcc ESP: 85383db4
[  105.098470]  DS: 007b ES: 007b FS: 0000 GS: 0033 SS: 0068
[  105.098867] CR0: 80050033 CR2: 00000001 CR3: 0d3a2000 CR4: 001406d0
[  105.099310] DR0: 00000000 DR1: 00000000 DR2: 00000000 DR3: 00000000
[  105.099695] DR6: fffe0ff0 DR7: 00000400
[  105.099946] Call Trace:
[  105.100102]  __get_user_pages_fast+0x184/0xce0
[  105.100432]  ? iov_iter_copy_from_user_atomic+0x112/0x630
[  105.100846]  get_user_pages_fast+0xe6/0x100
[  105.101146]  get_futex_key+0xb9/0xb40
[  105.101391]  ? sched_clock_cpu+0x4b/0x220
[  105.101678]  futex_requeue+0xf4/0xf80
[  105.101955]  ? kvm_sched_clock_read+0x2f/0x60
[  105.102304]  ? sched_clock_cpu+0x4b/0x220
[  105.102556]  do_futex+0x219/0x9b0
[  105.102782]  ? _raw_spin_unlock_irq+0x55/0xa0
[  105.103147]  ? do_setitimer+0x241/0x2e0
[  105.103406]  SyS_futex+0xd4/0x230
[  105.103633]  do_fast_syscall_32+0xdc/0x350
[  105.103882]  entry_SYSENTER_32+0x47/0x71
[  105.104218] EIP: 0x6f72ace9
[  105.104424] EFLAGS: 00000216 CPU: 0
[  105.104637] EAX: ffffffda EBX: 6e96e000 ECX: 00000004 EDX: ffcaf288
[  105.105012] ESI: 6e96e004 EDI: 6e96e004 EBP: c2000002 ESP: 7782628c
[  105.105477]  DS: 007b ES: 007b FS: 0000 GS: 0033 SS: 007b
[  105.105830] Code: 76 ae 83 01 83 15 64 76 ae 83 00 0f 0b 83 05 68 76 ae 83 01 83 15 6c 76 ae 83 00 66 90 83 05 70 76 ae 83 01 83 15 74 76 ae 83 00 <0f> 0b 83 05 78 76 ae 83 01 83 15 7c 76 ae 83 00 66 90 83 05 80
[  105.107091] EIP: gup_pte_range+0x3d6/0x5d0 SS:ESP: 0068:85383db4
[  105.107491] ---[ end trace 0e829f50b87a4d13 ]---
[  105.107810] Kernel panic - not syncing: Fatal exception

                                                         # HH:MM RESULT GOOD BAD GOOD_BUT_DIRTY DIRTY_NOT_BAD
git bisect start a41ec77333b436e39e3714ff6e4d2f0aa21aba33 97da3854c526d3a6ee05c849c96e48d21527606c --
git bisect good 964b23d17dbf0d2e7b178c9012ec44e8b92d42ef  # 13:34  G     18     0    0   0  Merge 'linux-review/M-boumba-Cedric-Madianga/dt-bindings-i2c-stm32-Document-the-STM32F7-I2C-bindings/20170320-035116' into devel-spot-201703201131
git bisect good 84d0399460caf825e18c0a3d13c6586b588842c5  # 14:00  G     18     0    2   2  Merge 'saeed/net-rc' into devel-spot-201703201131
git bisect  bad 7decaba89f3fb34d6734d5535d115959f038bacf  # 14:16  B      0     7   18   0  Merge 'linux-review/Mark-Salter/Revert-tty-serial-pl011-add-ttyAMA-for-matching-pl011-console/20170319-171312' into devel-spot-201703201131
git bisect  bad 0225f629890fffa831d45586ef9da07990e4d30e  # 14:37  B      0     1   12   0  Merge 'linux-review/Hans-de-Goede/extcon-Allow-registering-a-single-notifier-for-all-cables-on-an-extcon_dev/20170319-204610' into devel-spot-201703201131
git bisect  bad 99ef1e42dda6c901beaa7a57a104b4b68f2b3b28  # 14:51  B      0     1   12   0  Merge 'tip/x86/mm' into devel-spot-201703201131
git bisect good f06bdd4001c257792c54dce9427399f2896470af  # 15:10  G     17     0    1   1  x86/mm: Adapt MODULES_END based on fixmap section size
git bisect good e7884f8ead4a301b04687a3238527b06feef8ea0  # 15:26  G     18     0    0   0  mm/gup: Move permission checks into helpers
git bisect good b59f65fa076a8eac2ff3a8ab7f8e1705b9fa86cb  # 15:40  G     18     0    1   1  mm/gup: Implement the dev_pagemap() logic in the generic get_user_pages_fast() function
git bisect  bad 2947ba054a4dabbd82848728d765346886050029  # 15:52  B      0     5   16   0  x86/mm/gup: Switch GUP to the generic get_user_page_fast() implementation
git bisect good 73e10a61817dfc97fe7418bfad1f608e562d7348  # 16:13  G     18     0    0   0  mm/gup: Provide callback to check if __GUP_fast() is allowed for the range
# first bad commit: [2947ba054a4dabbd82848728d765346886050029] x86/mm/gup: Switch GUP to the generic get_user_page_fast() implementation
git bisect good 73e10a61817dfc97fe7418bfad1f608e562d7348  # 16:17  G     53     0    0   0  mm/gup: Provide callback to check if __GUP_fast() is allowed for the range
# extra tests with CONFIG_DEBUG_INFO_REDUCED
git bisect  bad 2947ba054a4dabbd82848728d765346886050029  # 16:32  B      8    10    0   0  x86/mm/gup: Switch GUP to the generic get_user_page_fast() implementation
# extra tests on HEAD of linux-devel/devel-spot-201703201131
git bisect  bad a41ec77333b436e39e3714ff6e4d2f0aa21aba33  # 16:33  B      7     5    0   0  0day head guard for 'devel-spot-201703201131'
# extra tests on tree/branch tip/x86/mm
git bisect  bad 5b781c7e317fcf9f74475dc82bfce2e359dfca13  # 16:53  B      0     1   12   0  x86/tls: Forcibly set the accessed bit in TLS segments
# extra tests with first bad commit reverted
git bisect good ebfa79a64457cb162e3ab9fd6d26cfdefd03e604  # 17:14  G     18     0    0   0  Revert "x86/mm/gup: Switch GUP to the generic get_user_page_fast() implementation"
# extra tests on tree/branch tip/master
git bisect  bad 319d085f9de0d78317b08f0aa199ac10e2b0f3c2  # 17:35  B      0     4   15   0  Merge branch 'linus'

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

Download attachment "dmesg-openwrt-lkp-hsw01-43:20170320155203:i386-randconfig-x0-03201159:4.11.0-rc2-00251-g2947ba0:2.gz" of type "application/gzip" (12874 bytes)

View attachment "reproduce-openwrt-lkp-hsw01-43:20170320155203:i386-randconfig-x0-03201159:4.11.0-rc2-00251-g2947ba0:2" of type "text/plain" (897 bytes)

View attachment "config-4.11.0-rc2-00251-g2947ba0" of type "text/plain" (101116 bytes)

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ