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:	Wed, 3 Aug 2016 09:41:17 +0800
From:	kernel test robot <xiaolong.ye@...el.com>
To:	"J. Bruce Fields" <bfields@...hat.com>
Cc:	LKML <linux-kernel@...r.kernel.org>,
	Stephen Rothwell <sfr@...b.auug.org.au>, lkp@...org
Subject: [lkp] [nfsd]  28c04ce321: BUG: Dentry
 ffff880038acd600{i=200e32a6,n=0c}  still in use (1) [unmount of xfs vda]


FYI, we noticed the following commit:

https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master
commit 28c04ce321a04dd090b1bc12ac3279fae323d2bc ("nfsd: reorganize nfsd_create")

in testcase: fsmark
with following parameters:

	iterations: 1x
	nr_threads: 32t
	disk: 1HDD
	fs: xfs
	fs2: nfsv4
	filesize: 8K
	test_size: 400M
	sync_method: fsyncBeforeClose
	nr_directories: 16d
	nr_files_per_directory: 256fpd


on test machine: 1 threads qemu-system-x86_64 -enable-kvm -cpu kvm64,+ssse3 with 1G memory

caused below changes:


+------------------------------------------------------------------+------------+------------+
|                                                                  | 59bb7733c9 | 28c04ce321 |
+------------------------------------------------------------------+------------+------------+
| boot_successes                                                   | 4          | 0          |
| boot_failures                                                    | 3          | 8          |
| BUG:kernel_early-boot_hang                                       | 1          |            |
| invoked_oom-killer:gfp_mask=0x                                   | 2          | 4          |
| Mem-Info                                                         | 2          | 4          |
| Kernel_panic-not_syncing:Out_of_memory_and_no_killable_processes | 2          | 4          |
| BUG:Dentry_still_in_use                                          | 0          | 4          |
| WARNING:at_fs/dcache.c:#umount_check                             | 0          | 4          |
+------------------------------------------------------------------+------------+------------+



[  279.854823] LKP: rebooting
[  279.857447] 
[  280.391973] nfsd: last server has exited, flushing export cache
[  281.946617] BUG: Dentry ffff880038acd600{i=200e32a6,n=0c}  still in use (1) [unmount of xfs vda]
[  281.946619] ------------[ cut here ]------------
[  281.946650] WARNING: CPU: 0 PID: 3415 at fs/dcache.c:1474 umount_check+0x72/0x80
[  281.946717] Modules linked in: nfsd dm_mod rpcsec_gss_krb5 auth_rpcgss nfsv4 dns_resolver snd_pcm snd_timer snd soundcore sg sr_mod cdrom ata_generic pata_acpi ppdev crc32c_intel pcspkr ata_piix serio_raw libata i2c_piix4 parport_pc floppy parport acpi_cpufreq
[  281.946742] CPU: 0 PID: 3415 Comm: umount Not tainted 4.7.0-rc5-00029-g28c04ce #1
[  281.946744] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS Debian-1.8.2-1 04/01/2014
[  281.946749]  0000000000000000 ffff88003e167cf0 ffffffff814364ab 0000000000000000
[  281.946752]  0000000000000000 ffff88003e167d30 ffffffff8107d3fb 000005c23e167d08
[  281.946776]  ffff88003f6963c0 ffff880038acd600 ffff880038acd690 ffff8800071e1810
[  281.946777] Call Trace:
[  281.946808]  [<ffffffff814364ab>] dump_stack+0x63/0x88
[  281.946815]  [<ffffffff8107d3fb>] __warn+0xcb/0xf0
[  281.946839]  [<ffffffff8107d4ed>] warn_slowpath_null+0x1d/0x20
[  281.946843]  [<ffffffff81218962>] umount_check+0x72/0x80
[  281.946846]  [<ffffffff8121847f>] d_walk+0xcf/0x2f0
[  281.946850]  [<ffffffff812188f0>] ? dentry_free+0x90/0x90
[  281.946874]  [<ffffffff8121a0b6>] do_one_tree+0x26/0x40
[  281.946877]  [<ffffffff8121b31d>] shrink_dcache_for_umount+0x2d/0x90
[  281.946882]  [<ffffffff812039af>] generic_shutdown_super+0x1f/0x100
[  281.947004]  [<ffffffff81203d97>] kill_block_super+0x27/0x70
[  281.947008]  [<ffffffff81203ed3>] deactivate_locked_super+0x43/0x70
[  281.947011]  [<ffffffff812043ba>] deactivate_super+0x5a/0x60
[  281.947036]  [<ffffffff812227bf>] cleanup_mnt+0x3f/0x90
[  281.947040]  [<ffffffff81222852>] __cleanup_mnt+0x12/0x20
[  281.947066]  [<ffffffff8109b138>] task_work_run+0x88/0xc0
[  281.947071]  [<ffffffff81003312>] exit_to_usermode_loop+0xc2/0xd0
[  281.947074]  [<ffffffff81003c31>] syscall_return_slowpath+0xa1/0xb0
[  281.947100]  [<ffffffff8191bd7a>] entry_SYSCALL_64_fastpath+0xa2/0xa4
[  281.947103] ---[ end trace c6be03d626f02474 ]---
[  281.947106] BUG: Dentry ffff8800071e1780{i=200d29e9,n=0b}  still in use (1) [unmount of xfs vda]


FYI, raw QEMU command line is:

	qemu-system-x86_64 -enable-kvm -cpu host -kernel /pkg/linux/x86_64-rhel/gcc-6/28c04ce321a04dd090b1bc12ac3279fae323d2bc/vmlinuz-4.7.0-rc5-00029-g28c04ce -append 'ip=::::vm-lkp-wsx03-1G-19::dhcp root=/dev/ram0 user=lkp job=/lkp/scheduled/vm-lkp-wsx03-1G-19/fsmark-1x-32t-1HDD-xfs-nfsv4-8K-400M-fsyncBeforeClose-16d-256fpd-debian-x86_64-2015-02-07.cgz-28c04ce321a04dd090b1bc12ac3279fae323d2bc-20160802-109338-10an6qj-0.yaml ARCH=x86_64 kconfig=x86_64-rhel branch=linux-devel/devel-catchup-201608020441 commit=28c04ce321a04dd090b1bc12ac3279fae323d2bc BOOT_IMAGE=/pkg/linux/x86_64-rhel/gcc-6/28c04ce321a04dd090b1bc12ac3279fae323d2bc/vmlinuz-4.7.0-rc5-00029-g28c04ce max_uptime=3600 RESULT_ROOT=/result/fsmark/1x-32t-1HDD-xfs-nfsv4-8K-400M-fsyncBeforeClose-16d-256fpd/vm-lkp-wsx03-1G/debian-x86_64-2015-02-07.cgz/x86_64-rhel/gcc-6/28c04ce321a04dd090b1bc12ac3279fae323d2bc/0 LKP_SERVER=inn debug apic=debug sysrq_always_enabled rcupdate.rcu_cpu_stall_timeout=100 panic=-1 softlockup_panic=1 nmi_watchdog=panic oops=panic load_ramdisk=2 prompt_ramdisk=0 systemd.log_level=err ignore_loglevel earlyprintk=ttyS0,115200 console=ttyS0,115200 console=tty0 vga=normal rw'  -initrd /fs/sdc1/initrd-vm-lkp-wsx03-1G-19 -m 1024 -smp 1 -device e1000,netdev=net0 -netdev user,id=net0,hostfwd=tcp::23618-:22 -boot order=nc -no-reboot -watchdog i6300esb -rtc base=localtime -drive file=/fs/sdc1/disk0-vm-lkp-wsx03-1G-19,media=disk,if=virtio -drive file=/fs/sdc1/disk1-vm-lkp-wsx03-1G-19,media=disk,if=virtio -pidfile /dev/shm/kboot/pid-vm-lkp-wsx03-1G-19 -serial file:/dev/shm/kboot/serial-vm-lkp-wsx03-1G-19 -daemonize -display none -monitor null 


To reproduce:

        git clone git://git.kernel.org/pub/scm/linux/kernel/git/wfg/lkp-tests.git
        cd lkp-tests
        bin/lkp install job.yaml  # job file is attached in this email
        bin/lkp run     job.yaml



Thanks,
Xiaolong

View attachment "config-4.7.0-rc5-00029-g28c04ce" of type "text/plain" (151367 bytes)

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

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

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

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ