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: <20170411014729.GV17682@yexl-desktop>
Date:   Tue, 11 Apr 2017 09:47:29 +0800
From:   kernel test robot <xiaolong.ye@...el.com>
To:     Sascha Hauer <s.hauer@...gutronix.de>
Cc:     Brian Norris <computersforpeace@...il.com>,
        Uwe Kleine-König 
        <u.kleine-koenig@...gutronix.de>,
        LKML <linux-kernel@...r.kernel.org>,
        Linus Torvalds <torvalds@...ux-foundation.org>, lkp@...org
Subject: [lkp-robot] [mtd]  42e9401bd1:
 WARNING:at_kernel/locking/lockdep.c:#__bfs


FYI, we noticed the following commit:

commit: 42e9401bd1467d22c4dc4d2c637347b874e6a80b ("mtd: Add partition device node to mtd partition devices")
https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git master

in testcase: trinity
with following parameters:

	runtime: 300s

test-description: Trinity is a linux system call fuzz tester.
test-url: http://codemonkey.org.uk/projects/trinity/


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

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


+--------------------------------------------------------------------------+------------+------------+
|                                                                          | 89a0d9a9f1 | 42e9401bd1 |
+--------------------------------------------------------------------------+------------+------------+
| boot_successes                                                           | 0          | 0          |
| boot_failures                                                            | 56         | 52         |
| WARNING:at_drivers/gpu/drm/drm_mode_config.c:#drm_mode_config_cleanup    | 56         | 52         |
| BUG:unable_to_handle_kernel                                              | 1          | 39         |
| Oops:#[##]                                                               | 1          | 39         |
| Kernel_panic-not_syncing:Fatal_exception                                 | 1          | 39         |
| WARNING:at_kernel/locking/lockdep.c:#__bfs                               | 0          | 39         |
| BUG:sleeping_function_called_from_invalid_context_at_arch/x86/mm/fault.c | 0          | 39         |
| WARNING:at_kernel/locking/lockdep.c:#__lock_acquire                      | 0          | 11         |
| BUG:spinlock_lockup_suspected_on_CPU                                     | 0          | 11         |
+--------------------------------------------------------------------------+------------+------------+



[    7.397382] WARNING: CPU: 0 PID: 334 at kernel/locking/lockdep.c:949 __bfs+0x157/0x250
[    7.399205] CPU: 0 PID: 334 Comm: sync Tainted: G        W       4.10.0-rc6-00027-g42e9401 #1
[    7.400332] Call Trace:
[    7.400708]  dump_stack+0x86/0xc1
[    7.401145]  __warn+0xbb/0xe0
[    7.401528]  ? noop_count+0x10/0x10
[    7.401973]  warn_slowpath_null+0x18/0x20
[    7.402498]  __bfs+0x157/0x250
[    7.402889]  find_usage_backwards+0x63/0x70
[    7.403445]  check_usage_backwards+0xa4/0xe0
[    7.403982]  mark_lock+0x377/0x570
[    7.404477]  ? check_usage_forwards+0xf0/0xf0
[    7.405111]  __lock_acquire+0x2f6/0x820
[    7.405657]  lock_acquire+0x1a4/0x1f0
[    7.406114]  ? iterate_supers+0x67/0xe0
[    7.406606]  ? sync_fs_one_sb+0x20/0x20
[    7.407153]  down_read+0x42/0x70
[    7.407575]  ? iterate_supers+0x67/0xe0
[    7.408063]  iterate_supers+0x67/0xe0
[    7.408606]  sys_sync+0x30/0x60
[    7.409017]  entry_SYSCALL_64_fastpath+0x1f/0xc2
[    7.409625] RIP: 0033:0x7fd8df2b97c7
[    7.410081] RSP: 002b:00007ffec40aaec8 EFLAGS: 00000202 ORIG_RAX: 00000000000000a2
[    7.411085] RAX: ffffffffffffffda RBX: 0000000000000089 RCX: 00007fd8df2b97c7
[    7.412036] RDX: 0000000000000004 RSI: 00007ffec40ab058 RDI: 0000000000000001
[    7.413092] RBP: 00007ffec40abc21 R08: 0000000000000000 R09: 000000000000000b
[    7.413992] R10: 000000000000081d R11: 0000000000000202 R12: 0000000000000369
[    7.414895] R13: 0000000000000089 R14: 0000000000000001 R15: 0000000000000000
[    7.415844] ---[ end trace 047797e79d0ae057 ]---


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.10.0-rc6-00027-g42e9401b" of type "text/plain" (94375 bytes)

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

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ