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, 7 Feb 2022 15:45:48 +0800
From:   kernel test robot <oliver.sang@...el.com>
To:     Allison Henderson <allison.henderson@...cle.com>
Cc:     lkp@...ts.01.org, lkp@...el.com,
        LKML <linux-kernel@...r.kernel.org>
Subject: [xfs]  5fad9cb9d3: Assertion_failed



Greeting,

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

commit: 5fad9cb9d34c53dd988d73c1f8141ce2bb828c1a ("xfs: Add xfs_attr_set_deferred and xfs_attr_remove_deferred")
https://github.com/allisonhenderson/xfs_work.git delayed_attrs_v26_extended

in testcase: stress-ng
version: stress-ng-x86_64-0.11-06_20220205
with following parameters:

	nr_threads: 10%
	disk: 1HDD
	testtime: 60s
	fs: xfs
	class: filesystem
	test: xattr
	cpufreq_governor: performance
	ucode: 0xb000280



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>


[   56.361843][ T1263] stress-ng: info:  [5792] setting to a 60 second run per stressor
[   56.361846][ T1263]
[   56.367397][ T5792] Scheduler tracepoints stat_sleep, stat_iowait, stat_blocked and stat_runtime require the kernel parameter schedstats=enable or kernel.sched_schedstats=1
[   56.390410][ T1263] stress-ng: info:  [5792] dispatching hogs: 9 xattr
[   56.390422][ T1263]
[   57.104395][ T5796] XFS: Assertion failed: !list_empty(&cil->xc_cil), file: fs/xfs/xfs_log_cil.c, line: 1164
[   57.114585][ T5796] ------------[ cut here ]------------
[   57.120243][ T5796] kernel BUG at fs/xfs/xfs_message.c:110!
[   57.126159][ T5796] invalid opcode: 0000 [#1] SMP NOPTI
[   57.131713][ T5796] CPU: 57 PID: 5796 Comm: stress-ng Not tainted 5.16.0-rc5-00026-g5fad9cb9d34c #1
[   57.141115][ T5796] Hardware name: Intel Corporation WilsonCity/WilsonCity, BIOS WLYDCRB1.SYS.0020.P83.2103020740 03/02/2021
[ 57.152689][ T5796] RIP: 0010:assfail (kbuild/src/consumer/fs/xfs/./xfs_trace.h:247) xfs
[ 57.158213][ T5796] Code: 67 fc ff ff 0f 0b c3 0f 1f 44 00 00 41 89 c8 48 89 d1 48 89 f2 48 c7 c6 d0 44 00 c1 e8 82 f9 ff ff 80 3d 42 c2 0a 00 00 74 02 <0f> 0b 0f 0b c3 48 8d 45 10 48 89 e2 4c 89 e6 48 89 1c 24 48 89 44
All code
========
   0:	67 fc                	addr32 cld 
   2:	ff                   	(bad)  
   3:	ff 0f                	decl   (%rdi)
   5:	0b c3                	or     %ebx,%eax
   7:	0f 1f 44 00 00       	nopl   0x0(%rax,%rax,1)
   c:	41 89 c8             	mov    %ecx,%r8d
   f:	48 89 d1             	mov    %rdx,%rcx
  12:	48 89 f2             	mov    %rsi,%rdx
  15:	48 c7 c6 d0 44 00 c1 	mov    $0xffffffffc10044d0,%rsi
  1c:	e8 82 f9 ff ff       	callq  0xfffffffffffff9a3
  21:	80 3d 42 c2 0a 00 00 	cmpb   $0x0,0xac242(%rip)        # 0xac26a
  28:	74 02                	je     0x2c
  2a:*	0f 0b                	ud2    		<-- trapping instruction
  2c:	0f 0b                	ud2    
  2e:	c3                   	retq   
  2f:	48 8d 45 10          	lea    0x10(%rbp),%rax
  33:	48 89 e2             	mov    %rsp,%rdx
  36:	4c 89 e6             	mov    %r12,%rsi
  39:	48 89 1c 24          	mov    %rbx,(%rsp)
  3d:	48                   	rex.W
  3e:	89                   	.byte 0x89
  3f:	44                   	rex.R

Code starting with the faulting instruction
===========================================
   0:	0f 0b                	ud2    
   2:	0f 0b                	ud2    
   4:	c3                   	retq   
   5:	48 8d 45 10          	lea    0x10(%rbp),%rax
   9:	48 89 e2             	mov    %rsp,%rdx
   c:	4c 89 e6             	mov    %r12,%rsi
   f:	48 89 1c 24          	mov    %rbx,(%rsp)
  13:	48                   	rex.W
  14:	89                   	.byte 0x89
  15:	44                   	rex.R
[   57.178473][ T5796] RSP: 0018:ffa0000025e17b38 EFLAGS: 00010202
[   57.184812][ T5796] RAX: 0000000000000000 RBX: ff110001083a9d00 RCX: 0000000000000000
[   57.193078][ T5796] RDX: 00000000ffffffc0 RSI: 000000000000000a RDI: ffffffffc0ff6598
[   57.201345][ T5796] RBP: ff110001248c10f0 R08: ff11001fffe5bb60 R09: 0000000000000000
[   57.209613][ T5796] R10: 000000000000000a R11: f000000000000000 R12: 0000000000000005
[   57.217898][ T5796] R13: ff110001248c1100 R14: 0000000000000000 R15: ff110001083a9d00
[   57.226187][ T5796] FS:  00007f0f494cb740(0000) GS:ff11001fffe40000(0000) knlGS:0000000000000000
[   57.235438][ T5796] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[   57.242349][ T5796] CR2: 000055e1786f5000 CR3: 00000001b3a78001 CR4: 0000000000771ee0
[   57.250644][ T5796] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
[   57.258941][ T5796] DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
[   57.267232][ T5796] PKRU: 55555554
[   57.271099][ T5796] Call Trace:
[   57.274690][ T5796]  <TASK>
[ 57.277947][ T5796] xlog_cil_commit (kbuild/src/consumer/fs/xfs/xfs_log_cil.c:1164 kbuild/src/consumer/fs/xfs/xfs_log_cil.c:1339) xfs
[ 57.283609][ T5796] __xfs_trans_commit (kbuild/src/consumer/fs/xfs/xfs_trans.c:883) xfs
[ 57.289445][ T5796] xfs_attr_set (kbuild/src/consumer/fs/xfs/libxfs/xfs_attr.c:851) xfs
[ 57.294836][ T5796] xfs_xattr_set (kbuild/src/consumer/fs/xfs/xfs_xattr.c:60) xfs


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-rc5-00026-g5fad9cb9d34c" of type "text/plain" (173448 bytes)

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

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

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

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ