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-next>] [day] [month] [year] [list]
Date:   Sun, 7 May 2017 17:21:05 +0800
From:   kernel test robot <xiaolong.ye@...el.com>
To:     "Serge E. Hallyn" <serge@...lyn.com>
Cc:     "Eric W. Biederman" <ebiederm@...ssion.com>,
        LKML <linux-kernel@...r.kernel.org>,
        containers@...ts.linux-foundation.org, lkp@...org
Subject: 64fa03de33: BUG:Dentry_still_in_use


FYI, we noticed the following commit:

commit: 64fa03de33691f5d05c729ef3e026a640a7ff835 ("Introduce v3 namespaced file capabilities")
https://git.kernel.org/cgit/linux/kernel/git/ebiederm/user-namespace.git for-testing

in testcase: xfstests
with following parameters:

	disk: 4HDD
	fs: xfs
	test: xfs-quick2

test-description: xfstests is a regression test suite for xfs and other files ystems.
test-url: git://git.kernel.org/pub/scm/fs/xfs/xfstests-dev.git


on test machine: 4 threads Intel(R) Core(TM) i5-2500K CPU @ 3.30GHz with 6G memory

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


+----------------------------------------------------------------+------------+------------+
|                                                                | d66bb1607e | 64fa03de33 |
+----------------------------------------------------------------+------------+------------+
| boot_successes                                                 | 19         | 19         |
| boot_failures                                                  | 1          | 3          |
| BUG:sleeping_function_called_from_invalid_context_at_mm/slab.h | 1          |            |
| BUG:Dentry_still_in_use                                        | 0          | 3          |
| WARNING:at_fs/dcache.c:#umount_check                           | 0          | 3          |
+----------------------------------------------------------------+------------+------------+



[  338.836578] BUG: Dentry ffff88017496bd80{i=80000a1,n=testfile}  still in use (1) [unmount of xfs sda8]
[  338.846785] ------------[ cut here ]------------
[  338.852260] WARNING: CPU: 3 PID: 1937 at fs/dcache.c:1445 umount_check+0x72/0x80
[  338.861916] Modules linked in: loop binfmt_misc dm_mod rpcsec_gss_krb5 auth_rpcgss nfsv4 dns_resolver netconsole btrfs xor raid6_pq sd_mod sg ata_generic snd_hda_codec_hdmi snd_hda_codec_realtek snd_hda_codec_generic pata_acpi intel_rapl x86_pkg_temp_thermal intel_powerclamp coretemp kvm_intel kvm irqbypass crct10dif_pclmul crc32_pclmul snd_hda_intel crc32c_intel ghash_clmulni_intel snd_hda_codec i915 pcbc snd_hda_core snd_hwdep eeepc_wmi snd_pcm asus_wmi sparse_keymap snd_timer drm_kms_helper rfkill ppdev syscopyarea sysfillrect aesni_intel ata_piix pata_via sysimgblt crypto_simd fb_sys_fops glue_helper cryptd pcspkr libata snd wmi soundcore drm shpchp parport_pc parport tpm_infineon video ip_tables [last unloaded: scsi_debug]
[  338.931906] CPU: 3 PID: 1937 Comm: umount Not tainted 4.11.0-rc1-00010-g64fa03d #1
[  338.940587] Hardware name: System manufacturer System Product Name/P8H67-M PRO, BIOS 1002 04/01/2011
[  338.950953] Call Trace:
[  338.954641]  dump_stack+0x63/0x8a
[  338.959196]  __warn+0xcb/0xf0
[  338.963400]  warn_slowpath_null+0x1d/0x20
[  338.968650]  umount_check+0x72/0x80
[  338.973383]  d_walk+0xcf/0x2f0
[  338.977671]  ? dentry_free+0x80/0x80
[  338.982483]  do_one_tree+0x26/0x40
[  338.987126]  shrink_dcache_for_umount+0x2d/0x90
[  338.992898]  generic_shutdown_super+0x1f/0x100
[  338.998592]  kill_block_super+0x27/0x70
[  339.003679]  deactivate_locked_super+0x43/0x70
[  339.009371]  deactivate_super+0x5a/0x60
[  339.014441]  cleanup_mnt+0x3f/0x90
[  339.019086]  __cleanup_mnt+0x12/0x20
[  339.023896]  task_work_run+0x85/0xc0
[  339.028708]  exit_to_usermode_loop+0xaa/0xb0
[  339.034219]  syscall_return_slowpath+0xaa/0xb0
[  339.039894]  entry_SYSCALL_64_fastpath+0xa7/0xa9
[  339.045734] RIP: 0033:0x7fac7e5cd277
[  339.050544] RSP: 002b:00007fff4a8e2f68 EFLAGS: 00000246 ORIG_RAX: 00000000000000a6
[  339.059366] RAX: 0000000000000000 RBX: 0000000001b44080 RCX: 00007fac7e5cd277
[  339.067771] RDX: 0000000000000001 RSI: 0000000000000000 RDI: 0000000001b49490
[  339.076177] RBP: 0000000001b49490 R08: 00626174752f746e R09: 0000000000000020
[  339.084584] R10: 00000000000006b0 R11: 0000000000000246 R12: 00007fac7eacfe44
[  339.092983] R13: 0000000000000000 R14: 0000000001b44260 R15: 00007fff4a8e31f0
[  339.101413] ---[ end trace aee63d62b93c640d ]---


To reproduce:

        git clone https://github.com/01org/lkp-tests.git
        cd lkp-tests
        bin/lkp install job.yaml  # job file is attached in this email
        bin/lkp run     job.yaml



Thanks,
Kernel Test Robot

View attachment "config-4.11.0-rc1-00010-g64fa03d" of type "text/plain" (157941 bytes)

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

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

View attachment "xfstests" of type "text/plain" (2020 bytes)

View attachment "job.yaml" of type "text/plain" (4343 bytes)

View attachment "reproduce" of type "text/plain" (1077 bytes)

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ