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: <20180108032018.GG1371@yexl-desktop>
Date:   Mon, 8 Jan 2018 11:20:18 +0800
From:   kernel test robot <xiaolong.ye@...el.com>
To:     David Howells <dhowells@...hat.com>
Cc:     Greg Kroah-Hartman <gregkh@...uxfoundation.org>,
        Tejun Heo <tj@...nel.org>, Li Zefan <lizefan@...wei.com>,
        Johannes Weiner <hannes@...xchg.org>,
        LKML <linux-kernel@...r.kernel.org>,
        David Howells <dhowells@...hat.com>, lkp@...org
Subject: [lkp-robot] [kernfs, sysfs, cgroup, intel_rdt]  5aad045543:
 kernel_BUG_at_fs/super.c


FYI, we noticed the following commit (built with gcc-7):

commit: 5aad04554302fc1fbb5924d0f8f68946ec5c06f7 ("kernfs, sysfs, cgroup, intel_rdt: Support fs_context")
https://git.kernel.org/cgit/linux/kernel/git/dhowells/linux-fs.git mount-context

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 420M

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


+-------------------------------------------------------+------------+------------+
|                                                       | b3f3ae1a5f | 5aad045543 |
+-------------------------------------------------------+------------+------------+
| boot_successes                                        | 0          | 0          |
| boot_failures                                         | 12         | 14         |
| WARNING:possible_circular_locking_dependency_detected | 12         | 14         |
| kernel_BUG_at_fs/super.c                              | 0          | 4          |
| invalid_opcode:#[##]                                  | 0          | 4          |
| RIP:vfs_get_tree                                      | 0          | 4          |
| Kernel_panic-not_syncing:Fatal_exception              | 0          | 4          |
+-------------------------------------------------------+------------+------------+



[   23.386679] kernel BUG at fs/super.c:1703!
[   23.387314] invalid opcode: 0000 [#1]
[   23.387715] CPU: 0 PID: 1 Comm: init Not tainted 4.15.0-rc1-00105-g5aad045 #167
[   23.388531] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.10.2-1 04/01/2014
[   23.389749] task: ffff880018c7c000 task.stack: ffff880018c80000
[   23.390414] RIP: 0010:vfs_get_tree+0x10f/0x2e0
[   23.390891] RSP: 0000:ffff880018c83e18 EFLAGS: 00010293
[   23.391489] RAX: ffff880018c7c000 RBX: ffff880012cb5748 RCX: ffffffff8130d14f
[   23.392286] RDX: 0000000000000000 RSI: 0000000000000001 RDI: ffffffff842fa518
[   23.393062] RBP: ffff880018c83e38 R08: 0000000000000000 R09: 0000000000000001
[   23.393810] R10: 0000000000000000 R11: 0000000000000000 R12: 0000000000000003
[   23.394569] R13: 0000000000000000 R14: ffff880012cb5748 R15: 0000000000000000
[   23.395373] FS:  0000000000000000(0000) GS:ffffffff83e8b000(0063) knlGS:00000000f7f89690
[   23.396224] CS:  0010 DS: 002b ES: 002b CR0: 0000000080050033
[   23.396845] CR2: 00000000f7f12588 CR3: 0000000012cb7000 CR4: 00000000000006b0
[   23.397648] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
[   23.398415] DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
[   23.399144] Call Trace:
[   23.399423]  ? vfs_set_fs_source+0xf0/0xf0
[   23.399852]  do_mount+0x145e/0x1750
[   23.400232]  ? strndup_user+0xca/0xe0
[   23.400624]  compat_SyS_mount+0x36a/0x3b0
[   23.401041]  do_int80_syscall_32+0xd3/0x440
[   23.401520]  entry_INT80_compat+0x32/0x40
[   23.402111] RIP: 0023:0xf7f09c3e
[   23.402474] RSP: 002b:00000000fff69eec EFLAGS: 00000296 ORIG_RAX: 0000000000000015
[   23.403256] RAX: ffffffffffffffda RBX: 000000000804a3a9 RCX: 000000000804a3a1
[   23.404003] RDX: 000000000804a3a9 RSI: 000000000000000e RDI: 0000000000000000
[   23.404733] RBP: 00000000fff69f88 R08: 0000000000000000 R09: 0000000000000000
[   23.405490] R10: 0000000000000000 R11: 0000000000000000 R12: 0000000000000000
[   23.406238] R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000000
[   23.407028] Code: 84 4d 85 ed 41 0f 94 c4 31 c9 31 d2 44 89 e6 49 83 c4 02 e8 64 f6 ec ff 4a 83 04 e5 28 81 4e 84 01 4d 85 ed 75 07 e8 d1 cb ea ff <0f> 0b e8 ca cb ea ff 48 8b 43 10 45 31 ed 48 c7 c7 e8 a4 2f 84 
[   23.409202] RIP: vfs_get_tree+0x10f/0x2e0 RSP: ffff880018c83e18
[   23.409895] ---[ end trace 7d8f303e5dad7e64 ]---


To reproduce:

        git clone https://github.com/intel/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.15.0-rc1-00105-g5aad045" of type "text/plain" (117273 bytes)

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

Download attachment "dmesg.xz" of type "application/x-xz" (16144 bytes)

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ