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: <20171001075120.i342dnk6jst4q26j@inn>
Date:   Sun, 1 Oct 2017 15:51:20 +0800
From:   kernel test robot <fengguang.wu@...el.com>
To:     Robin Murphy <robin.murphy@....com>
Cc:     Joerg Roedel <jroedel@...e.de>,
        LKML <linux-kernel@...r.kernel.org>,
        Stephen Rothwell <sfr@...b.auug.org.au>, lkp@...org
Subject: [iommu/iova]  bb68b2fbfb:
 WARNING:at_drivers/iommu/iova.c:#reserve_iova


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

commit: bb68b2fbfbd643d4407541f9c7a16a2c9b3a57c7 ("iommu/iova: Add rbtree anchor node")
https://git.kernel.org/cgit/linux/kernel/git/next/linux-next.git master

in testcase: hackbench
with following parameters:

	nr_threads: 100%
	mode: threads
	ipc: pipe
	cpufreq_governor: performance

test-description: Hackbench is both a benchmark and a stress test for the Linux kernel scheduler.
test-url: https://github.com/linux-test-project/ltp/blob/master/testcases/kernel/sched/cfs-scheduler/hackbench.c


on test machine: 256 threads Phi with 96G memory

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


+----------------+------------+------------+
|                | aa3ac9469c | bb68b2fbfb |
+----------------+------------+------------+
| boot_successes | 4          | 4          |
+----------------+------------+------------+



kern  :warn  : [   35.500027] WARNING: CPU: 246 PID: 1 at drivers/iommu/iova.c:687 reserve_iova+0x2b/0xd2
kern  :warn  : [   35.504132] Modules linked in:
kern  :warn  : [   35.504132] CPU: 246 PID: 1 Comm: swapper/0 Not tainted 4.14.0-rc2-00005-gbb68b2f #1
kern  :warn  : [   35.516135] Hardware name: Intel Corp. GROVEPORT/GROVEPORT, BIOS GVPRCRB1.86B.0010.R02.1606082342 06/08/2016
kern  :warn  : [   35.528134] task: ffff881a19178000 task.stack: ffffc900000b4000
kern  :warn  : [   35.540132] RIP: 0010:reserve_iova+0x2b/0xd2
kern  :warn  : [   35.540132] RSP: 0000:ffffc900000b7cc0 EFLAGS: 00010086
kern  :warn  : [   35.552132] RAX: 000fffffffffffff RBX: ffffffff82188b58 RCX: 000000000000000c
kern  :warn  : [   35.552132] RDX: ffffffffffffffff RSI: ffffffffffffffff RDI: ffff8817b9ed0318
kern  :warn  : [   35.564133] RBP: ffffc900000b7cf0 R08: ffff8817df99dcc0 R09: 000000000000ffff
kern  :warn  : [   35.576135] R10: 0000000000000000 R11: 0000000000000000 R12: ffffffff82188b20
kern  :warn  : [   35.576135] R13: ffffffffffffffff R14: ffff8817b9ed0318 R15: ffffffff81c8dd5f
kern  :warn  : [   35.588132] FS:  0000000000000000(0000) GS:ffff8817df980000(0000) knlGS:0000000000000000
kern  :warn  : [   35.600132] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
kern  :warn  : [   35.600132] CR2: 0000000000000000 CR3: 0000001a3ee11000 CR4: 00000000001406e0
kern  :warn  : [   35.612135] Call Trace:
kern  :warn  : [   35.612135]  copy_reserved_iova+0x49/0x80
kern  :warn  : [   35.612135]  find_or_alloc_domain+0x150/0x2cb
kern  :warn  : [   35.624133]  iommu_prepare_identity_map+0x39/0xa1
kern  :warn  : [   35.624133]  intel_iommu_init+0xdae/0xffd
kern  :warn  : [   35.636134]  ? set_debug_rodata+0x17/0x17
kern  :warn  : [   35.636134]  pci_iommu_init+0x17/0x41
kern  :warn  : [   35.636134]  ? pci_iommu_init+0x17/0x41
kern  :warn  : [   35.648134]  ? e820__memblock_setup+0x64/0x64
kern  :warn  : [   35.648134]  do_one_initcall+0x90/0x137
kern  :warn  : [   35.660133]  ? set_debug_rodata+0x17/0x17
kern  :warn  : [   35.660133]  kernel_init_freeable+0x16a/0x1ed
kern  :warn  : [   35.660133]  ? rest_init+0xcc/0xcc
kern  :warn  : [   35.672133]  kernel_init+0xe/0xfa
kern  :warn  : [   35.672133]  ret_from_fork+0x25/0x30
kern  :warn  : [   35.672133] Code: 0f 1f 44 00 00 55 48 83 c8 ff 48 89 e5 41 57 41 56 41 55 49 89 d5 41 54 48 09 f2 53 51 f3 48 0f bc 4f 20 48 d3 e8 48 39 c2 76 09 <0f> ff 31 db e9 8f 00 00 00 49 89 fc 49 89 f7 31 db 4d 8d 74 24 
kern  :warn  : [   35.696135] ---[ end trace a5b23018d5aa8c8f ]---


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-rc2-00005-gbb68b2f" of type "text/plain" (108605 bytes)

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

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

View attachment "hackbench" of type "text/plain" (450 bytes)

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

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

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ