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]
Message-ID: <20170927234007.i7w6tvhfqbh6cnej@inn>
Date:   Thu, 28 Sep 2017 07:40:07 +0800
From:   kernel test robot <fengguang.wu@...el.com>
To:     Lukas Czerner <lczerner@...hat.com>
Cc:     Jens Axboe <axboe@...nel.dk>, Jan Kara <jack@...e.cz>,
        "Darrick J. Wong" <darrick.wong@...cle.com>,
        Jeff Moyer <jmoyer@...hat.com>,
        LKML <linux-kernel@...r.kernel.org>, Jens Axboe <axboe@...com>,
        lkp@...org
Subject: [fs]  0f0ac246e9: WARNING:at_fs/direct-io.c:#dio_complete


FYI, we noticed the following commit:

commit: 0f0ac246e92b981d9f241d465034e081cf52bb9a ("fs: Fix page cache inconsistency when mixing buffered and AIO DIO")
https://git.kernel.org/cgit/linux/kernel/git/axboe/linux-block.git for-linus

in testcase: xfstests
with following parameters:

	disk: 4HDD
	fs: btrfs
	test: generic-mid1

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) i5-2500K CPU @ 3.30GHz with 6G memory

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


+-------------------------------------------+------------+------------+
|                                           | 243445018f | 0f0ac246e9 |
+-------------------------------------------+------------+------------+
| boot_successes                            | 20         | 11         |
| boot_failures                             | 1          | 9          |
| WARNING:at_fs/iomap.c:#iomap_dio_complete | 1          | 3          |
| WARNING:at_fs/direct-io.c:#dio_complete   | 0          | 6          |
+-------------------------------------------+------------+------------+



[  312.013500] WARNING: CPU: 0 PID: 162 at fs/direct-io.c:274 dio_complete+0x1a1/0x1f0
[  312.023220] Modules linked in: dm_mod rpcsec_gss_krb5 auth_rpcgss nfsv4 dns_resolver netconsole btrfs xor zstd_decompress zstd_compress xxhash raid6_pq snd_hda_codec_hdmi snd_hda_codec_realtek snd_hda_codec_generic sd_mod sg ata_generic pata_acpi intel_rapl x86_pkg_temp_thermal intel_powerclamp coretemp kvm_intel kvm irqbypass crct10dif_pclmul crc32_pclmul crc32c_intel ghash_clmulni_intel eeepc_wmi pcbc asus_wmi sparse_keymap ppdev i915 aesni_intel crypto_simd glue_helper rfkill wmi_bmof snd_hda_intel snd_hda_codec pata_via drm_kms_helper syscopyarea snd_hda_core ata_piix sysfillrect sysimgblt snd_hwdep fb_sys_fops cryptd pcspkr parport_pc snd_pcm libata parport snd_timer tpm_infineon snd soundcore drm video shpchp wmi ip_tables
[  312.091651] CPU: 0 PID: 162 Comm: kworker/0:2 Not tainted 4.14.0-rc1-00064-g0f0ac24 #2
[  312.100334] Hardware name: System manufacturer System Product Name/P8H67-M PRO, BIOS 1002 04/01/2011
[  312.110248] Workqueue: dio/sda6 dio_aio_complete_work
[  312.116042] task: ffff8801bde6cc80 task.stack: ffffc900011ac000
[  312.122726] RIP: 0010:dio_complete+0x1a1/0x1f0
[  312.127910] RSP: 0018:ffffc900011afe20 EFLAGS: 00010286
[  312.133901] RAX: 00000000fffffff0 RBX: ffff8801bb4b2300 RCX: ffffc900011afc70
[  312.141815] RDX: 0000000080000000 RSI: 00000000000002b4 RDI: ffffffff81cb77fb
[  312.149745] RBP: ffffc900011afe48 R08: 0000000000000000 R09: ffff8801689f8490
[  312.157672] R10: 0000000000000048 R11: 0000000000000000 R12: 0000000000002000
[  312.165592] R13: 0000000000002000 R14: 0000000000048000 R15: 0000000000000001
[  312.173478] FS:  0000000000000000(0000) GS:ffff8801bfa00000(0000) knlGS:0000000000000000
[  312.182352] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[  312.188893] CR2: 00007feb16b0bff8 CR3: 00000001b1a1b005 CR4: 00000000000606f0
[  312.196800] Call Trace:
[  312.200005]  dio_aio_complete_work+0x19/0x20
[  312.205020]  process_one_work+0x198/0x3e0
[  312.209741]  worker_thread+0x4e/0x3e0
[  312.214123]  kthread+0x114/0x150
[  312.218131]  ? process_one_work+0x3e0/0x3e0
[  312.223087]  ? kthread_create_on_node+0x40/0x40
[  312.228396]  ret_from_fork+0x25/0x30
[  312.232730] Code: 8b 78 30 48 83 7f 58 00 0f 84 f9 fe ff ff 4b 8d 54 26 ff 4c 89 f6 48 c1 fe 0c 48 c1 fa 0c e8 77 59 f3 ff 85 c0 0f 84 dc fe ff ff <0f> ff e9 d5 fe ff ff 8b 50 20 f6 c2 10 0f 84 16 ff ff ff 48 8b 
[  312.253202] ---[ end trace 3c8308e137c89857 ]---


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,
lkp

View attachment "config-4.14.0-rc1-00064-g0f0ac24" of type "text/plain" (163244 bytes)

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

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

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

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

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

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ