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 for Android: free password hash cracker in your pocket
[<prev] [next>] [day] [month] [year] [list]
Date:   Thu, 26 Nov 2020 22:00:09 +0800
From:   kernel test robot <oliver.sang@...el.com>
To:     Jens Axboe <axboe@...nel.dk>
Cc:     0day robot <lkp@...el.com>, LKML <linux-kernel@...r.kernel.org>,
        lkp@...ts.01.org, Christoph Hellwig <hch@....de>,
        "Darrick J. Wong" <darrick.wong@...cle.com>,
        linux-fsdevel <linux-fsdevel@...r.kernel.org>
Subject: [iomap]  b258228a4e: Assertion_failed


Greeting,

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

commit: b258228a4ec66c542edd16af8ea06e997a2e5589 ("[PATCH RFC] iomap: only return IO error if no data has been transferred")
url: https://github.com/0day-ci/linux/commits/Jens-Axboe/iomap-only-return-IO-error-if-no-data-has-been-transferred/20201118-062119
base: https://git.kernel.org/cgit/fs/xfs/xfs-linux.git for-next

in testcase: xfstests
version: xfstests-x86_64-d41dcbd-1_20201116
with following parameters:

	disk: 4HDD
	fs: xfs
	test: xfs-reflink-22
	ucode: 0x28

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: 8 threads Intel(R) Core(TM) i7-4790 v3 @ 3.60GHz with 6G 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>


[   36.688664] 
[   36.693804] xfs/441	 3s
[   36.693805] 
[   86.291072] xfs/442	IPMI BMC is not supported on this machine, skip bmc-watchdog setup!
[   86.291075] 
[  272.280685] XFS: Assertion failed: ret < 0 || ret == count, file: fs/xfs/xfs_file.c, line: 595
[  272.289788] ------------[ cut here ]------------
[  272.294895] kernel BUG at fs/xfs/xfs_message.c:110!
[  272.300258] invalid opcode: 0000 [#1] SMP PTI
[  272.305092] CPU: 2 PID: 3718 Comm: fsstress Not tainted 5.10.0-rc1-00013-gb258228a4ec6 #1
[  272.313750] Hardware name: Dell Inc. OptiPlex 9020/03CPWF, BIOS A11 04/01/2015
[  272.321515] RIP: 0010:assfail+0x23/0x28 [xfs]
[  272.326364] 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 55 a6 c0 e8 82 f9 ff ff 80 3d 99 75 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
[  272.346124] RSP: 0018:ffffc9000294bc48 EFLAGS: 00010202
[  272.351882] RAX: 0000000000000000 RBX: 0000000000000001 RCX: 0000000000000000
[  272.359549] RDX: 00000000ffffffc0 RSI: 000000000000000a RDI: ffffffffc0a57aaf
[  272.367187] RBP: ffff888015e11400 R08: 0000000000000000 R09: 0000000000000000
[  272.374851] R10: 000000000000000a R11: f000000000000000 R12: 0000000000008e00
[  272.382518] R13: 000000000000a400 R14: ffff888020809f00 R15: ffffc9000294bcc8
[  272.390201] FS:  00007f9376915b80(0000) GS:ffff88819ea80000(0000) knlGS:0000000000000000
[  272.398818] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[  272.405077] CR2: 00007f9376914000 CR3: 00000001935a8004 CR4: 00000000001706e0
[  272.412739] Call Trace:
[  272.415775]  xfs_file_dio_aio_write+0x152/0x300 [xfs]
[  272.421366]  xfs_file_write_iter+0x93/0xe0 [xfs]
[  272.426522]  aio_write+0x116/0x200
[  272.430458]  ? filename_lookup+0xf1/0x180
[  272.434961]  ? __io_submit_one+0x390/0x480
[  272.440613]  ? __might_fault+0x20/0x40
[  272.444873]  __io_submit_one+0x390/0x480
[  272.450315]  ? cp_new_stat+0x150/0x180
[  272.454577]  ? _cond_resched+0x19/0x40
[  272.458828]  io_submit_one+0xed/0x580
[  272.463042]  __x64_sys_io_submit+0x8e/0x1c0
[  272.467713]  do_syscall_64+0x33/0x40
[  272.471763]  entry_SYSCALL_64_after_hwframe+0x44/0xa9
[  272.477268] RIP: 0033:0x7f9376a0af59
[  272.481307] Code: 00 c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 44 00 00 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 8b 0d 07 6f 0c 00 f7 d8 64 89 01 48
[  272.501017] RSP: 002b:00007ffff0f2b9f8 EFLAGS: 00000246 ORIG_RAX: 00000000000000d1
[  272.509037] RAX: ffffffffffffffda RBX: 00007f9376915b00 RCX: 00007f9376a0af59
[  272.516660] RDX: 00007ffff0f2bac8 RSI: 0000000000000001 RDI: 00007f9376b0d000
[  272.524250] RBP: 00007f9376b0d000 R08: 00005577d3761a10 R09: 0000000000000001
[  272.531870] R10: 000000000000021f R11: 0000000000000246 R12: 0000000000000001
[  272.539501] R13: 000000000000001c R14: 00007ffff0f2bac8 R15: 00005577d3757600
[  272.547132] Modules linked in: xfs dm_mod ipmi_devintf ipmi_msghandler btrfs blake2b_generic xor zstd_compress raid6_pq libcrc32c sd_mod t10_pi sg intel_rapl_msr intel_rapl_common x86_pkg_temp_thermal intel_powerclamp coretemp i915 kvm_intel kvm irqbypass crct10dif_pclmul intel_gtt crc32_pclmul crc32c_intel drm_kms_helper ghash_clmulni_intel mei_wdt syscopyarea ahci sysfillrect sysimgblt rapl libahci fb_sys_fops mei_me intel_cstate drm dcdbas intel_uncore libata mei joydev video ip_tables
[  272.592615] ---[ end trace 9781325a480dd608 ]---
[  272.597906] RIP: 0010:assfail+0x23/0x28 [xfs]
[  272.602899] 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 55 a6 c0 e8 82 f9 ff ff 80 3d 99 75 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
[  272.622799] RSP: 0018:ffffc9000294bc48 EFLAGS: 00010202
[  272.628623] RAX: 0000000000000000 RBX: 0000000000000001 RCX: 0000000000000000
[  272.636329] RDX: 00000000ffffffc0 RSI: 000000000000000a RDI: ffffffffc0a57aaf
[  272.644025] RBP: ffff888015e11400 R08: 0000000000000000 R09: 0000000000000000
[  272.651758] R10: 000000000000000a R11: f000000000000000 R12: 0000000000008e00
[  272.659472] R13: 000000000000a400 R14: ffff888020809f00 R15: ffffc9000294bcc8
[  272.667155] FS:  00007f9376915b80(0000) GS:ffff88819ea80000(0000) knlGS:0000000000000000
[  272.675863] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[  272.682139] CR2: 00007f9376914000 CR3: 00000001935a8004 CR4: 00000000001706e0
[  272.689831] Kernel panic - not syncing: Fatal exception
[  272.695635] Kernel Offset: disabled
ACPI MEMORY or I/O RESET_REG.


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 run     job.yaml



Thanks,
Oliver Sang


View attachment "config-5.10.0-rc1-00013-gb258228a4ec6" of type "text/plain" (170409 bytes)

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

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

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

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ