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]
Date:   Sun, 11 Sep 2016 20:06:28 +0800
From:   kernel test robot <xiaolong.ye@...el.com>
To:     Josef Bacik <jbacik@...com>
Cc:     Jens Axboe <axboe@...com>, LKML <linux-kernel@...r.kernel.org>,
        Stephen Rothwell <sfr@...b.auug.org.au>, lkp@...org
Subject: [lkp] [nbd]  3fabab1cec: BUG: unable to handle kernel NULL pointer
 dereference at           (null)


FYI, we noticed the following commit:

https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master
commit 3fabab1cec36f1873049de5dd05a9ed28ec168e2 ("nbd: add multi-connection support")

in testcase: boot

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

caused below changes:


+-----------------------------------------------------------------------------+------------+------------+
|                                                                             | 0eadf37afc | 3fabab1cec |
+-----------------------------------------------------------------------------+------------+------------+
| boot_successes                                                              | 2          | 4          |
| boot_failures                                                               | 12         | 10         |
| BUG:sleeping_function_called_from_invalid_context_at_kernel/locking/mutex.c | 10         |            |
| calltrace:compat_SyS_mount                                                  | 10         | 10         |
| BUG:kernel_reboot-without-warning_in_test_stage                             | 2          |            |
| BUG:unable_to_handle_kernel                                                 | 0          | 10         |
| Oops                                                                        | 0          | 10         |
| RIP:nbd_queue_rq                                                            | 0          | 10         |
| Kernel_panic-not_syncing:Fatal_exception                                    | 0          | 10         |
+-----------------------------------------------------------------------------+------------+------------+



[   17.846260] floppy: error -5 while reading block 0
[   17.870246] floppy: error -5 while reading block 0
[   17.894227] floppy: error -5 while reading block 0
[   17.904564] BUG: unable to handle kernel NULL pointer dereference at           (null)
[   17.904571] IP: [<ffffffff81c2a3e8>] nbd_queue_rq+0x7f/0x349
[   17.904574] PGD 35d14067 PUD 358b3067 PMD 0 
[   17.904576] Oops: 0000 [#1] SMP
[   17.904578] Modules linked in:
[   17.904581] CPU: 0 PID: 1009 Comm: mount Not tainted 4.8.0-rc4-00011-g3fabab1 #65
[   17.904582] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS Debian-1.8.2-1 04/01/2014
[   17.904583] task: ffff880035868300 task.stack: ffff880034ce4000
[   17.904587] RIP: 0010:[<ffffffff81c2a3e8>]  [<ffffffff81c2a3e8>] nbd_queue_rq+0x7f/0x349
[   17.904589] RSP: 0000:ffff880034ce7a68  EFLAGS: 00010246
[   17.904590] RAX: 0000000000000000 RBX: ffff88003d2d98b0 RCX: 0000000000000006
[   17.904591] RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000202
[   17.904592] RBP: ffff880034ce7ae8 R08: 00000007857977bf R09: ffffffff8502fe60
[   17.904593] R10: ffff880034ce78f0 R11: 0000000000000001 R12: ffff880034ce7b10
[   17.904594] R13: ffff8800394f0170 R14: ffff880039335848 R15: ffff8800394f0000
[   17.904597] FS:  0000000000000000(0000) GS:ffff88003f600000(0063) knlGS:00000000f77d96c0
[   17.904598] CS:  0010 DS: 002b ES: 002b CR0: 0000000080050033
[   17.904599] CR2: 0000000000000000 CR3: 0000000034e0e000 CR4: 00000000000006f0
[   17.904603] Stack:
[   17.904606]  ffff880035868ba8 ffff880034ce7a80 0000000000000246 ffff880034ce7ac8
[   17.904609]  0000000181123900 0000000000000246 ffff880035868b70 000000000000010f
[   17.904612]  ffffe8ffffc14500 ffff880034ce7b10 0000000000000000 ffff880039335800
[   17.904613] Call Trace:
[   17.904617]  [<ffffffff81772b66>] __blk_mq_run_hw_queue+0x1c7/0x2c8
[   17.904620]  [<ffffffff81772942>] blk_mq_run_hw_queue+0x5e/0xbb
[   17.904622]  [<ffffffff81773d53>] blk_sq_make_request+0x1a1/0x1ba
[   17.904626]  [<ffffffff81768e24>] generic_make_request+0xbd/0x160
[   17.904628]  [<ffffffff81768fbd>] submit_bio+0xf6/0xff
[   17.904632]  [<ffffffff81252806>] submit_bh_wbc+0x136/0x143
[   17.904634]  [<ffffffff81252c00>] submit_bh+0x10/0x12
[   17.904636]  [<ffffffff81252c52>] __bread_gfp+0x50/0x6f
[   17.904639]  [<ffffffff812f290a>] ext4_fill_super+0x1f4/0x27ec
[   17.904643]  [<ffffffff81798a59>] ? vsnprintf+0x22d/0x3b7
[   17.904647]  [<ffffffff812265e3>] mount_bdev+0x144/0x197
[   17.904649]  [<ffffffff812f2716>] ? ext4_calculate_overhead+0x2bd/0x2bd
[   17.904653]  [<ffffffff812ede93>] ext4_mount+0x15/0x17
[   17.904655]  [<ffffffff81227049>] mount_fs+0x67/0x131
[   17.904657]  [<ffffffff8123ee2f>] vfs_kern_mount+0x6b/0xdb
[   17.904659]  [<ffffffff81241759>] do_mount+0x708/0x97d
[   17.904663]  [<ffffffff811e87f0>] ? __might_fault+0x7e/0x84
[   17.904665]  [<ffffffff811da511>] ? strndup_user+0x3f/0x53
[   17.904668]  [<ffffffff81268eb6>] compat_SyS_mount+0x185/0x1ae
[   17.904671]  [<ffffffff81003b6f>] do_int80_syscall_32+0x5c/0x6b
[   17.904676]  [<ffffffff82efb6d8>] entry_INT80_compat+0x38/0x50
[   17.904705] Code: 74 1c f6 03 02 74 17 48 8b bb a8 01 00 00 48 c7 c6 0a 6e b1 83 48 81 c7 a0 00 00 00 eb 4b 49 63 97 78 01 00 00 48 8b 43 10 31 f6 <4c> 8b 34 d0 41 c7 87 04 01 00 00 00 00 00 00 4d 8d 66 08 4c 89 
[   17.904708] RIP  [<ffffffff81c2a3e8>] nbd_queue_rq+0x7f/0x349
[   17.904708]  RSP <ffff880034ce7a68>
[   17.904709] CR2: 0000000000000000
[   17.904713] ---[ end trace 2dd9ac588a589f99 ]---
[   17.904715] Kernel panic - not syncing: Fatal exception


Thanks,
Xiaolong

View attachment "config-4.8.0-rc4-00011-g3fabab1" of type "text/plain" (154424 bytes)

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

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

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ