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: <20180823024004.GB13343@shao2-debian>
Date:   Thu, 23 Aug 2018 10:40:04 +0800
From:   kernel test robot <rong.a.chen@...el.com>
To:     Miklos Szeredi <mszeredi@...hat.com>
Cc:     Al Viro <viro@...iv.linux.org.uk>,
        LKML <linux-kernel@...r.kernel.org>,
        Linus Torvalds <torvalds@...ux-foundation.org>, lkp@...org
Subject: [lkp-robot] [vfs]  e950564b97:
 WARNING:at_lib/list_debug.c:#__list_add_valid

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

commit: e950564b97fd0f541b02eb207685d0746f5ecf29 ("vfs: don't evict uninitialized inode")
https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git master

in testcase: speccpu
with following parameters:

	nr_task: 100%
	cpu_feature: avx
	run_type: speed
	test: int:462.libquantum
	cpufreq_governor: performance



on test machine: 192 threads Skylake-4S with 768G memory

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


+----------------+------------+------------+
|                | a6cbedfa87 | e950564b97 |
+----------------+------------+------------+
| boot_successes | 4          | 8          |
+----------------+------------+------------+



kern  :warn  : [   29.190916] WARNING: CPU: 102 PID: 1832 at lib/list_debug.c:31 __list_add_valid+0x67/0x70
kern  :warn  : [   29.202467] Modules linked in: overlay btrfs xor zstd_decompress zstd_compress xxhash raid6_pq dm_mod sg sd_mod snd_hda_codec_hdmi sr_mod cdrom mgag200 intel_rapl snd_hda_intel ttm x86_pkg_temp_thermal intel_powerclamp snd_hda_codec coretemp kvm_intel drm_kms_helper snd_hda_core snd_hwdep kvm snd_pcm irqbypass crct10dif_pclmul snd_timer syscopyarea crc32_pclmul crc32c_intel sysfillrect sysimgblt snd pcbc ghash_clmulni_intel fb_sys_fops aesni_intel crypto_simd ahci cryptd libahci pcspkr glue_helper soundcore ipmi_si drm libata wmi ipmi_devintf ipmi_msghandler acpi_power_meter acpi_pad
kern  :warn  : [   29.265210] CPU: 102 PID: 1832 Comm: lkp-modules Not tainted 4.18.0-rc1-00010-ge950564 #1
kern  :warn  : [   29.275443] RIP: 0010:__list_add_valid+0x67/0x70
kern  :warn  : [   29.281693] Code: c1 4c 89 c6 48 c7 c7 98 5f 11 82 e8 d3 a4 bf ff 0f 0b 31 c0 c3 48 89 f2 4c 89 c1 48 89 fe 48 c7 c7 e8 5f 11 82 e8 b9 a4 bf ff <0f> 0b 31 c0 c3 0f 1f 40 00 48 8b 07 48 b9 00 01 00 00 00 00 ad de 
kern  :warn  : [   29.305071] RSP: 0018:ffffc9001d573ab0 EFLAGS: 00010286
kern  :warn  : [   29.312069] RAX: 0000000000000000 RBX: ffff882f145d0830 RCX: ffffffff824635c8
kern  :warn  : [   29.321234] RDX: 0000000000000001 RSI: 0000000000000092 RDI: 0000000000000246
kern  :warn  : [   29.330428] RBP: ffff882f79056800 R08: 0000000000000bc8 R09: 0000000000aaaaaa
kern  :warn  : [   29.339580] R10: ffffc9001d573b70 R11: 00000000ffffffff R12: ffff882f145d0950
kern  :warn  : [   29.348714] R13: ffff882f145d0950 R14: ffff882f79056d88 R15: ffffffffa0354a40
kern  :warn  : [   29.357757] FS:  00007faaf6315700(0000) GS:ffff882f80d80000(0000) knlGS:0000000000000000
kern  :warn  : [   29.367980] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
kern  :warn  : [   29.375592] CR2: 0000000001a7ae40 CR3: 0000002f5377c002 CR4: 00000000007606e0
kern  :warn  : [   29.384794] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
kern  :warn  : [   29.394009] DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
kern  :warn  : [   29.403227] PKRU: 55555554
kern  :warn  : [   29.407435] Call Trace:
kern  :warn  : [   29.411442]  inode_sb_list_add+0x47/0x90
kern  :warn  : [   29.417107]  ? ovl_inode_test+0x20/0x20 [overlay]
kern  :warn  : [   29.423629]  inode_insert5+0x13d/0x1f0
kern  :warn  : [   29.429116]  ovl_get_inode+0xbe/0x3a0 [overlay]
kern  :warn  : [   29.435492]  ovl_instantiate+0x73/0x160 [overlay]
kern  :warn  : [   29.442075]  ovl_create_or_link+0x1ac/0x5d0 [overlay]
kern  :warn  : [   29.449064]  ? selinux_inode_alloc_security+0x32/0x80
kern  :warn  : [   29.456067]  ? security_inode_alloc+0x2a/0x40
kern  :warn  : [   29.462307]  ? inode_init_always+0x123/0x1e0
kern  :warn  : [   29.468452]  ? inode_sb_list_add+0x47/0x90
kern  :warn  : [   29.474332]  ? ovl_fill_inode+0xc5/0x120 [overlay]
kern  :warn  : [   29.481079]  ovl_create_object+0xb3/0xf0 [overlay]
kern  :warn  : [   29.487809]  path_openat+0x13c4/0x16c0
kern  :warn  : [   29.493394]  do_filp_open+0x9b/0x110
kern  :warn  : [   29.498723]  ? do_sys_open+0x1bd/0x250
kern  :warn  : [   29.504249]  do_sys_open+0x1bd/0x250
kern  :warn  : [   29.509571]  do_syscall_64+0x5b/0x180
kern  :warn  : [   29.514968]  entry_SYSCALL_64_after_hwframe+0x44/0xa9
kern  :warn  : [   29.521915] RIP: 0033:0x7faaf5e2a050
kern  :warn  : [   29.527170] Code: 48 8b 15 3b 9e 2c 00 f7 d8 64 89 02 48 83 c8 ff c3 66 0f 1f 84 00 00 00 00 00 83 3d 8d f7 2c 00 00 75 10 b8 02 00 00 00 0f 05 <48> 3d 01 f0 ff ff 73 31 c3 48 83 ec 08 e8 1e 92 01 00 48 89 04 24 
kern  :warn  : [   29.550863] RSP: 002b:00007fffeb16c7a8 EFLAGS: 00000246 ORIG_RAX: 0000000000000002
kern  :warn  : [   29.560580] RAX: ffffffffffffffda RBX: 0000000000000001 RCX: 00007faaf5e2a050
kern  :warn  : [   29.569778] RDX: 00000000000001b6 RSI: 0000000000000241 RDI: 0000000001a79490
kern  :warn  : [   29.578926] RBP: 0000000001a7b3b0 R08: 0000000000000000 R09: 0000000001a7b3b0
kern  :warn  : [   29.588053] R10: 0000000000000000 R11: 0000000000000246 R12: 0000000001a7ae20
kern  :warn  : [   29.597148] R13: 0000000001a79490 R14: 0000000001a79550 R15: 0000000001a7ae00
kern  :warn  : [   29.606208] ---[ end trace 9cc284a0fe57e045 ]---


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

View attachment "config-4.18.0-rc1-00010-ge950564" of type "text/plain" (166072 bytes)

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

Download attachment "kmsg.xz" of type "application/x-xz" (36696 bytes)

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

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

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ