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:   Mon, 9 Oct 2017 10:46:49 +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] [hugetlbfs]  a6526e072b:
 BUG_hugetlbfs_inode_cache(Not_tainted):Objects_remaining_in_hugetlbfs_inode_cache_on__kmem_cache_shutdown()


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

commit: a6526e072b5fe1b8e8cfcb634a34cba0b249d120 ("hugetlbfs: Convert to fs_context")
https://git.kernel.org/cgit/linux/kernel/git/dhowells/linux-fs.git mount-context

in testcase: boot

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

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


+-------------------------------------------------------------------------------------------------------------+------------+------------+
|                                                                                                             | 54b4026cec | a6526e072b |
+-------------------------------------------------------------------------------------------------------------+------------+------------+
| boot_successes                                                                                              | 0          | 4          |
| boot_failures                                                                                               | 41         | 55         |
| BUG:stack_guard_page_was_hit_at#(stack_is#..#)                                                              | 41         |            |
| Kernel_panic-not_syncing:Fatal_exception                                                                    | 41         |            |
| BUG:kernel_hang_in_test_stage                                                                               | 1          |            |
| BUG:kernel_hang_in_early-boot_stage,last_printk                                                             | 2          |            |
| BUG:kernel_in_stage                                                                                         | 3          |            |
| BUG_hugetlbfs_inode_cache(Not_tainted):Objects_remaining_in_hugetlbfs_inode_cache_on__kmem_cache_shutdown() | 0          | 55         |
| INFO:Slab#objects=#used=#fp=#flags=                                                                         | 0          | 55         |
| INFO:Object#@...set=                                                                                        | 0          | 55         |
+-------------------------------------------------------------------------------------------------------------+------------+------------+



[    0.130495] hpet0: 3 comparators, 64-bit 100.000000 MHz counter
[    0.135031] clocksource: Switched to clocksource kvm-clock
[    0.145593] VFS: Disk quotas dquot_6.6.0
[    0.146036] VFS: Dquot-cache hash table entries: 512 (order 0, 4096 bytes)
[    0.146700] =============================================================================
[    0.147019] BUG hugetlbfs_inode_cache (Not tainted): Objects remaining in hugetlbfs_inode_cache on __kmem_cache_shutdown()
[    0.147019] -----------------------------------------------------------------------------
[    0.147019] 
[    0.147019] Disabling lock debugging due to kernel taint
[    0.147019] INFO: Slab 0xffffea00002a2a00 objects=13 used=1 fp=0xffff88000a8a9d40 flags=0xfffffc0008100
[    0.147019] CPU: 0 PID: 1 Comm: swapper/0 Tainted: G    B           4.14.0-rc3-00217-ga6526e0 #1
[    0.147019] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.10.2-1 04/01/2014
[    0.147019] Call Trace:
[    0.147019]  dump_stack+0x63/0x86
[    0.147019]  slab_err+0x9e/0xb0
[    0.147019]  ? free_cpumask_var+0x9/0x10
[    0.147019]  ? on_each_cpu_cond+0xb7/0x150
[    0.147019]  ? __kmalloc+0x1d5/0x210
[    0.147019]  __kmem_cache_shutdown+0x1b7/0x3d0
[    0.147019]  ? pcpu_alloc+0x2bf/0x610
[    0.147019]  shutdown_cache+0x20/0x1c0
[    0.147019]  kmem_cache_destroy+0x1ce/0x200
[    0.147019]  init_hugetlbfs_fs+0x92/0x163
[    0.147019]  ? init_ramfs_fs+0x25/0x25
[    0.147019]  ? set_debug_rodata+0x17/0x17
[    0.147019]  do_one_initcall+0x43/0x170
[    0.147019]  ? set_debug_rodata+0x17/0x17
[    0.147019]  kernel_init_freeable+0x198/0x220
[    0.147019]  ? rest_init+0xd0/0xd0
[    0.147019]  kernel_init+0xe/0x101
[    0.147019]  ret_from_fork+0x25/0x30
[    0.147019] INFO: Object 0xffff88000a8a8000 @offset=0
[    0.171667] kmem_cache_destroy hugetlbfs_inode_cache: Slab cache still has objects
[    0.172452] CPU: 0 PID: 1 Comm: swapper/0 Tainted: G    B           4.14.0-rc3-00217-ga6526e0 #1
[    0.173293] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.10.2-1 04/01/2014
[    0.173449] Call Trace:
[    0.173449]  dump_stack+0x63/0x86
[    0.173449]  kmem_cache_destroy+0x1ec/0x200
[    0.173449]  init_hugetlbfs_fs+0x92/0x163
[    0.173449]  ? init_ramfs_fs+0x25/0x25
[    0.173449]  ? set_debug_rodata+0x17/0x17
[    0.173449]  do_one_initcall+0x43/0x170
[    0.173449]  ? set_debug_rodata+0x17/0x17
[    0.173449]  kernel_init_freeable+0x198/0x220
[    0.173449]  ? rest_init+0xd0/0xd0
[    0.173449]  kernel_init+0xe/0x101
[    0.173449]  ret_from_fork+0x25/0x30
[    0.178787] pnp: PnP ACPI init
[    0.179179] pnp 00:00: Plug and Play ACPI device, IDs PNP0b00 (active)
[    0.179834] pnp 00:01: Plug and Play ACPI device, IDs PNP0303 (active)
[    0.180479] pnp 00:02: Plug and Play ACPI device, IDs PNP0f13 (active)
[    0.181114] pnp 00:03: [dma 2]


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-rc3-00217-ga6526e0" of type "text/plain" (163211 bytes)

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

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

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ