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-prev] [day] [month] [year] [list]
Date:   Sun, 29 Oct 2017 22:19:32 +0800
From:   kernel test robot <xiaolong.ye@...el.com>
To:     Fan Du <fan.du@...el.com>
Cc:     akpm@...ux-foundation.org, hch@....de, dan.j.williams@...el.com,
        dave.hansen@...el.com, mhocko@...nel.org,
        linux-kernel@...r.kernel.org, linux-api@...r.kernel.org,
        Fan Du <fan.du@...el.com>, lkp@...org
Subject: [lkp-robot] [proc]  eb948c71f7:
 WARNING:at_mm/hugetlb.c:#hugetlb_add_hstate


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

commit: eb948c71f790f4fd27440895ca19180a78fd3016 ("proc: mm: export PTE sizes directly in smaps")
url: https://github.com/0day-ci/linux/commits/Fan-Du/proc-mm-export-PTE-sizes-directly-in-smaps/20171027-233355


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-i386 -enable-kvm -m 320M

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


+---------------------------------------------+------------+------------+
|                                             | f34157878d | eb948c71f7 |
+---------------------------------------------+------------+------------+
| boot_successes                              | 8          | 0          |
| boot_failures                               | 0          | 8          |
| WARNING:at_mm/hugetlb.c:#hugetlb_add_hstate | 0          | 8          |
| EIP:hugetlb_add_hstate                      | 0          | 8          |
+---------------------------------------------+------------+------------+



[    0.499097] WARNING: CPU: 0 PID: 1 at mm/hugetlb.c:2849 hugetlb_add_hstate+0x146/0x161
[    0.501039] Modules linked in:
[    0.502228] CPU: 0 PID: 1 Comm: swapper/0 Not tainted 4.14.0-rc6-00022-geb948c7 #1
[    0.503064] task: b0138000 task.stack: b012a000
[    0.504067] EIP: hugetlb_add_hstate+0x146/0x161
[    0.505063] EFLAGS: 00210212 CPU: 0
[    0.506064] EAX: 00000000 EBX: 00000001 ECX: 00000000 EDX: 00000001
[    0.507064] ESI: ffc00000 EDI: 00000000 EBP: b012bee4 ESP: b012bed4
[    0.508065]  DS: 007b ES: 007b FS: 00d8 GS: 0000 SS: 0068
[    0.509065] CR0: 80050033 CR2: 00000000 CR3: 01cbe000 CR4: 00000690
[    0.510071] Call Trace:
[    0.511104]  hugetlb_init+0x58/0x4e1
[    0.512129]  ? up_write+0x1b/0x37
[    0.513096]  ? blocking_notifier_chain_register+0x56/0x60
[    0.514069]  ? mm_compute_batch_notifier+0x19/0x19
[    0.515070]  ? hugetlb_init+0x4e1/0x4e1
[    0.516095]  hugetlb_init+0x16/0x1d
[    0.517070]  do_one_initcall+0x80/0x14c
[    0.518130]  ? do_early_param+0x78/0x78
[    0.520096]  ? kernel_init_freeable+0xe7/0x17a
[    0.521191]  ? up_write+0x1b/0x37
[    0.522070]  ? kernel_init_freeable+0xe7/0x17a
[    0.523099]  kernel_init_freeable+0x107/0x17a
[    0.525064]  ? rest_init+0x115/0x115
[    0.526096]  kernel_init+0xd/0xd5
[    0.527094]  ret_from_fork+0x19/0x24
[    0.528165] Code: b3 b1 83 c4 10 31 db 81 7d f0 ff ff 3f 00 6a 00 b8 b8 58 a8 b1 0f 97 c3 31 c9 89 da e8 55 ee 5e ff 81 7d f0 ff ff 3f 00 58 76 02 <0f> ff 6a 00 31 c9 89 da b8 a0 58 a8 b1 e8 39 ee 5e ff 58 8d 65
[    0.532071] ---[ end trace 22f52a911eb8bbac ]---


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.14.0-rc6-00022-geb948c7" of type "text/plain" (118222 bytes)

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

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

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ