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]
Message-ID: <20170524052545.GQ1795@yexl-desktop>
Date:   Wed, 24 May 2017 13:25:45 +0800
From:   kernel test robot <xiaolong.ye@...el.com>
To:     Thomas Gleixner <tglx@...utronix.de>
Cc:     Ingo Molnar <mingo@...nel.org>,
        Mark Rutland <mark.rutland@....com>,
        Peter Zijlstra <peterz@...radead.org>,
        Greg Kroah-Hartman <gregkh@...uxfoundation.org>,
        Linus Torvalds <torvalds@...ux-foundation.org>,
        Steven Rostedt <rostedt@...dmis.org>,
        LKML <linux-kernel@...r.kernel.org>,
        "H. Peter Anvin" <hpa@...or.com>,
        Thomas Gleixner <tglx@...utronix.de>, tipbuild@...or.com,
        lkp@...org
Subject: [lkp-robot] [sched/core]  1c3c5eab17:
 BUG:using_smp_processor_id()in_preemptible


FYI, we noticed the following commit:

commit: 1c3c5eab171590f86edd8d31389d61dd1efe3037 ("sched/core: Enable might_sleep() and smp_processor_id() checks early")
https://git.kernel.org/cgit/linux/kernel/git/tip/tip.git sched/core

in testcase: boot

on test machine: qemu-system-x86_64 -enable-kvm -smp 2 -m 512M

caused below changes (please refer to attached dmesg/kmsg for entire log/backtrace):


+------------------------------------------------------------------+------------+------------+
|                                                                  | 69a78ff226 | 1c3c5eab17 |
+------------------------------------------------------------------+------------+------------+
| boot_successes                                                   | 6          | 0          |
| boot_failures                                                    | 2          | 8          |
| invoked_oom-killer:gfp_mask=0x                                   | 2          |            |
| Mem-Info                                                         | 2          |            |
| Kernel_panic-not_syncing:Out_of_memory_and_no_killable_processes | 2          |            |
| BUG:using_smp_processor_id()in_preemptible                       | 0          | 8          |
+------------------------------------------------------------------+------------+------------+



[   15.697784] BUG: using smp_processor_id() in preemptible [00000000] code: swapper/0/1
[   15.698793] caller is debug_smp_processor_id+0x1c/0x1e
[   15.699461] CPU: 0 PID: 1 Comm: swapper/0 Not tainted 4.12.0-rc2-00108-g1c3c5ea #1
[   15.700431] Call Trace:
[   15.700530]  dump_stack+0x110/0x192
[   15.700530]  check_preemption_disabled+0x10c/0x128
[   15.700530]  ? set_debug_rodata+0x25/0x25
[   15.700530]  debug_smp_processor_id+0x1c/0x1e
[   15.700530]  sched_clock_init_late+0x27/0x87
[   15.700530]  ? sched_init+0x4c6/0x4c6
[   15.700530]  do_one_initcall+0xa3/0x1a7
[   15.700530]  ? set_debug_rodata+0x25/0x25
[   15.700530]  kernel_init_freeable+0x25e/0x304
[   15.700530]  ? rest_init+0x29a/0x29a
[   15.700530]  kernel_init+0x14/0x147
[   15.700530]  ? rest_init+0x29a/0x29a
[   15.700530]  ret_from_fork+0x31/0x40
[   15.707460] sched_clock: Marking stable (15707446101, 0)->(16254936915, -547490814)
[   15.709183] Loading compiled-in X.509 certificates
[   15.711197] Key type encrypted registered
[   15.791159] Unregister pv shared memory for cpu 0
[   15.794097] CPU 0 is now offline
[   15.801534] Freeing unused kernel memory: 1232K
[   15.802178] Write protecting the kernel read-only data: 12288k
[   15.804954] Freeing unused kernel memory: 832K
[   15.824888] Freeing unused kernel memory: 1236K
[   15.836054] random: init: uninitialized urandom read (12 bytes read)
[   15.947972] random: mountall: uninitialized urandom read (12 bytes read)
[   15.953829] random: trinity: uninitialized urandom read (4 bytes read)
[   15.994557] init: Failed to create pty - disabling logging for job
[   15.995553] init: Temporary process spawn error: No such file or directory
[   16.016425] init: Failed to create pty - disabling logging for job
[   16.017422] init: Temporary process spawn error: No such file or directory
[   16.065743] init: Failed to create pty - disabling logging for job
[   16.066743] init: Temporary process spawn error: No such file or directory
[   16.072872] init: Failed to create pty - disabling logging for job
[   16.073847] init: Temporary process spawn error: No such file or directory
[   16.166147] init: Failed to create pty - disabling logging for job
[   16.167149] init: Temporary process spawn error: No such file or directory
[   16.176152] init: Failed to create pty - disabling logging for job
[   16.177131] init: Temporary process spawn error: No such file or directory
[   16.186596] init: Failed to create pty - disabling logging for job
[   16.187565] init: Temporary process spawn error: No such file or directory
[   16.198251] udevd[215]: starting version 175
[   16.211652] init: Failed to create pty - disabling logging for job
[   16.212630] init: Temporary process spawn error: No such file or directory
[   16.222026] init: Failed to create pty - disabling logging for job
[   16.223003] init: Temporary process spawn error: No such file or directory
[   16.239918] init: Failed to create pty - disabling logging for job
[   16.241031] init: Temporary process spawn error: No such file or directory
[   16.285515] init: Failed to create pty - disabling logging for job
[   16.286509] init: Temporary process spawn error: No such file or directory
[   16.292670] init: Failed to create pty - disabling logging for job
[   16.293641] init: Temporary process spawn error: No such file or directory


To reproduce:

        git clone https://github.com/01org/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.12.0-rc2-00108-g1c3c5ea" of type "text/plain" (106993 bytes)

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

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

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ