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]
Message-ID: <20211218081736.GA1071@xsang-OptiPlex-9020>
Date:   Sat, 18 Dec 2021 16:17:36 +0800
From:   kernel test robot <oliver.sang@...el.com>
To:     Stephen Brennan <stephen.s.brennan@...cle.com>
Cc:     0day robot <lkp@...el.com>,
        Konstantin Khlebnikov <khlebnikov@...dex-team.ru>,
        Gautham Ananthakrishna <gautham.ananthakrishna@...cle.com>,
        LKML <linux-kernel@...r.kernel.org>, lkp@...ts.01.org,
        Alexander Viro <viro@...iv.linux.org.uk>,
        Stephen Brennan <stephen.s.brennan@...cle.com>,
        linux-fsdevel@...r.kernel.org
Subject: [dcache]  5384bd38a8:
 WARNING:at_fs/nfsd/nfsctl.c:#nfsdfs_remove_files[nfsd]



Greeting,

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

commit: 5384bd38a814f1eda1565d3657a8960b477f2a32 ("[PATCH 1/4] dcache: sweep cached negative dentries to the end of list of siblings")
url: https://github.com/0day-ci/linux/commits/Stephen-Brennan/Fix-softlockup-when-adding-inotify-watch/20211214-085541
base: https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git 136057256686de39cc3a07c2e39ef6bc43003ff6
patch link: https://lore.kernel.org/linux-fsdevel/20211214005337.161885-2-stephen.s.brennan@oracle.com

in testcase: fsmark
version: fsmark-x86_64-698ee57-1_20211207
with following parameters:

	iterations: 1x
	nr_threads: 1t
	disk: 1BRD_32G
	fs: xfs
	fs2: nfsv4
	filesize: 4K
	test_size: 4G
	sync_method: fsyncBeforeClose
	nr_files_per_directory: 1fpd
	cpufreq_governor: performance
	ucode: 0xb000280

test-description: The fsmark is a file system benchmark to test synchronous write workloads, for example, mail servers workload.
test-url: https://sourceforge.net/projects/fsmark/


on test machine: 96 threads 2 sockets Ice Lake with 256G memory

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



If you fix the issue, kindly add following tag
Reported-by: kernel test robot <oliver.sang@...el.com>



[   50.611587][ T4039] ------------[ cut here ]------------
[   50.617465][ T4039] WARNING: CPU: 1 PID: 4039 at fs/nfsd/nfsctl.c:1263 nfsdfs_remove_files+0xd7/0x100 [nfsd]
[   50.627806][ T4039] Modules linked in: rpcsec_gss_krb5 nfsv4 dns_resolver nfsd auth_rpcgss xfs dm_mod brd binfmt_misc dax_pmem_compat nd_pmem device_dax nd_btt dax
_pmem_core intel_rapl_msr intel_rapl_common btrfs x86_pkg_temp_thermal blake2b_generic intel_powerclamp xor ipmi_ssif raid6_pq zstd_compress libcrc32c sd_mod coretemp
 sg kvm_intel kvm ast drm_vram_helper drm_ttm_helper irqbypass crct10dif_pclmul crc32_pclmul ttm crc32c_intel ghash_clmulni_intel drm_kms_helper syscopyarea rapl nvme
 sysfillrect sysimgblt ahci intel_cstate fb_sys_fops libahci nvme_core ioatdma intel_uncore drm t10_pi acpi_ipmi joydev libata dca wmi ipmi_si ipmi_devintf ipmi_msgha
ndler nfit libnvdimm acpi_pad acpi_power_meter ip_tables
[   50.693283][ T4039] CPU: 1 PID: 4039 Comm: nfsd Not tainted 5.16.0-rc2-00001-g5384bd38a814 #1
[   50.702314][ T4039] RIP: 0010:nfsdfs_remove_files+0xd7/0x100 [nfsd]
[   50.709102][ T4039] Code: 83 90 00 00 00 48 8d 93 90 00 00 00 48 89 dd 48 2d 90 00 00 00 49 39 d4 74 1b 48 89 c3 48 8b 45 30 48 85 c0 0f 85 6e ff ff ff <0f> 0b eb
d0 ff d2 0f 1f 00 eb 98 5b 5d 41 5c 41 5d 41 5e 41 5f c3
[   50.729570][ T4039] RSP: 0018:ffa0000021eb3ce8 EFLAGS: 00010246
[   50.736017][ T4039] RAX: 0000000000000000 RBX: ff1100012a542f00 RCX: ff1100012a542f80
[   50.744374][ T4039] RDX: ff1100012a543dd0 RSI: ff1100012a542f90 RDI: ff1100012a542dd8
[   50.752717][ T4039] RBP: ff1100012a543d40 R08: ff1100012a542820 R09: ff1100012a542820
[   50.761072][ T4039] R10: 0000000000000067 R11: ff11001fff66a404 R12: ff1100012a542820
[   50.769416][ T4039] R13: ff1100012a542780 R14: 00000000ffffffff R15: 0000000000000000
[   50.777758][ T4039] FS:  0000000000000000(0000) GS:ff11001fff640000(0000) knlGS:0000000000000000
[   50.787070][ T4039] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[   50.794039][ T4039] CR2: 00007f2f9ff8f060 CR3: 000000407ec0a002 CR4: 0000000000771ee0
[   50.802395][ T4039] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
[   50.810740][ T4039] DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
[   50.819092][ T4039] PKRU: 55555554
[   50.823020][ T4039] Call Trace:
[   50.826673][ T4039]  <TASK>
[   50.829982][ T4039]  nfsd_client_rmdir+0x32/0x100 [nfsd]
[   50.835809][ T4039]  free_client+0x9d/0x140 [nfsd]
[   50.841119][ T4039]  __destroy_client+0x1e8/0x240 [nfsd]
[   50.846934][ T4039]  nfsd4_setclientid_confirm+0x21d/0x480 [nfsd]
[   50.853564][ T4039]  nfsd4_proc_compound+0x3ae/0x680 [nfsd]
[   50.859667][ T4039]  nfsd_dispatch+0x146/0x280 [nfsd]
[   50.865223][ T4039]  svc_process_common+0x45a/0x5c0
[   50.870581][ T4039]  ? nfsd_svc+0x340/0x340 [nfsd]
[   50.875859][ T4039]  ? nfsd_shutdown_threads+0xc0/0xc0 [nfsd]
[   50.882093][ T4039]  svc_process+0xb7/0x100
[   50.886742][ T4039]  nfsd+0xf1/0x180 [nfsd]
[   50.891400][ T4039]  kthread+0x157/0x180
[   50.895792][ T4039]  ? set_kthread_struct+0x40/0x40
[   50.901138][ T4039]  ret_from_fork+0x1f/0x30
[   50.905874][ T4039]  </TASK>
[   50.909218][ T4039] ---[ end trace cb473be7fca24e0f ]---



To reproduce:

        git clone https://github.com/intel/lkp-tests.git
        cd lkp-tests
        sudo bin/lkp install job.yaml           # job file is attached in this email
        bin/lkp split-job --compatible job.yaml # generate the yaml file for lkp run
        sudo bin/lkp run generated-yaml-file

        # if come across any failure that blocks the test,
        # please remove ~/.lkp and /lkp dir to run from a clean state.



---
0DAY/LKP+ Test Infrastructure                   Open Source Technology Center
https://lists.01.org/hyperkitty/list/lkp@lists.01.org       Intel Corporation

Thanks,
Oliver Sang


View attachment "config-5.16.0-rc2-00001-g5384bd38a814" of type "text/plain" (173517 bytes)

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

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

View attachment "fsmark" of type "text/plain" (908 bytes)

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

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

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ