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, 29 Oct 2015 12:54:43 +0800
From:	kernel test robot <ying.huang@...ux.intel.com>
TO:	Paolo Bonzini <pbonzini@...hat.com>
CC:	0day robot <fengguang.wu@...el.com>
Subject: [lkp] [x86] db23da8b95: BUG: using __this_cpu_add_return() in
 preemptible [00000000] code: init/1

FYI, we noticed the below changes on

https://github.com/0day-ci/linux Paolo-Bonzini/context_tracking-remove-duplicate-enabled-check/20151028-094317
commit db23da8b95ece9b57d4cfd63f5ee10502f1af0c8 ("x86: context_tracking: avoid irq_save/irq_restore on kernel entry and exit")


+------------------------------------------------------------------+------------+------------+
|                                                                  | 66b6c205f3 | db23da8b95 |
+------------------------------------------------------------------+------------+------------+
| boot_successes                                                   | 0          | 0          |
| boot_failures                                                    | 17         | 16         |
| invoked_oom-killer:gfp_mask=0x                                   | 11         | 11         |
| Mem-Info                                                         | 11         | 11         |
| Kernel_panic-not_syncing:Out_of_memory_and_no_killable_processes | 11         | 11         |
| backtrace:reg_todo                                               | 9          | 11         |
| BUG:kernel_boot_hang                                             | 2          | 3          |
| IP-Config:Auto-configuration_of_network_failed                   | 4          |            |
| backtrace:_do_fork                                               | 2          |            |
| BUG:using__this_cpu_add_return()in_preemptible[#]code:init       | 0          | 2          |
| BUG:using__this_cpu_read()in_preemptible[#]code:init             | 0          | 2          |
| BUG:using__this_cpu_write()in_preemptible[#]code:init            | 0          | 2          |
| BUG:using__this_cpu_add()in_preemptible[#]code:init              | 0          | 2          |
| WARNING:at_arch/x86/entry/common.c:#syscall_return_slowpath()    | 0          | 1          |
| BUG:spinlock_recursion_on_CPU                                    | 0          | 1          |
| BUG:using__this_cpu_add_return()in_preemptible[#]code:systemd    | 0          | 1          |
| BUG:using__this_cpu_read()in_preemptible[#]code:systemd          | 0          | 1          |
| BUG:using__this_cpu_write()in_preemptible[#]code:systemd         | 0          | 1          |
| BUG:using__this_cpu_add()in_preemptible[#]code:systemd           | 0          | 1          |
| BUG:spinlock_cpu_recursion_on_CPU                                | 0          | 1          |
+------------------------------------------------------------------+------------+------------+


[    7.337137] irq: no irq domain found for /testcase-data/interrupts/intc0 !
[    7.339035] ### dt-test ### end of unittest - 110 passed, 0 failed
[   19.381542] Freeing unused kernel memory: 1528K (ffffffff820e6000 - ffffffff82264000)
[   19.383048] BUG: using __this_cpu_add_return() in preemptible [00000000] code: init/1
[   19.384165] caller is __this_cpu_preempt_check+0x13/0x20
[   19.384928] CPU: 1 PID: 1 Comm: init Not tainted 4.3.0-rc3-00098-gdb23da8 #619
[   19.385942] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS Debian-1.8.2-1 04/01/2014
[   19.387202]  ffffffff81e7df04 ffff880035c8be68 ffffffff8142e66c 0000000000000001
[   19.388396]  ffff880035c8be90 ffffffff8145a506 0000000000000001 ffff880035c8c000
[   19.389521]  00000000c000003e ffff880035c8bea0 ffffffff8145a543 ffff880035c8beb0
[   19.390673] Call Trace:
[   19.391041]  [<ffffffff8142e66c>] dump_stack+0x4e/0x82
[   19.391764]  [<ffffffff8145a506>] check_preemption_disabled+0xf6/0x100
[   19.392683]  [<ffffffff8145a543>] __this_cpu_preempt_check+0x13/0x20
[   19.395059]  [<ffffffff81185a00>] context_tracking_recursion_enter+0x10/0x80
[   19.395950]  [<ffffffff81185b9e>] __context_tracking_exit+0xe/0x90
[   19.396761]  [<ffffffff81001074>] enter_from_user_mode+0x24/0x60
[   19.397518]  [<ffffffff8100118e>] syscall_trace_enter_phase1+0xde/0x140
[   19.398348]  [<ffffffff8145a543>] ? __this_cpu_preempt_check+0x13/0x20
[   19.399169]  [<ffffffff81185ae8>] ? __context_tracking_enter+0x78/0xc0
[   19.400032]  [<ffffffff810014be>] ? prepare_exit_to_usermode+0xee/0x100
[   19.400861]  [<ffffffff81ac6474>] tracesys+0xd/0x44
[   19.401471] BUG: using __this_cpu_read() in preemptible [00000000] code: init/1
[   19.402440] caller is __this_cpu_preempt_check+0x13/0x20
[   19.403166] CPU: 1 PID: 1 Comm: init Not tainted 4.3.0-rc3-00098-gdb23da8 #619
[   19.404081] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS Debian-1.8.2-1 04/01/2014
[   19.405296]  ffffffff81e7df04 ffff880035c8be78 ffffffff8142e66c 0000000000000001
[   19.406612]  ffff880035c8bea0 ffffffff8145a506 0000000000000001 ffff880035c8c000
[   19.407620]  00000000c000003e ffff880035c8beb0 ffffffff8145a543 ffff880035c8bed0
[   19.413524] Call Trace:
[   19.413860]  [<ffffffff8142e66c>] dump_stack+0x4e/0x82
[   19.414501]  [<ffffffff8145a506>] check_preemption_disabled+0xf6/0x100
[   19.415331]  [<ffffffff8145a543>] __this_cpu_preempt_check+0x13/0x20
[   19.416136]  [<ffffffff81185bb3>] __context_tracking_exit+0x23/0x90
[   19.416974]  [<ffffffff81001074>] enter_from_user_mode+0x24/0x60
[   19.417727]  [<ffffffff8100118e>] syscall_trace_enter_phase1+0xde/0x140
[   19.419426]  [<ffffffff8145a543>] ? __this_cpu_preempt_check+0x13/0x20
[   19.422561]  [<ffffffff81185ae8>] ? __context_tracking_enter+0x78/0xc0
[   19.425343]  [<ffffffff810014be>] ? prepare_exit_to_usermode+0xee/0x100
[   19.427593]  [<ffffffff81ac6474>] tracesys+0xd/0x44
[   19.429644] BUG: using __this_cpu_read() in preemptible [00000000] code: init/1
[   19.431429] caller is __this_cpu_preempt_check+0x13/0x20
[   19.432867] CPU: 1 PID: 1 Comm: init Not tainted 4.3.0-rc3-00098-gdb23da8 #619
[   19.434629] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS Debian-1.8.2-1 04/01/2014
[   19.440855]  ffffffff81e7df04 ffff880035c8be78 ffffffff8142e66c 0000000000000001
[   19.441993]  ffff880035c8bea0 ffffffff8145a506 0000000000000001 0000000000000001
[   19.443278]  00000000c000003e ffff880035c8beb0 ffffffff8145a543 ffff880035c8bed0
[   19.445377] Call Trace:
[   19.446012]  [<ffffffff8142e66c>] dump_stack+0x4e/0x82
[   19.447491]  [<ffffffff8145a506>] check_preemption_disabled+0xf6/0x100
[   19.453779]  [<ffffffff8145a543>] __this_cpu_preempt_check+0x13/0x20
[   19.454589]  [<ffffffff81185be4>] __context_tracking_exit+0x54/0x90
[   19.455382]  [<ffffffff81001074>] enter_from_user_mode+0x24/0x60
[   19.456234]  [<ffffffff8100118e>] syscall_trace_enter_phase1+0xde/0x140
[   19.459339]  [<ffffffff8145a543>] ? __this_cpu_preempt_check+0x13/0x20
[   19.460225]  [<ffffffff81185ae8>] ? __context_tracking_enter+0x78/0xc0
[   19.461040]  [<ffffffff810014be>] ? prepare_exit_to_usermode+0xee/0x100
[   19.461864]  [<ffffffff81ac6474>] tracesys+0xd/0x44
[   19.462482] BUG: using __this_cpu_write() in preemptible [00000000] code: init/1
[   19.494831] caller is __this_cpu_preempt_check+0x13/0x20
[   19.495526] CPU: 1 PID: 1 Comm: init Not tainted 4.3.0-rc3-00098-gdb23da8 #619
[   19.496449] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS Debian-1.8.2-1 04/01/2014
[   19.497566]  ffffffff81e7df04 ffff880035c8be78 ffffffff8142e66c 0000000000000001
[   19.504200]  ffff880035c8bea0 ffffffff8145a506 0000000000000001 0000000000000001
[   19.505328]  00000000c000003e ffff880035c8beb0 ffffffff8145a543 ffff880035c8bed0
[   19.506465] Call Trace:
[   19.506831]  [<ffffffff8142e66c>] dump_stack+0x4e/0x82
[   19.507557]  [<ffffffff8145a506>] check_preemption_disabled+0xf6/0x100
[   19.508484]  [<ffffffff8145a543>] __this_cpu_preempt_check+0x13/0x20
[   19.509443]  [<ffffffff81185c0f>] __context_tracking_exit+0x7f/0x90
[   19.510286]  [<ffffffff81001074>] enter_from_user_mode+0x24/0x60
[   19.511041]  [<ffffffff8100118e>] syscall_trace_enter_phase1+0xde/0x140
[   19.511867]  [<ffffffff8145a543>] ? __this_cpu_preempt_check+0x13/0x20
[   19.512673]  [<ffffffff81185ae8>] ? __context_tracking_enter+0x78/0xc0
[   19.513499]  [<ffffffff810014be>] ? prepare_exit_to_usermode+0xee/0x100
[   19.514328]  [<ffffffff81ac6474>] tracesys+0xd/0x44
[   19.514944] BUG: using __this_cpu_add() in preemptible [00000000] code: init/1
[   19.516021] caller is __this_cpu_preempt_check+0x13/0x20
[   19.518282] CPU: 1 PID: 1 Comm: init Not tainted 4.3.0-rc3-00098-gdb23da8 #619
[   19.523966] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS Debian-1.8.2-1 04/01/2014
[   19.525080]  ffffffff81e7df04 ffff880035c8be78 ffffffff8142e66c 0000000000000001
[   19.526085]  ffff880035c8bea0 ffffffff8145a506 0000000000000001 0000000000000001
[   19.530561]  00000000c000003e ffff880035c8beb0 ffffffff8145a543 ffff880035c8bed0
[   19.531685] Call Trace:
[   19.532080]  [<ffffffff8142e66c>] dump_stack+0x4e/0x82
[   19.532843]  [<ffffffff8145a506>] check_preemption_disabled+0xf6/0x100
[   19.534251]  [<ffffffff8145a543>] __this_cpu_preempt_check+0x13/0x20
[   19.535690]  [<ffffffff81185bcc>] __context_tracking_exit+0x3c/0x90
[   19.538940]  [<ffffffff81001074>] enter_from_user_mode+0x24/0x60
[   19.540965]  [<ffffffff8100118e>] syscall_trace_enter_phase1+0xde/0x140
[   19.543138]  [<ffffffff8145a543>] ? __this_cpu_preempt_check+0x13/0x20
[   19.545032]  [<ffffffff81185ae8>] ? __context_tracking_enter+0x78/0xc0
[   19.550517]  [<ffffffff810014be>] ? prepare_exit_to_usermode+0xee/0x100
[   19.551537]  [<ffffffff81ac6474>] tracesys+0xd/0x44
[   19.552306] BUG: using __this_cpu_add_return() in preemptible [00000000] code: init/1
[   19.553574] caller is __this_cpu_preempt_check+0x13/0x20
[   19.554411] CPU: 1 PID: 1 Comm: init Not tainted 4.3.0-rc3-00098-gdb23da8 #619
[   19.555526] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS Debian-1.8.2-1 04/01/2014
[   19.560755]  ffffffff81e7df04 ffff880035c8be68 ffffffff8142e66c 0000000000000001
[   19.569900]  ffff880035c8be90 ffffffff8145a506 0000000000000001 ffff880035c8c000
[   19.571026]  00000000c000003e ffff880035c8bea0 ffffffff8145a543 ffff880035c8beb0
[   19.572148] Call Trace:
[   19.572509]  [<ffffffff8142e66c>] dump_stack+0x4e/0x82
[   19.573712]  [<ffffffff8145a506>] check_preemption_disabled+0xf6/0x100
[   19.576323]  [<ffffffff8145a543>] __this_cpu_preempt_check+0x13/0x20
[   19.578862]  [<ffffffff81185a00>] context_tracking_recursion_enter+0x10/0x80
[   19.581389]  [<ffffffff81185b9e>] __context_tracking_exit+0xe/0x90
[   19.582989]  [<ffffffff81001074>] enter_from_user_mode+0x24/0x60
[   19.584714]  [<ffffffff8100118e>] syscall_trace_enter_phase1+0xde/0x140
[   19.586804]  [<ffffffff8145a543>] ? __this_cpu_preempt_check+0x13/0x20
[   19.588899]  [<ffffffff81185ae8>] ? __context_tracking_enter+0x78/0xc0
[   19.591601]  [<ffffffff810014be>] ? prepare_exit_to_usermode+0xee/0x100
[   19.594353]  [<ffffffff81ac6474>] tracesys+0xd/0x44
[   19.596328] BUG: using __this_cpu_read() in preemptible [00000000] code: init/1
[   19.603832] caller is __this_cpu_preempt_check+0x13/0x20
[   19.604582] CPU: 1 PID: 1 Comm: init Not tainted 4.3.0-rc3-00098-gdb23da8 #619
[   19.605594] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS Debian-1.8.2-1 04/01/2014
[   19.610225]  ffffffff81e7df04 ffff880035c8be78 ffffffff8142e66c 0000000000000001
[   19.611348]  ffff880035c8bea0 ffffffff8145a506 0000000000000001 ffff880035c8c000
[   19.612468]  00000000c000003e ffff880035c8beb0 ffffffff8145a543 ffff880035c8bed0
[   19.613632] Call Trace:
[   19.613997]  [<ffffffff8142e66c>] dump_stack+0x4e/0x82
[   19.614720]  [<ffffffff8145a506>] check_preemption_disabled+0xf6/0x100
[   19.615640]  [<ffffffff8145a543>] __this_cpu_preempt_check+0x13/0x20
[   19.620345]  [<ffffffff81185bb3>] __context_tracking_exit+0x23/0x90
[   19.624037]  [<ffffffff81001074>] enter_from_user_mode+0x24/0x60
[   19.626562]  [<ffffffff8100118e>] syscall_trace_enter_phase1+0xde/0x140
[   19.628568]  [<ffffffff8145a543>] ? __this_cpu_preempt_check+0x13/0x20
[   19.631070]  [<ffffffff81185ae8>] ? __context_tracking_enter+0x78/0xc0
[   19.633781]  [<ffffffff810014be>] ? prepare_exit_to_usermode+0xee/0x100
[   19.635675]  [<ffffffff81ac6474>] tracesys+0xd/0x44
[   19.637762] BUG: using __this_cpu_read() in preemptible [00000000] code: init/1
[   19.640682] caller is __this_cpu_preempt_check+0x13/0x20
[   19.647057] CPU: 1 PID: 1 Comm: init Not tainted 4.3.0-rc3-00098-gdb23da8 #619
[   19.648083] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS Debian-1.8.2-1 04/01/2014
[   19.649324]  ffffffff81e7df04 ffff880035c8be78 ffffffff8142e66c 0000000000000001
[   19.650517]  ffff880035c8bea0 ffffffff8145a506 0000000000000001 0000000000000001
[   19.651639]  00000000c000003e ffff880035c8beb0 ffffffff8145a543 ffff880035c8bed0
[   19.652850] Call Trace:
[   19.659956]  [<ffffffff8142e66c>] dump_stack+0x4e/0x82
[   19.660687]  [<ffffffff8145a506>] check_preemption_disabled+0xf6/0x100
[   19.661610]  [<ffffffff8145a543>] __this_cpu_preempt_check+0x13/0x20
[   19.662510]  [<ffffffff81185be4>] __context_tracking_exit+0x54/0x90
[   19.664210]  [<ffffffff81001074>] enter_from_user_mode+0x24/0x60
[   19.666667]  [<ffffffff8100118e>] syscall_trace_enter_phase1+0xde/0x140
[   19.669243]  [<ffffffff8145a543>] ? __this_cpu_preempt_check+0x13/0x20
[   19.671987]  [<ffffffff81185ae8>] ? __context_tracking_enter+0x78/0xc0
[   19.676125]  [<ffffffff810014be>] ? prepare_exit_to_usermode+0xee/0x100
[   19.678849]  [<ffffffff81ac6474>] tracesys+0xd/0x44
[   19.680956] BUG: using __this_cpu_write() in preemptible [00000000] code: init/1
[   19.683670] caller is __this_cpu_preempt_check+0x13/0x20
[   19.685634] CPU: 1 PID: 1 Comm: init Not tainted 4.3.0-rc3-00098-gdb23da8 #619
[   19.693507] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS Debian-1.8.2-1 04/01/2014
[   19.695108]  ffffffff81e7df04 ffff880035c8be78 ffffffff8142e66c 0000000000000001
[   19.696327]  ffff880035c8bea0 ffffffff8145a506 0000000000000001 0000000000000001
[   19.699736]  00000000c000003e ffff880035c8beb0 ffffffff8145a543 ffff880035c8bed0
[   19.705888] Call Trace:
[   19.706211]  [<ffffffff8142e66c>] dump_stack+0x4e/0x82
[   19.706891]  [<ffffffff8145a506>] check_preemption_disabled+0xf6/0x100
[   19.707709]  [<ffffffff8145a543>] __this_cpu_preempt_check+0x13/0x20
[   19.708522]  [<ffffffff81185c0f>] __context_tracking_exit+0x7f/0x90
[   19.709322]  [<ffffffff81001074>] enter_from_user_mode+0x24/0x60
[   19.710110]  [<ffffffff8100118e>] syscall_trace_enter_phase1+0xde/0x140
[   19.710950]  [<ffffffff8145a543>] ? __this_cpu_preempt_check+0x13/0x20
[   19.711768]  [<ffffffff81185ae8>] ? __context_tracking_enter+0x78/0xc0
[   19.712592]  [<ffffffff810014be>] ? prepare_exit_to_usermode+0xee/0x100
[   19.713453]  [<ffffffff81ac6474>] tracesys+0xd/0x44
[   19.732126] BUG: using __this_cpu_add() in preemptible [00000000] code: init/1
[   19.733062] caller is __this_cpu_preempt_check+0x13/0x20
[   19.733728] CPU: 1 PID: 1 Comm: init Not tainted 4.3.0-rc3-00098-gdb23da8 #619
[   19.734644] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS Debian-1.8.2-1 04/01/2014
[   19.735755]  ffffffff81e7df04 ffff880035c8be78 ffffffff8142e66c 0000000000000001
[   19.736791]  ffff880035c8bea0 ffffffff8145a506 0000000000000001 0000000000000001
[   19.737793]  00000000c000003e ffff880035c8beb0 ffffffff8145a543 ffff880035c8bed0
[   19.738794] Call Trace:
[   19.739117]  [<ffffffff8142e66c>] dump_stack+0x4e/0x82
[   19.739795]  [<ffffffff8145a506>] check_preemption_disabled+0xf6/0x100
[   19.775557]  [<ffffffff8145a543>] __this_cpu_preempt_check+0x13/0x20
[   19.776384]  [<ffffffff81185bcc>] __context_tracking_exit+0x3c/0x90
[   19.777188]  [<ffffffff81001074>] enter_from_user_mode+0x24/0x60
[   19.777953]  [<ffffffff8100118e>] syscall_trace_enter_phase1+0xde/0x140
[   19.778782]  [<ffffffff8145a543>] ? __this_cpu_preempt_check+0x13/0x20
[   19.779607]  [<ffffffff81185ae8>] ? __context_tracking_enter+0x78/0xc0
[   19.780458]  [<ffffffff810014be>] ? prepare_exit_to_usermode+0xee/0x100
[   19.781302]  [<ffffffff81ac6474>] tracesys+0xd/0x44
[   19.811081] systemd[1]: RTC configured in localtime, applying delta of 480 minutes to system time.
[   19.813386] random: systemd urandom read with 3 bits of entropy available
[   19.839736] BUG: spinlock cpu recursion on CPU#1, systemd/1
[   19.843531]  lock: 0xffff880035c848b8, .magic: dead4ead, .owner: <none>/-1, .owner_cpu: 1
[   19.850084] CPU: 1 PID: 1 Comm: systemd Not tainted 4.3.0-rc3-00098-gdb23da8 #619
[   19.851134] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS Debian-1.8.2-1 04/01/2014
[   19.852373]  ffff880035c848b8 ffff880037d03ea0 ffffffff8142e66c ffffffffffffffff
[   19.856601]  ffff880037d03ec0 ffffffff81129bb0 ffff880035c848b8 ffffffff81e4c2ab
[   19.857715]  ffff880037d03ee0 ffffffff81129c21 ffff880035c848b8 ffff880035c848b8
[   19.858833] Call Trace:
[   19.859187]  <IRQ>  [<ffffffff8142e66c>] dump_stack+0x4e/0x82
[   19.866732]  [<ffffffff81129bb0>] spin_dump+0x80/0xd0
[   19.867457]  [<ffffffff81129c21>] spin_bug+0x21/0x30
[   19.868167]  [<ffffffff81129d98>] do_raw_spin_lock+0x108/0x120
[   19.868995]  [<ffffffff81ac585e>] _raw_spin_lock+0x3e/0x50
[   19.876474]  [<ffffffff81111d6f>] ? vtime_account_user+0x1f/0xa0





Thanks,
Ying Huang

View attachment "config-4.3.0-rc3-00098-gdb23da8" of type "text/plain" (119219 bytes)

Download attachment "dmesg.xz" of type "application/x-xz" (14096 bytes)

Powered by blists - more mailing lists