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:   Tue, 9 Mar 2021 16:29:48 +0800
From:   kernel test robot <oliver.sang@...el.com>
To:     "Darrick J. Wong" <djwong@...nel.org>
Cc:     LKML <linux-kernel@...r.kernel.org>,
        "Darrick J. Wong" <darrick.wong@...cle.com>, lkp@...ts.01.org,
        lkp@...el.com
Subject: [xfs]  b0e755fa52: Assertion_failed


Greeting,

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

commit: b0e755fa527b79653acf7403b4dd3667a1e181b1 ("xfs: avoid buffer deadlocks when walking fs inodes")
https://git.kernel.org/cgit/linux/kernel/git/djwong/xfs-linux.git random-fixes-5.13


in testcase: xfstests
version: xfstests-x86_64-73c0871-1_20210114
with following parameters:

	disk: 4HDD
	fs: xfs
	test: xfs-group-29
	ucode: 0x21

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) i3-3220 CPU @ 3.30GHz with 8G 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>


[  127.859537] xfs filesystem being mounted at /fs/sdb1 supports timestamps until 2038 (0x7fffffff)
[  128.391109] XFS (sdb4): Mounting V5 Filesystem
[  128.589796] XFS (sdb4): Ending clean mount
[  128.599546] xfs filesystem being mounted at /fs/scratch supports timestamps until 2038 (0x7fffffff)
[  168.060804] XFS (sdb4): xlog_verify_grant_tail: space > BBTOB(tail_blocks)
[  179.686958] XFS: Assertion failed: current->journal_info == NULL, file: fs/xfs/xfs_trans.h, line: 288
[  179.688238] ------------[ cut here ]------------
[  179.689345] kernel BUG at fs/xfs/xfs_message.c:110!
[  179.690338] invalid opcode: 0000 [#1] SMP PTI
[  179.691119] CPU: 3 PID: 11437 Comm: fsstress Not tainted 5.12.0-rc2-00002-gb0e755fa527b #1
[  179.691982] Hardware name: Hewlett-Packard p6-1451cx/2ADA, BIOS 8.15 02/05/2013
[  179.692831] RIP: 0010:assfail (kbuild/src/consumer/fs/xfs/xfs_message.c:110) xfs
[ 179.693715] 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 e8 25 92 c0 e8 82 f9 ff ff 80 3d 37 8f 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 e8 25 92 c0 	mov    $0xffffffffc09225e8,%rsi
  1c:	e8 82 f9 ff ff       	callq  0xfffffffffffff9a3
  21:	80 3d 37 8f 0a 00 00 	cmpb   $0x0,0xa8f37(%rip)        # 0xa8f5f
  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
[  179.695555] RSP: 0018:ffffc9000ef7ba18 EFLAGS: 00010202
[  179.696412] RAX: 0000000000000000 RBX: ffff88820b134f00 RCX: 0000000000000000
[  179.697312] RDX: 00000000ffffffc0 RSI: 000000000000000a RDI: ffffffffc0914896
[  179.698204] RBP: ffff88821ad9d000 R08: 0000000000000000 R09: 0000000000000000
[  179.699084] R10: 000000000000000a R11: f000000000000000 R12: ffff88821ad9d2fc
[  179.699969] R13: 0000000000000001 R14: ffff888212eeb800 R15: 0000000000000000
[  179.700855] FS:  00007ff1a2561b80(0000) GS:ffff88821fb80000(0000) knlGS:0000000000000000
[  179.701755] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[  179.702608] CR2: 000055ae5f5c5000 CR3: 000000020b12e001 CR4: 00000000001706e0
[  179.703502] Call Trace:
[  179.704319] xfs_trans_alloc (kbuild/src/consumer/fs/xfs/xfs_trans.h:288 kbuild/src/consumer/fs/xfs/xfs_trans.c:269) xfs
[  179.705246] xfs_inactive_truncate (kbuild/src/consumer/fs/xfs/xfs_inode.c:1534) xfs
[  179.706175] xfs_inactive (kbuild/src/consumer/fs/xfs/xfs_inode.c:1733) xfs
[  179.707084] xfs_fs_destroy_inode (kbuild/src/consumer/fs/xfs/xfs_super.c:649) xfs
[  179.708007] destroy_inode (kbuild/src/consumer/fs/inode.c:285) 


To reproduce:

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



---
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.12.0-rc2-00002-gb0e755fa527b" of type "text/plain" (172899 bytes)

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

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

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

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ