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:   Mon, 13 Mar 2017 10:19:04 +0800
From:   kernel test robot <xiaolong.ye@...el.com>
To:     Chris Wilson <chris@...is-wilson.co.uk>
Cc:     Imre Deak <imre.deak@...ux.intel.com>,
        Imre Deak <imre.deak@...el.com>,
        LKML <linux-kernel@...r.kernel.org>,
        Stephen Rothwell <sfr@...b.auug.org.au>, lkp@...org
Subject: [lkp-robot] [drm/i915]  1f58c8e7ea:
 WARNING:at_drivers/gpu/drm/i915/intel_drv.h:#gen6_read32[i915]


FYI, we noticed the following commit:

commit: 1f58c8e7eac0d4a7a59037dc18dbed2a9b5bd342 ("drm/i915: Restore the invalid access without RPM warning")
https://git.kernel.org/cgit/linux/kernel/git/next/linux-next.git master

in testcase: phoronix-test-suite
with following parameters:

	need_x: true
	test: video-cpu-usage-1.2.1
	cpufreq_governor: performance

test-description: The Phoronix Test Suite is the most comprehensive testing and benchmarking platform available that provides an extensible framework for which new tests can be easily added.
test-url: http://www.phoronix-test-suite.com/


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):


+----------------------------------------------------------------+------------+------------+
|                                                                | c998e8a0f4 | 1f58c8e7ea |
+----------------------------------------------------------------+------------+------------+
| boot_successes                                                 | 14         | 3          |
| boot_failures                                                  | 1          | 6          |
| WARNING:at_fs/sysfs/dir.c:#sysfs_warn_dup                      | 1          |            |
| WARNING:at_lib/kobject.c:#kobject_add_internal                 | 1          |            |
| WARNING:at_drivers/gpu/drm/i915/intel_drv.h:#gen6_read32[i915] | 0          | 6          |
+----------------------------------------------------------------+------------+------------+



[  730.703042] WARNING: CPU: 2 PID: 1334 at drivers/gpu/drm/i915/intel_drv.h:1743 gen6_read32+0x192/0x1e0 [i915]
[  730.714907] RPM wakelock ref not held during HW access
[  730.714908] Modules linked in: rpcsec_gss_krb5 nfsv4 dns_resolver netconsole nfsd auth_rpcgss ipmi_watchdog ipmi_poweroff ipmi_devintf ipmi_msghandler overlay btrfs xor raid6_pq dm_mod sg sd_mod snd_hda_codec_hdmi snd_hda_codec_realtek snd_hda_codec_generic ata_generic pata_acpi intel_rapl x86_pkg_temp_thermal intel_powerclamp coretemp snd_hda_intel kvm_intel snd_hda_codec kvm eeepc_wmi irqbypass snd_hda_core crct10dif_pclmul crc32_pclmul crc32c_intel asus_wmi sparse_keymap ghash_clmulni_intel snd_hwdep i915 rfkill ppdev pcbc aesni_intel ata_piix crypto_simd glue_helper snd_pcm pata_via cryptd pcspkr snd_timer drm_kms_helper syscopyarea snd sysfillrect libata sysimgblt fb_sys_fops soundcore shpchp drm wmi parport_pc parport tpm_infineon video
[  730.785948] CPU: 2 PID: 1334 Comm: php5 Not tainted 4.10.0-rc8-01615-g1f58c8e #1
[  730.793382] Hardware name: System manufacturer System Product Name/P8H67-M PRO, BIOS 1002 04/01/2011
[  730.802508] Call Trace:
[  730.804955]  dump_stack+0x63/0x8a
[  730.808290]  __warn+0xcb/0xf0
[  730.811264]  warn_slowpath_fmt+0x4f/0x60
[  730.815206]  ? seq_vprintf+0x35/0x50
[  730.818798]  gen6_read32+0x192/0x1e0 [i915]
[  730.823006]  i915_drpc_info+0x55d/0x990 [i915]
[  730.827470]  seq_read+0xf2/0x3b0
[  730.830696]  full_proxy_read+0x51/0x80
[  730.834446]  __vfs_read+0x28/0x130
[  730.837861]  ? security_file_permission+0x9b/0xc0
[  730.842558]  ? rw_verify_area+0x4e/0xb0
[  730.846390]  vfs_read+0xa8/0x170
[  730.849614]  SyS_read+0x46/0xa0
[  730.852752]  entry_SYSCALL_64_fastpath+0x1a/0xa9
[  730.857387] RIP: 0033:0x7fd97bf175a0
[  730.860957] RSP: 002b:00007ffdf730db68 EFLAGS: 00000246 ORIG_RAX: 0000000000000000
[  730.868524] RAX: ffffffffffffffda RBX: 00007fd978028738 RCX: 00007fd97bf175a0
[  730.875682] RDX: 0000000000002000 RSI: 00007fd97740e0d8 RDI: 0000000000000005
[  730.882817] RBP: 0000000000000001 R08: 0000000000e97840 R09: 00007fd977ef8d58
[  730.889949] R10: 0000000000000027 R11: 0000000000000246 R12: 00007fd977ef8d58
[  730.897074] R13: 0000000000000000 R14: 0000000000eb4640 R15: 0000000000000000
[  730.904217] ---[ end trace cdb027021434dc44 ]---


To reproduce:

        git clone https://github.com/01org/lkp-tests.git
        cd lkp-tests
        bin/lkp install job.yaml  # job file is attached in this email
        bin/lkp run     job.yaml



Thanks,
Xiaolong

View attachment "config-4.10.0-rc8-01615-g1f58c8e" of type "text/plain" (156368 bytes)

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

Download attachment "dmesg.xz" of type "application/octet-stream" (20424 bytes)

View attachment "phoronix-test-suite" of type "text/plain" (3833 bytes)

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

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

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ