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:   Tue, 12 Jul 2022 15:20:08 +0800
From:   kernel test robot <oliver.sang@...el.com>
To:     "Darrick J. Wong" <djwong@...nel.org>
Cc:     Dave Chinner <dchinner@...hat.com>,
        LKML <linux-kernel@...r.kernel.org>, linux-xfs@...r.kernel.org,
        lkp@...ts.01.org, lkp@...el.com
Subject: [xfs]  47a6df7cd3: Assertion_failed



Greeting,

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

commit: 47a6df7cd3174b91c6c862eae0b8d4e13591df52 ("xfs: shut down filesystem if we xfs_trans_cancel with deferred work items")
https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git master

in testcase: xfstests
version: xfstests-x86_64-c1144bf-1_20220704
with following parameters:

	disk: 4HDD
	fs: xfs
	test: xfs-group-07
	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 1 sockets 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>


[   94.271323][ T9089] XFS (sda5): Mounting V5 Filesystem
[   94.369992][ T9089] XFS (sda5): Ending clean mount
[   94.376046][ T9089] xfs filesystem being mounted at /fs/scratch supports timestamps until 2038 (0x7fffffff)
[  112.154792][  T311] xfs/076       IPMI BMC is not supported on this machine, skip bmc-watchdog setup!
[  112.154805][  T311]
[  161.426026][T29384] XFS: Assertion failed: xfs_is_shutdown(mp) || list_empty(&tp->t_dfops), file: fs/xfs/xfs_trans.c, line: 951
[  161.437713][T29384] ------------[ cut here ]------------
[  161.443155][T29384] kernel BUG at fs/xfs/xfs_message.c:110!
[  161.448854][T29384] invalid opcode: 0000 [#1] SMP KASAN PTI
[  161.454536][T29384] CPU: 1 PID: 29384 Comm: touch Not tainted 5.16.0-rc5-00001-g47a6df7cd317 #1
[  161.463337][T29384] Hardware name: Hewlett-Packard HP Pro 3340 MT/17A1, BIOS 8.07 01/24/2013
[161.471891][T29384] RIP: 0010:assfail (kbuild/src/consumer/fs/xfs/./xfs_trace.h:2125 (discriminator 6)) xfs
[ 161.477179][T29384] Code: c1 e2 2a 83 e0 07 48 c1 e9 03 8a 14 11 38 c2 7f 10 84 d2 74 0c 48 c7 c7 cc 1a 03 c2 e8 d7 c9 a1 bf 80 3d 1c 1f 1a 00 00 74 02 <0f> 0b 0f 0b c3 48 8d 45 10 48 8d 54 24 28 4c 89 f6 48 c7 c7 80 63
All code
========
   0:	c1 e2 2a             	shl    $0x2a,%edx
   3:	83 e0 07             	and    $0x7,%eax
   6:	48 c1 e9 03          	shr    $0x3,%rcx
   a:	8a 14 11             	mov    (%rcx,%rdx,1),%dl
   d:	38 c2                	cmp    %al,%dl
   f:	7f 10                	jg     0x21
  11:	84 d2                	test   %dl,%dl
  13:	74 0c                	je     0x21
  15:	48 c7 c7 cc 1a 03 c2 	mov    $0xffffffffc2031acc,%rdi
  1c:	e8 d7 c9 a1 bf       	callq  0xffffffffbfa1c9f8
  21:	80 3d 1c 1f 1a 00 00 	cmpb   $0x0,0x1a1f1c(%rip)        # 0x1a1f44
  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 8d 54 24 28       	lea    0x28(%rsp),%rdx
  38:	4c 89 f6             	mov    %r14,%rsi
  3b:	48                   	rex.W
  3c:	c7                   	.byte 0xc7
  3d:	c7                   	.byte 0xc7
  3e:	80                   	.byte 0x80
  3f:	63                   	.byte 0x63

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 8d 54 24 28       	lea    0x28(%rsp),%rdx
   e:	4c 89 f6             	mov    %r14,%rsi
  11:	48                   	rex.W
  12:	c7                   	.byte 0xc7
  13:	c7                   	.byte 0xc7
  14:	80                   	.byte 0x80
  15:	63                   	.byte 0x63
[  161.496921][T29384] RSP: 0018:ffffc9000e52f640 EFLAGS: 00010202
[  161.502959][T29384] RAX: 0000000000000004 RBX: ffff8882083ee448 RCX: 1ffffffff8406359
[  161.510906][T29384] RDX: dffffc0000000000 RSI: dffffc0000000000 RDI: fffff52001ca5eba
[  161.518852][T29384] RBP: ffff8882083ee378 R08: ffffc9000e52f4d0 R09: ffff8881a5cb3a07
[  161.526791][T29384] R10: ffffed1034b96740 R11: 0000000000000001 R12: ffff88820c2ee000
[  161.534739][T29384] R13: ffff88820c2ee468 R14: ffff8882083ee394 R15: 0000000000000005
[  161.542662][T29384] FS:  00007fa30092b5c0(0000) GS:ffff8881a5c80000(0000) knlGS:0000000000000000
[  161.551525][T29384] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[  161.558075][T29384] CR2: 00007fa300849e60 CR3: 0000000212c78006 CR4: 00000000001706e0
[  161.566059][T29384] Call Trace:
[  161.569247][T29384]  <TASK>
[161.572091][T29384] xfs_trans_cancel (kbuild/src/consumer/fs/xfs/xfs_trans.c:951 (discriminator 2)) xfs
[161.577535][T29384] xfs_create (kbuild/src/consumer/fs/xfs/xfs_inode.c:1104) xfs
[161.582457][T29384] ? xfs_irele (kbuild/src/consumer/fs/xfs/xfs_inode.c:966) xfs
[161.587475][T29384] ? get_cached_acl_rcu (kbuild/src/consumer/fs/posix_acl.c:40) 


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.



-- 
0-DAY CI Kernel Test Service
https://01.org/lkp



View attachment "config-5.16.0-rc5-00001-g47a6df7cd317" of type "text/plain" (163582 bytes)

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

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

View attachment "xfstests" of type "text/plain" (21832 bytes)

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

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

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ