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:   Tue, 3 Jul 2018 11:03:04 +0800
From:   kernel test robot <rongx.a.chen@...el.com>
To:     Peter Zijlstra <peterz@...radead.org>
Cc:     Ingo Molnar <mingo@...nel.org>,
        Josh Poimboeuf <jpoimboe@...hat.com>,
        linux-um@...ts.infradead.org, linux-kernel@...r.kernel.org,
        LKP <lkp@...org>
Subject: [lkp-robot] 9a93848fe7 [    1.383411] WARNING: CPU: 0 PID: 1 at
 arch/x86/mm/dump_pagetables.c:235 note_page


Greetings,

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

https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master

commit 9a93848fe787a53aec404e4e00d8f7f9bbdaebb4
Author:     Peter Zijlstra <peterz@...radead.org>
AuthorDate: Thu Feb 2 14:43:51 2017 +0100
Commit:     Ingo Molnar <mingo@...nel.org>
CommitDate: Mon Mar 27 10:20:28 2017 +0200

    x86/debug: Implement __WARN() using UD0
    
    By using "UD0" for WARN()s we remove the function call and its possible
    __FILE__ and __LINE__ immediate arguments from the instruction stream.
    
    Total image size will not change much, what we win in the instruction
    stream we'll lose because of the __bug_table entries. Still, saves on
    I$ footprint and the total image size does go down a bit.
    
          text    data       filename
      10702123    4530992    defconfig-build/vmlinux.orig
      10682460    4530992    defconfig-build/vmlinux.patched
    
    (UML didn't seem to use GENERIC_BUG at all, so remove it)
    
    Signed-off-by: Peter Zijlstra (Intel) <peterz@...radead.org>
    Reviewed-by: Josh Poimboeuf <jpoimboe@...hat.com>
    Cc: Arjan van de Ven <arjan@...ux.intel.com>
    Cc: Borislav Petkov <bp@...en8.de>
    Cc: Linus Torvalds <torvalds@...ux-foundation.org>
    Cc: Peter Zijlstra <peterz@...radead.org>
    Cc: Richard Weinberger <richard.weinberger@...il.com>
    Cc: Thomas Gleixner <tglx@...utronix.de>
    Cc: linux-kernel@...r.kernel.org
    Signed-off-by: Ingo Molnar <mingo@...nel.org>

1fa9d67a2f  x86/ftrace: Use Makefile logic instead of #ifdef for compiling ftrace_*.o
9a93848fe7  x86/debug: Implement __WARN() using UD0
883c9ab9eb  Merge branch 'parisc-4.18-1' of git://git.kernel.org/pub/scm/linux/kernel/git/deller/parisc-linux
e3c7283c19  Add linux-next specific files for 20180629
+-----------------------------------------------------+------------+------------+------------+---------------+
|                                                     | 1fa9d67a2f | 9a93848fe7 | 883c9ab9eb | next-20180629 |
+-----------------------------------------------------+------------+------------+------------+---------------+
| boot_successes                                      | 0          | 0          | 2          | 0             |
| boot_failures                                       | 55         | 22         | 22         | 6             |
| WARNING:at_arch/x86/mm/dump_pagetables.c:#note_page | 55         | 22         | 22         | 6             |
| EIP:note_page                                       | 0          | 22         | 22         | 6             |
| Mem-Info                                            | 0          | 0          | 1          |               |
+-----------------------------------------------------+------------+------------+------------+---------------+

[    1.379767] Write protecting the kernel text: 7716k
[    1.380913] Write protecting the kernel read-only data: 3232k
[    1.381556] NX-protecting the kernel data: 6620k
[    1.382399] x86/mm: Found insecure W+X mapping at address 400a0000/0x400a0000
[    1.382947] ------------[ cut here ]------------
[    1.383411] WARNING: CPU: 0 PID: 1 at arch/x86/mm/dump_pagetables.c:235 note_page+0x73d/0x970
[    1.384159] Modules linked in:
[    1.384461] CPU: 0 PID: 1 Comm: swapper/0 Not tainted 4.11.0-rc3-00046-g9a93848 #58
[    1.385012] task: 4f43c000 task.stack: 4f43e000
[    1.385611] EIP: note_page+0x73d/0x970
[    1.386058] EFLAGS: 00210216 CPU: 0
[    1.386490] EAX: 00000041 EBX: 4f43ff40 ECX: 00000228 EDX: 00000000
[    1.387184] ESI: 80000000 EDI: 00000000 EBP: 4f43ff10 ESP: 4f43fed8
[    1.387897]  DS: 007b ES: 007b FS: 00d8 GS: 0000 SS: 0068
[    1.388523] CR0: 80050033 CR2: 00000000 CR3: 09070000 CR4: 001406b0
[    1.389239] DR0: 00000000 DR1: 00000000 DR2: 00000000 DR3: 00000000
[    1.389938] DR6: fffe0ff0 DR7: 00000400
[    1.390390] Call Trace:
[    1.390679]  ? preempt_schedule_common+0x48/0x60
[    1.391217]  ptdump_walk_pgd_level_core+0x36e/0x4a0
[    1.391773]  ptdump_walk_pgd_level_checkwx+0x16/0x20
[    1.392354]  mark_rodata_ro+0xed/0x110
[    1.392780]  ? rest_init+0xb0/0xb0
[    1.393219]  kernel_init+0x2c/0x100
[    1.393628]  ? rest_init+0xb0/0xb0
[    1.394018]  ret_from_fork+0x21/0x2c
[    1.394451] Code: 00 00 00 b8 a0 54 f6 48 c6 05 44 df ec 48 01 e8 3a ab 0e 00 8b 43 0c c7 04 24 60 0f dd 48 89 44 24 08 89 44 24 04 e8 81 93 12 00 <0f> ff 31 c9 ba 01 00 00 00 c7 04 24 01 00 00 00 b8 88 54 f6 48
[    1.396683] ---[ end trace b027e07a36e0a3c3 ]---
[    1.397351] x86/mm: Checked W+X mappings: FAILED, 96 W+X pages found.

                                                          # HH:MM RESULT GOOD BAD GOOD_BUT_DIRTY DIRTY_NOT_BAD
git bisect start v4.12 v4.11 --
git bisect  bad f3926e4c2a4b53c25a998de168d4eef6d0360369  # 17:32  B      0     1   19   4  Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs
git bisect  bad 677375cef8cb7763ef620e007873117b9bad72a0  # 17:44  B      0     3   26   9  Merge tag 'fscrypt_for_linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tytso/fscrypt
git bisect  bad 76f1948a79b26d5f57a5ee9941876b745c6baaea  # 17:53  B      0     5   22   3  Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jikos/livepatching
git bisect good 3dee9fb2a4ced89a13a4d4b72b0b7360b701e566  # 18:10  G     11     0   11  11  Merge branch 'ras-core-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip
git bisect  bad ceb198bb007b84ead867e87a71ffe715c4412b15  # 18:17  B      0     3   18   1  Merge tag 'm68k-for-v4.12-tag1' of git://git.kernel.org/pub/scm/linux/kernel/git/geert/linux-m68k
git bisect  bad 2cc12e2e8cb65aec9a95a3d3de4d70e7b6b8c881  # 18:31  B      0     1   26  11  Merge branch 'x86-cleanups-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip
git bisect good 12ca7c8db30d36e0ba1d00d17fc8c85f9ebfdf47  # 18:43  G     10     0   10  21  Merge branch 'x86-apic-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip
git bisect  bad 3fb9268e43e7ab62adb5c6ddec58d3cb4767bd9a  # 18:49  B      0     1   17   2  Merge branch 'x86-asm-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip
git bisect  bad 19d436268dde95389c616bb3819da73f0a8b28a8  # 19:00  B      0     4   29  11  debug: Add _ONCE() logic to report_bug()
git bisect good 3d82c59c6e3cb168284d9b0a1143415d9c98ae40  # 19:12  G     11     0   11  22  x86/ftrace: Move the ftrace specific code out of entry_32.S
git bisect good 644e0e8dc76b919976c44d3929164d42cbe656bc  # 19:21  G     10     0   10  20  x86/ftrace: Add -mfentry support to x86_32 with DYNAMIC_FTRACE set
git bisect  bad 9a93848fe787a53aec404e4e00d8f7f9bbdaebb4  # 19:30  B      0     2   19   3  x86/debug: Implement __WARN() using UD0
git bisect good 1fa9d67a2f07893fc7e4a880867a6cbb81dda547  # 19:44  G     11     0   11  22  x86/ftrace: Use Makefile logic instead of #ifdef for compiling ftrace_*.o
# first bad commit: [9a93848fe787a53aec404e4e00d8f7f9bbdaebb4] x86/debug: Implement __WARN() using UD0
git bisect good 1fa9d67a2f07893fc7e4a880867a6cbb81dda547  # 19:56  G     32     0   32  54  x86/ftrace: Use Makefile logic instead of #ifdef for compiling ftrace_*.o
# extra tests on HEAD of linux-review/Gilad-Ben-Yossef/crypto-fixes-and-cleanups/20180701-151201
git bisect  bad 23cd9451ea539e87729209bcd994945f9a797f7a  # 19:57  B      0    13   33   2  crypto: ccree: rate limit debug print
# extra tests on tree/branch linus/master
git bisect  bad 883c9ab9eb595f8542d01e55d29a346c8d96862e  # 20:02  B      0     1   24   9  Merge branch 'parisc-4.18-1' of git://git.kernel.org/pub/scm/linux/kernel/git/deller/parisc-linux
# extra tests on tree/branch linux-next/master
git bisect  bad e3c7283c19cd9ba999794f38007389ac83408a78  # 20:20  B      0     2   16   0  Add linux-next specific files for 20180629

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

Download attachment "dmesg-openwrt-lkp-hsw01-82:20180701193109:i386-randconfig-a0-201826:4.11.0-rc3-00046-g9a93848:58.gz" of type "application/gzip" (12250 bytes)

Download attachment "dmesg-openwrt-lkp-nhm-dp2-14:20180701193921:i386-randconfig-a0-201826:4.11.0-rc3-00045-g1fa9d67:60.gz" of type "application/gzip" (11987 bytes)

View attachment "reproduce-openwrt-lkp-hsw01-82:20180701193109:i386-randconfig-a0-201826:4.11.0-rc3-00046-g9a93848:58" of type "text/plain" (918 bytes)

View attachment "config-4.11.0-rc3-00046-g9a93848" of type "text/plain" (94773 bytes)

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ