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: <20170609104457.GA39907@inn.lkp.intel.com>
Date:   Fri, 9 Jun 2017 18:44:57 +0800
From:   kernel test robot <xiaolong.ye@...el.com>
To:     Thomas Gleixner <tglx@...utronix.de>
Cc:     Peter Zijlstra <peterz@...radead.org>,
        John Stultz <john.stultz@...aro.org>,
        LKML <linux-kernel@...r.kernel.org>,
        Stephen Rothwell <sfr@...b.auug.org.au>, lkp@...org
Subject: [posix]  91d57bae08:
 WARNING:at_kernel/time/hrtimer.c:#hrtimer_forward


FYI, we noticed the following commit:

commit: 91d57bae08689199c8acc77a8b3b41150cafab1c ("posix-timers: Make use of forward/remaining callbacks")
https://git.kernel.org/cgit/linux/kernel/git/next/linux-next.git master

in testcase: syzkaller
with following parameters:

	cpufreq_governor: performance
	repro_program: repro-d1aff78d.exe



on test machine: 8 threads Ivy Bridge with 16G memory

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


+----------------+------------+------------+
|                | 63841b2a69 | 91d57bae08 |
+----------------+------------+------------+
| boot_successes | 7          | 6          |
+----------------+------------+------------+



kern  :warn  : [   62.897524] WARNING: CPU: 5 PID: 13269 at kernel/time/hrtimer.c:805 hrtimer_forward+0x1f0/0x2e0
kern  :warn  : [   62.897905] Modules linked in: x86_pkg_temp_thermal
kern  :warn  : [   62.898120] CPU: 5 PID: 13269 Comm: repro-d1aff78d. Not tainted 4.12.0-rc3-00201-g91d57bae #1
kern  :warn  : [   62.898487] Hardware name:                  /DZ77BH-55K, BIOS BHZ7710H.86A.0097.2012.1228.1346 12/28/2012
kern  :warn  : [   62.898848] task: ffff88034e2cae80 task.stack: ffff8803463e8000
kern  :warn  : [   62.899079] RIP: 0010:hrtimer_forward+0x1f0/0x2e0
kern  :warn  : [   62.899284] RSP: 0018:ffff8803463efcf8 EFLAGS: 00010097
kern  :warn  : [   62.899528] RAX: ffff88034e2cae80 RBX: ffff88033d09e0a0 RCX: 0000000000000018
kern  :warn  : [   62.899777] RDX: 0000000000000000 RSI: 14c66821f7181be7 RDI: ffff88033d09e0d8
kern  :warn  : [   62.900025] RBP: ffff8803463efd40 R08: ffffffff863e9b08 R09: 0000000000000001
kern  :warn  : [   62.900275] R10: 0000000000000000 R11: ffff88034e2cae80 R12: 14c66804adea7333
kern  :warn  : [   62.900542] R13: 0000001d492da8b4 R14: 14c66821f7181be7 R15: 1bc16d674ec80000
kern  :warn  : [   62.900788] FS:  00007f7addb2b800(0000) GS:ffff88037bf40000(0000) knlGS:0000000000000000
kern  :warn  : [   62.901124] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
kern  :warn  : [   62.901357] CR2: 0000000020003fe0 CR3: 0000000351f89000 CR4: 00000000001406e0
kern  :warn  : [   62.901611] Call Trace:
kern  :warn  : [   62.901787]  common_hrtimer_forward+0x4b/0x60
kern  :warn  : [   62.901990]  common_timer_get+0x3e1/0x4d0
kern  :warn  : [   62.903854]  ? common_hrtimer_rearm+0x190/0x190
kern  :warn  : [   62.904059]  ? __lock_timer+0x270/0x400
kern  :warn  : [   62.904252]  ? common_hrtimer_rearm+0x190/0x190
kern  :warn  : [   62.904473]  SyS_timer_gettime+0x110/0x210
kern  :warn  : [   62.904667]  ? SyS_timer_create+0x1130/0x1130
kern  :warn  : [   62.904872]  ? entry_SYSCALL_64_fastpath+0x5/0xbe
kern  :warn  : [   62.905080]  ? trace_hardirqs_on_caller+0x3f4/0x560
kern  :warn  : [   62.905291]  ? trace_hardirqs_on_thunk+0x1a/0x1c
kern  :warn  : [   62.905528]  entry_SYSCALL_64_fastpath+0x1f/0xbe
kern  :warn  : [   62.905731] RIP: 0033:0x7f7add652d49
kern  :warn  : [   62.905917] RSP: 002b:00007fff3eda8578 EFLAGS: 00000216 ORIG_RAX: 00000000000000e0
kern  :warn  : [   62.906239] RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 00007f7add652d49
kern  :warn  : [   62.906511] RDX: 0000000000000000 RSI: 0000000020003000 RDI: 0000000000000000
kern  :warn  : [   62.906757] RBP: 0000000000000046 R08: 0000000000000000 R09: 0000000000000000
kern  :warn  : [   62.907001] R10: 0000000000000000 R11: 0000000000000216 R12: 0000000000400a10
kern  :warn  : [   62.907246] R13: 00007fff3eda8720 R14: 0000000000000000 R15: 0000000000000000
kern  :warn  : [   62.907512]  ? entry_SYSCALL_64_fastpath+0x1f/0xbe
kern  :warn  : [   62.907726] Code: 49 bc ff ff ff ff ff ff ff 7f e9 6a ff ff ff 48 b8 ff ff ff ff ff ff ff 7f e9 25 ff ff ff 45 31 ff e9 78 ff ff ff e8 a0 24 0c 00 <0f> ff 45 31 ff e9 69 ff ff ff e8 91 24 0c 00 4d 85 ff 4d 89 fe 
kern  :warn  : [   62.908422] ---[ end trace a44641c07abb14ba ]---


To reproduce:

        git clone https://github.com/01org/lkp-tests.git
        cd lkp-tests
        bin/lkp install job.yaml  # job file is attached in this email
        bin/lkp run     job.yaml



Thanks,
Kernel Test Robot

View attachment "config-4.12.0-rc3-00201-g91d57bae" of type "text/plain" (128877 bytes)

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

Download attachment "kmsg.xz" of type "application/octet-stream" (20028 bytes)

View attachment "syzkaller" of type "text/plain" (241 bytes)

View attachment "job.yaml" of type "text/plain" (4179 bytes)

View attachment "reproduce" of type "text/plain" (359 bytes)

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ