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:	Wed, 10 Aug 2016 13:39:47 +0800
From:	kernel test robot <xiaolong.ye@...el.com>
To:	"J. Bruce Fields" <bfields@...hat.com>
Cc:	LKML <linux-kernel@...r.kernel.org>,
	Linus Torvalds <torvalds@...ux-foundation.org>, lkp@...org
Subject: [lkp] [nfsd]  b44061d0b9: BUG: Dentry ffff880027d7c540{i=1846f,n=0a}
 still in use (1) [unmount of btrfs vda]


FYI, we noticed the following commit:

https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
commit b44061d0b914c11fb8f8a747c91d111973f56d76 ("nfsd: reorganize nfsd_create")

in testcase: fsmark
with following parameters:

	iterations: 1x
	nr_threads: 32t
	disk: 1HDD
	fs: btrfs
	fs2: nfsv4
	filesize: 9B
	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:


+------------------------------------------------------------------+------------+------------+
|                                                                  | e75b23f9e3 | b44061d0b9 |
+------------------------------------------------------------------+------------+------------+
| boot_successes                                                   | 0          | 4          |
| boot_failures                                                    | 1          | 4          |
| invoked_oom-killer:gfp_mask=0x                                   | 1          |            |
| Mem-Info                                                         | 1          |            |
| Kernel_panic-not_syncing:Out_of_memory_and_no_killable_processes | 1          |            |
| BUG:Dentry_still_in_use                                          | 0          | 4          |
| WARNING:at_fs/dcache.c:#umount_check                             | 0          | 4          |
+------------------------------------------------------------------+------------+------------+



[ 1536.137746] LKP: rebooting
[ 1536.199341] LKP: rebooting
[ 1537.558739] nfsd: last server has exited, flushing export cache
[ 1540.627795] BUG: Dentry ffff880027d7c540{i=1846f,n=0a}  still in use (1) [unmount of btrfs vda]
[ 1540.633915] ------------[ cut here ]------------
[ 1540.636551] WARNING: CPU: 0 PID: 20552 at fs/dcache.c:1474 umount_check+0x72/0x80
[ 1540.644841] Modules linked in: nfsd btrfs xor raid6_pq dm_mod rpcsec_gss_krb5 sg sr_mod cdrom ata_generic pata_acpi ppdev bochs_drm snd_pcm snd_timer ttm snd drm_kms_helper syscopyarea soundcore sysfillrect sysimgblt pcspkr fb_sys_fops ata_piix serio_raw drm libata i2c_piix4 floppy parport_pc parport acpi_cpufreq
[ 1540.681528] CPU: 0 PID: 20552 Comm: umount Not tainted 4.7.0-rc5-00030-gb44061d #32
[ 1540.697710] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS Debian-1.8.2-1 04/01/2014
[ 1540.717155]  0000000000000000 ffff88003ee13cd8 ffffffff813a7abb 0000000000000000
[ 1540.721750]  0000000000000000 ffff88003ee13d18 ffffffff810875eb 000005c23ee13cf0
[ 1540.725103]  ffff880023743180 ffff880027d7c540 ffff880027d7c5d0 ffff880017b63b10
[ 1540.752311] Call Trace:
[ 1540.760760]  [<ffffffff813a7abb>] dump_stack+0x63/0x88
[ 1540.797376]  [<ffffffff810875eb>] __warn+0xcb/0xf0
[ 1540.839298]  [<ffffffff810876dd>] warn_slowpath_null+0x1d/0x20
[ 1540.875981]  [<ffffffff8122d622>] umount_check+0x72/0x80
[ 1540.898427]  [<ffffffff8122d13f>] d_walk+0xcf/0x2f0
[ 1540.901515]  [<ffffffff8122d5b0>] ? dentry_free+0x90/0x90
[ 1540.930318]  [<ffffffff8122ed76>] do_one_tree+0x26/0x40
[ 1540.956367]  [<ffffffff8122ffdd>] shrink_dcache_for_umount+0x2d/0x90
[ 1540.983785]  [<ffffffff812187ef>] generic_shutdown_super+0x1f/0x100
[ 1540.987760]  [<ffffffff81218b62>] kill_anon_super+0x12/0x20
[ 1541.026419]  [<ffffffffa0225d48>] btrfs_kill_super+0x18/0x110 [btrfs]
[ 1541.044125]  [<ffffffff81218d13>] deactivate_locked_super+0x43/0x70
[ 1541.046826]  [<ffffffff812191fa>] deactivate_super+0x5a/0x60
[ 1541.072623]  [<ffffffff8123747f>] cleanup_mnt+0x3f/0x90
[ 1541.086963]  [<ffffffff81237512>] __cleanup_mnt+0x12/0x20
[ 1541.090079]  [<ffffffff810a5368>] task_work_run+0x88/0xc0
[ 1541.109335]  [<ffffffff81003312>] exit_to_usermode_loop+0xc2/0xd0
[ 1541.129011]  [<ffffffff81003c31>] syscall_return_slowpath+0xa1/0xb0
[ 1541.132361]  [<ffffffff81871a7a>] entry_SYSCALL_64_fastpath+0xa2/0xa4
[ 1541.147412] ---[ end trace 3ebad19e2dad7737 ]---
[ 1541.170029] BUG: Dentry ffff880017b63a80{i=16340,n=09}  still in use (1) [unmount of btrfs vda]


FYI, raw QEMU command line is:

	qemu-system-x86_64 -enable-kvm -cpu kvm64,+ssse3 -kernel /pkg/linux/x86_64-rhel-7.2/gcc-6/b44061d0b914c11fb8f8a747c91d111973f56d76/vmlinuz-4.7.0-rc5-00030-gb44061d -append 'ip=::::vm-lkp-wsx03-1G-27::dhcp root=/dev/ram0 user=lkp job=/lkp/scheduled/vm-lkp-wsx03-1G-27/fsmark-1x-32t-1HDD-btrfs-nfsv4-9B-400M-fsyncBeforeClose-16d-256fpd-debian-x86_64-2015-02-07.cgz-b44061d0b914c11fb8f8a747c91d111973f56d76-20160809-118785-33q1m-0.yaml ARCH=x86_64 kconfig=x86_64-rhel-7.2 branch=linux-devel/devel-spot-201608062157 commit=b44061d0b914c11fb8f8a747c91d111973f56d76 BOOT_IMAGE=/pkg/linux/x86_64-rhel-7.2/gcc-6/b44061d0b914c11fb8f8a747c91d111973f56d76/vmlinuz-4.7.0-rc5-00030-gb44061d max_uptime=3600 RESULT_ROOT=/result/fsmark/1x-32t-1HDD-btrfs-nfsv4-9B-400M-fsyncBeforeClose-16d-256fpd/vm-lkp-wsx03-1G/debian-x86_64-2015-02-07.cgz/x86_64-rhel-7.2/gcc-6/b44061d0b914c11fb8f8a747c91d111973f56d76/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-27 -m 1024 -smp 1 -device e1000,netdev=net0 -netdev user,id=net0,hostfwd=tcp::23626-:22 -boot order=nc -no-reboot -watchdog i6300esb -watchdog-action debug -rtc base=localtime -drive file=/fs/sdc1/disk0-vm-lkp-wsx03-1G-27,media=disk,if=virtio -drive file=/fs/sdc1/disk1-vm-lkp-wsx03-1G-27,media=disk,if=virtio -pidfile /dev/shm/kboot/pid-vm-lkp-wsx03-1G-27 -serial file:/dev/shm/kboot/serial-vm-lkp-wsx03-1G-27 -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-00030-gb44061d" of type "text/plain" (152719 bytes)

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

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

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

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ