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: <20161115021808.GA834@yexl-desktop>
Date:   Tue, 15 Nov 2016 10:18:08 +0800
From:   kernel test robot <xiaolong.ye@...el.com>
To:     "Paul E. McKenney" <paulmck@...ux.vnet.ibm.com>
Cc:     LKML <linux-kernel@...r.kernel.org>,
        "Paul E. McKenney" <paulmck@...ux.vnet.ibm.com>, lkp@...org
Subject: [lkp] [fixup! rcu]  1157ae41a3:
 WARNING:at_include/linux/mm.h:#workingset_activation


FYI, we noticed the following commit:

https://git.kernel.org/pub/scm/linux/kernel/git/paulmck/linux-rcu.git dev.2016.11.09a
commit 1157ae41a38d92d38c954835f5688046e2af6da9 ("fixup! rcu: Abstract the dynticks snapshot operation")

in testcase: boot

on test machine: qemu-system-i386 -enable-kvm -m 360M

caused below changes:


+----------------------------------------------------------+------------+------------+
|                                                          | ee17957e96 | 1157ae41a3 |
+----------------------------------------------------------+------------+------------+
| boot_successes                                           | 4          | 0          |
| boot_failures                                            | 4          | 8          |
| WARNING:at_kernel/rcu/tree.c:#rcu_dynticks_eqs_enter     | 4          | 2          |
| WARNING:at_kernel/rcu/tree.c:#rcu_dynticks_eqs_exit      | 4          | 2          |
| WARNING:at_arch/x86/mm/dump_pagetables.c:#note_page      | 2          |            |
| calltrace:mark_rodata_ro                                 | 2          |            |
| WARNING:at_include/linux/mm.h:#workingset_activation     | 0          | 8          |
| calltrace:run_init_process                               | 0          | 8          |
| kernel_BUG_at_include/linux/memcontrol.h                 | 0          | 8          |
| invalid_opcode:#[##]SMP                                  | 0          | 8          |
| EIP_is_at_page_remove_rmap                               | 0          | 8          |
| Kernel_panic-not_syncing:Fatal_exception                 | 0          | 8          |
| WARNING:at_kernel/rcu/tree.c:#rcu_momentary_dyntick_idle | 0          | 1          |
| WARNING:at_kernel/rcu/tree.c:#rcu_nmi_exit               | 0          | 2          |
| calltrace:init_kprobes                                   | 0          | 2          |
| calltrace:SyS_exit_group                                 | 0          | 2          |
+----------------------------------------------------------+------------+------------+



[   70.012733] Write protecting the kernel text: 6576k
[   70.021808] Write protecting the kernel read-only data: 3928k
[   70.030077] ------------[ cut here ]------------
[   70.057976] WARNING: CPU: 0 PID: 1 at include/linux/mm.h:983 workingset_activation+0x84/0x148
[   70.071977] Modules linked in:
[   70.076703] CPU: 0 PID: 1 Comm: swapper/0 Not tainted 4.9.0-rc1-00038-g1157ae4 #1
[   70.087859] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS Debian-1.8.2-1 04/01/2014
[   70.102726]  93c5dce4 87f1cabe 00000000 885809c9 000003d7 93c5dcfc 87cc0206 87e0133f
[   70.114880]  00000001 94640b40 00000001 93c5dd10 87cc0298 00000009 00000000 00000000
[   70.127708]  93c5dd24 87e0133f 94640b40 00000000 94640ac4 93c5dd38 87de4fbf 00000000
[   70.141748] Call Trace:
[   70.145240]  [<87f1cabe>] dump_stack+0xc4/0x12c
[   70.151437]  [<87cc0206>] __warn+0x110/0x127
[   70.157362]  [<87e0133f>] ? workingset_activation+0x84/0x148
[   70.166505]  [<87cc0298>] warn_slowpath_null+0x16/0x1b
[   70.175189]  [<87e0133f>] workingset_activation+0x84/0x148
[   70.183811]  [<87de4fbf>] mark_page_accessed+0x242/0x2bc
[   70.191065]  [<87dca4d1>] do_read_cache_page+0x83b/0x84c
[   70.198322]  [<87e90205>] ? simple_setattr+0x77/0x77
[   70.206362]  [<87e82a06>] ? touch_atime+0xbc/0xc3
[   70.214403]  [<87e68906>] ? page_put_link+0xe7/0xe7
[   70.221169]  [<87dca4f8>] read_cache_page+0x16/0x18
[   70.227848]  [<87e68ac9>] page_get_link+0x1c3/0x265
[   70.235751]  [<87e68906>] ? page_put_link+0xe7/0xe7
[   70.242397]  [<87e6c360>] trailing_symlink+0x2bf/0x3d2
[   70.249401]  [<87e7166f>] path_openat+0x1d32/0x1f9d
[   70.257235]  [<87cad3b1>] ? update_stack_state+0x32/0x72
[   70.265795]  [<87cad42d>] ? unwind_next_frame+0x3c/0x56
[   70.272929]  [<87c8e6ec>] ? __save_stack_trace+0x11d/0x127
[   70.280412]  [<87e71923>] do_filp_open+0x49/0xe6
[   70.288193]  [<87e638be>] do_open_execat+0xb7/0x232
[   70.296645]  [<87e640b9>] do_execveat_common+0x28b/0xa4e
[   70.304292]  [<87e64895>] do_execve+0x19/0x1b
[   70.310348]  [<87c02021>] run_init_process+0x21/0x23
[   70.318588]  [<8825e0f7>] kernel_init+0x75/0x162
[   70.325288]  [<8825e082>] ? rest_init+0xaa/0xaa
[   70.331614]  [<8826972b>] ret_from_fork+0x1b/0x30
[   70.340394] ---[ end trace 8e502acf29f2a82a ]---
[   70.354103] ------------[ cut here ]------------
[   70.360613] kernel BUG at include/linux/memcontrol.h:500!
[   70.372900] invalid opcode: 0000 [#1] SMP
[   70.378373] Modules linked in:
[   70.383658] CPU: 0 PID: 1 Comm: init Tainted: G        W       4.9.0-rc1-00038-g1157ae4 #1
[   70.394897] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS Debian-1.8.2-1 04/01/2014
[   70.406796] task: 93c4f000 task.stack: 93c5c000
[   70.414770] EIP: 0060:[<87e1e391>] EFLAGS: 00010202 CPU: 0
[   70.422222] EIP is at page_remove_rmap+0x2d1/0x60b
[   70.428697] EAX: 00000001 EBX: 00000001 ECX: 00000000 EDX: 00000001
[   70.437127] ESI: 94641cf8 EDI: 94641ce8 EBP: 93c5de28 ESP: 93c5de14
[   70.447174]  DS: 007b ES: 007b FS: 00d8 GS: 00e0 SS: 0068
[   70.456053] CR0: 80050033 CR2: 55583bb0 CR3: 0c6d1280 CR4: 000006b0
[   70.465962] Stack:
[   70.493774]  00000001 94641c01 00000000 00000000 00000001 93c5de78 87e05956 55584000
[   70.517400]  00000000 55583000 55584000 0893f067 55583000 0ecce001 00000001 00000000
[   70.532117]  8c6c1e90 8c6d34e0 93c5df10 0893f067 00000000 93c46210 00000000 0ecce025
[   70.546013] Call Trace:
[   70.549801]  [<87e05956>] wp_page_copy+0x68e/0xbdd
[   70.558915]  [<87e08701>] do_wp_page+0x110c/0x113a
[   70.566076]  [<87e0faf6>] handle_mm_fault+0x2022/0x21c3
[   70.574046]  [<87caf4f1>] __do_page_fault+0x4e4/0xa13
[   70.581662]  [<87cafbf0>] trace_do_page_fault+0x1b2/0x1ba
[   70.590507]  [<87cab625>] ? kvm_async_pf_task_wake+0x139/0x139
[   70.598803]  [<87cab64d>] do_async_page_fault+0x28/0x50
[   70.605905]  [<8826a82c>] error_code+0x6c/0x80
[   70.612768] Code: 47 ff 8b 18 83 e3 01 83 f3 01 31 c9 89 da b8 8c 47 6c 88 e8 d9 73 f7 ff 8b 04 9d 80 46 76 88 40 85 db 89 04 9d 80 46 76 88 74 02 <0f> 0b 8b 56 20 85 d2 0f 95 c1 0f b6 d9 8b 04 9d 6c 46 76 88 40
[   70.657260] EIP: [<87e1e391>] 
[   70.661440] page_remove_rmap+0x2d1/0x60b
[   70.668829]  SS:ESP 0068:93c5de14
[   70.674632] ---[ end trace 8e502acf29f2a82b ]---
[   70.682083] Kernel panic - not syncing: Fatal exception
[   70.690809] Kernel Offset: 0x6c00000 from 0x81000000 (relocation range: 0x80000000-0x96fdffff)

Elapsed time: 150


To reproduce:

        git clone git://git.kernel.org/pub/scm/linux/kernel/git/wfg/lkp-tests.git
        cd lkp-tests
        bin/lkp qemu -k <bzImage> job-script  # job-script is attached in this email



Thanks,
Xiaolong

View attachment "config-4.9.0-rc1-00038-g1157ae4" of type "text/plain" (94610 bytes)

View attachment "job-script" of type "text/plain" (3875 bytes)

Download attachment "dmesg.xz" of type "application/octet-stream" (11048 bytes)

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ