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: <20200618010050.GC5279@shao2-debian>
Date:   Thu, 18 Jun 2020 09:00:50 +0800
From:   kernel test robot <lkp@...el.com>
To:     Thomas Gleixner <tglx@...utronix.de>
Cc:     Alexandre Chartre <alexandre.chartre@...cle.com>,
        linux-kernel@...r.kernel.org, rcu@...r.kernel.org,
        LKP <lkp@...ts.01.org>
Subject: ff5c4f5cad ("rcu/tree: Mark the idle relevant functions noinstr"):
 BUG: kernel reboot-without-warning in test stage

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 ff5c4f5cad33061b07c3fb9187506783c0f3cb66
Author:     Thomas Gleixner <tglx@...utronix.de>
AuthorDate: Fri Mar 13 17:32:17 2020 +0100
Commit:     Thomas Gleixner <tglx@...utronix.de>
CommitDate: Tue May 19 15:51:20 2020 +0200

    rcu/tree: Mark the idle relevant functions noinstr
    
    These functions are invoked from context tracking and other places in the
    low level entry code. Move them into the .noinstr.text section to exclude
    them from instrumentation.
    
    Mark the places which are safe to invoke traceable functions with
    instrumentation_begin/end() so objtool won't complain.
    
    Signed-off-by: Thomas Gleixner <tglx@...utronix.de>
    Reviewed-by: Alexandre Chartre <alexandre.chartre@...cle.com>
    Acked-by: Peter Zijlstra <peterz@...radead.org>
    Acked-by: Paul E. McKenney <paulmck@...nel.org>
    Link: https://lkml.kernel.org/r/20200505134100.575356107@linutronix.de

0d00449c7a  x86: Replace ist_enter() with nmi_enter()
ff5c4f5cad  rcu/tree: Mark the idle relevant functions noinstr
b3a9e3b962  Linux 5.8-rc1
+----------------------------------------------------------------------------+------------+------------+----------+
|                                                                            | 0d00449c7a | ff5c4f5cad | v5.8-rc1 |
+----------------------------------------------------------------------------+------------+------------+----------+
| boot_successes                                                             | 443        | 137        | 84       |
| boot_failures                                                              | 3          | 30         | 13       |
| INFO:rcu_sched_self-detected_stall_on_CPU                                  | 1          |            |          |
| RIP:write_comp_data                                                        | 1          |            |          |
| RIP:__sanitizer_cov_trace_const_cmp4                                       | 1          |            |          |
| RIP:__sanitizer_cov_trace_pc                                               | 1          |            |          |
| BUG:kernel_hang_in_test_stage                                              | 2          | 1          |          |
| BUG:unable_to_handle_page_fault_for_address                                | 1          | 1          | 1        |
| Oops:#[##]                                                                 | 1          | 1          | 1        |
| RIP:write_port                                                             | 1          |            |          |
| Kernel_panic-not_syncing:Fatal_exception                                   | 1          | 1          | 1        |
| Kernel_panic-not_syncing:VFS:Unable_to_mount_root_fs_on_unknown-block(#,#) | 0          | 4          |          |
| BUG:kernel_reboot-without-warning_in_test_stage                            | 0          | 24         | 12       |
| WARNING:at_mm/usercopy.c:#usercopy_warn                                    | 0          | 1          |          |
| RIP:usercopy_warn                                                          | 0          | 1          |          |
| canonical_address#:#[##]                                                   | 0          | 1          | 1        |
| RIP:follow_page_mask                                                       | 0          | 1          |          |
| BUG:kernel_NULL_pointer_dereference,address                                | 0          | 1          |          |
| RIP:ftrace_ops_trampoline                                                  | 0          | 1          | 1        |
| kernel_BUG_at_mm/slab.c                                                    | 0          | 1          |          |
| invalid_opcode:#[##]                                                       | 0          | 1          |          |
| RIP:__check_heap_object                                                    | 0          | 1          |          |
+----------------------------------------------------------------------------+------------+------------+----------+

commit ff5c4f5cad causes approximately 15% kernel reboot without warning, and
no such issue in parent commit kernel.

If you fix the issue, kindly add following tag
Reported-by: kernel test robot <lkp@...el.com>

01 00 00 00 68 00 00 00 03 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 0b 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 
[child7:891] kcmp (312) returned ENOSYS, marking as inactive.
[   32.345837] warning: process `trinity-c7' used the deprecated sysctl system call with 
[child7:893] sysctl (156) returned ENOSYS, marking as inactive.
[child7:895] mbind (237) returned ENOSYS, marking as inactive.
BUG: kernel reboot-without-warning in test stage


                                                          # HH:MM RESULT GOOD BAD GOOD_BUT_DIRTY DIRTY_NOT_BAD
git bisect start af7b4801030c07637840191c69eb666917e4135d v5.7 --
git bisect  bad f1e455352b6f503532eb3637d0a6d991895e7856  # 22:16  B      0     2   18   0  Merge tag 'kgdb-5.8-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/danielt/linux
git bisect  bad 4fdea5848b3c7fb13a0bfd7f768dcf15b534dafe  # 22:26  B      0     1   17   0  Merge branch 'uaccess.__put_user' of git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs
git bisect  bad 69fc06f70f4569c9969f99fe25bdc9a6bb537b43  # 22:36  B     10     1    0   2  Merge tag 'objtool-core-2020-06-01' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip
git bisect good afdb0f2ec57d4899eda2c5e09fc3a005f2119690  # 00:05  G    151     0    0   2  Merge tag 'fscrypt-for-linus' of git://git.kernel.org/pub/scm/fs/fscrypt/fscrypt
git bisect good ef34ba6d36af9e6f5918f7f7e287be4b70a358b4  # 00:31  G    148     0    0   2  Merge tag 'x86_microcode_for_5.8' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip
git bisect good 0bd957eb11cfeef23fcc240edde6dfe431731e69  # 00:54  G    152     0    1   1  Merge tag 'core-kprobes-2020-06-01' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip
git bisect  bad 2227e5b21aec6c5f7f6491352f0c19fd02d19418  # 01:04  B      0     3   19   0  Merge tag 'core-rcu-2020-06-01' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip
git bisect good e5a971d76d701dbff9e5dbaa84dc9e8c3081a867  # 01:26  G    151     0    0   0  ftrace: Use synchronize_rcu_tasks_rude() instead of ftrace_sync()
git bisect good f736e0f1a55a88cb258b73da77463573739e9ac9  # 01:52  G    145     0    1   1  Merge branches 'fixes.2020.04.27a', 'kfree_rcu.2020.04.27a', 'rcu-tasks.2020.04.27a', 'stall.2020.04.27a' and 'torture.2020.05.07a' into HEAD
git bisect good b052df3da821adfd6be26a6eb16624fb50e90e56  # 02:26  G    147     0    0   1  x86/entry: Get rid of ist_begin/end_non_atomic()
git bisect  bad 8ae0ae6737ad449c8ae21e2bb01d9736f360a933  # 02:35  B      4     2    0   0  rcu: Provide rcu_irq_exit_preempt()
git bisect good 0d00449c7a28a1514595630735df383dec606812  # 03:10  G    152     0    0   0  x86: Replace ist_enter() with nmi_enter()
git bisect  bad 9ea366f669ded353ae49754216c042e7d2f72ba6  # 03:21  B      1     2    1   1  rcu: Make RCU IRQ enter/exit functions rely on in_nmi()
git bisect  bad ff5c4f5cad33061b07c3fb9187506783c0f3cb66  # 03:34  B      4     3    0   0  rcu/tree: Mark the idle relevant functions noinstr
# first bad commit: [ff5c4f5cad33061b07c3fb9187506783c0f3cb66] rcu/tree: Mark the idle relevant functions noinstr
git bisect good 0d00449c7a28a1514595630735df383dec606812  # 03:54  G    444     0    2   2  x86: Replace ist_enter() with nmi_enter()
# extra tests with debug options
git bisect  bad ff5c4f5cad33061b07c3fb9187506783c0f3cb66  # 04:07  B      5     3    0   0  rcu/tree: Mark the idle relevant functions noinstr
# extra tests on head commit of linus/master
git bisect  bad b3a9e3b9622ae10064826dccb4f7a52bd88c7407  # 04:43  B     72    11    1   1  Linux 5.8-rc1
# bad: [b3a9e3b9622ae10064826dccb4f7a52bd88c7407] Linux 5.8-rc1
# extra tests on linus/master
# duplicated: [b3a9e3b9622ae10064826dccb4f7a52bd88c7407] Linux 5.8-rc1
# extra tests on linux-next/master
# 119: [842221d073a88c9cd1aa01777c4b69020c28e7a4] Add linux-next specific files for 20200614

---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/lkp@lists.01.org

Download attachment "dmesg-yocto-vm-yocto-53:20200615033441:x86_64-randconfig-s032-20200614:5.7.0-rc5-00101-gff5c4f5cad330:1.gz" of type "application/gzip" (17291 bytes)

Download attachment "dmesg-yocto-vm-yocto-37:20200615033618:x86_64-randconfig-s032-20200614:5.7.0-rc5-00100-g0d00449c7a28a:1.gz" of type "application/gzip" (28298 bytes)

View attachment "reproduce-yocto-vm-yocto-53:20200615033441:x86_64-randconfig-s032-20200614:5.7.0-rc5-00101-gff5c4f5cad330:1" of type "text/plain" (935 bytes)

Download attachment "1e45a7d385f9b6c9d9e5ca4cc3e8deb91f02c51b:gcc-9:x86_64-randconfig-s032-20200614:BUG:kernel_reboot-without-warning_in_test_stage.xz" of type "application/x-xz" (6020 bytes)

View attachment "config-5.7.0-rc5-00101-gff5c4f5cad330" of type "text/plain" (130205 bytes)

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ