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: <20170615025704.GA14017@yexl-desktop>
Date:   Thu, 15 Jun 2017 10:57:04 +0800
From:   kernel test robot <xiaolong.ye@...el.com>
To:     David Howells <dhowells@...hat.com>
Cc:     LKML <linux-kernel@...r.kernel.org>,
        David Howells <dhowells@...hat.com>, lkp@...org
Subject: [lkp-robot] [VFS]  de93c3928b:
 BUG:stack_guard_page_was_hit_at#(stack_is#..#)


FYI, we noticed the following commit:

commit: de93c3928ba3cf125471a8f970b0c4340db01c70 ("VFS: Implement a filesystem superblock creation/configuration 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 -smp 2 -m 512M

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


+------------------------------------------------+------------+------------+
|                                                | 0da2d2ae58 | de93c3928b |
+------------------------------------------------+------------+------------+
| boot_successes                                 | 12         | 0          |
| boot_failures                                  | 0          | 11         |
| BUG:stack_guard_page_was_hit_at#(stack_is#..#) | 0          | 11         |
| Kernel_panic-not_syncing:Fatal_exception       | 0          | 11         |
+------------------------------------------------+------------+------------+



[    0.816900] BUG: stack guard page was hit at ffffc0314000c000 (stack is ffffc03140008000..ffffc0314000bfff)
[    0.818601] kernel stack overflow (page fault): 0000 [#1] PREEMPT SMP
[    0.819663] CPU: 0 PID: 1 Comm: swapper/0 Not tainted 4.12.0-rc4-00132-gde93c39 #62
[    0.820630] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.9.3-20161025_171302-gandalf 04/01/2014
[    0.821904] task: ffffa242c0058000 task.stack: ffffc03140008000
[    0.822687] RIP: 0010:legacy_monolithic_mount_data+0x61/0x96
[    0.823408] RSP: 0000:ffffc0314000bdb8 EFLAGS: 00010246
[    0.824065] RAX: ffffa242de17a000 RBX: ffffa242de161400 RCX: 000000000000038e
[    0.824967] RDX: ffffa242de17a000 RSI: ffffc0314000bffe RDI: ffffa242de17a1c8
[    0.825862] RBP: ffffc0314000bdd0 R08: 00000000001db3f0 R09: 0000000000000000
[    0.826792] R10: 0000000000000290 R11: ffffc0314000be3f R12: 0000000000000000
[    0.827703] R13: ffffc0314000be36 R14: ffffffffbf2fc7e0 R15: 0000000000000800
[    0.828603] FS:  0000000000000000(0000) GS:ffffa242de800000(0000) knlGS:0000000000000000
[    0.829613] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[    0.830370] CR2: ffffc0314000c000 CR3: 0000000006416000 CR4: 00000000000006f0
[    0.831269] Call Trace:
[    0.831587]  parse_monolithic_mount_data+0x1b/0x1d
[    0.832202]  vfs_kern_mount+0x47/0xaf
[    0.832666]  kern_mount_data+0x14/0x29
[    0.833140]  init_hugetlbfs_fs+0xdb/0x152
[    0.833667]  ? proc_create_data+0x81/0x9a
[    0.834172]  ? init_ramfs_fs+0x20/0x20
[    0.834764]  ? set_debug_rodata+0x12/0x12
[    0.835347]  do_one_initcall+0x8b/0x132
[    0.835869]  ? set_debug_rodata+0x12/0x12
[    0.836416]  kernel_init_freeable+0x1ae/0x233
[    0.837017]  ? rest_init+0xb9/0xb9
[    0.837464]  kernel_init+0x9/0xe6
[    0.837917]  ret_from_fork+0x25/0x30
[    0.838528] Code: e8 08 14 29 00 eb 4f 45 31 e4 48 85 f6 49 89 f5 74 44 48 83 7f 50 00 48 89 fb 74 1a b9 00 04 00 00 48 8b 7b 50 4c 89 ee 45 31 e4 <f3> a5 c7 43 60 00 10 00 00 eb 20 48 8b 3d 31 a9 16 02 be c0 00 
[    0.841133] RIP: legacy_monolithic_mount_data+0x61/0x96 RSP: ffffc0314000bdb8
[    0.842083] ---[ end trace 78d2cc80a128660c ]---


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-rc4-00132-gde93c39" of type "text/plain" (123301 bytes)

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

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

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ