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: <20220313135458.GB14898@xsang-OptiPlex-9020>
Date:   Sun, 13 Mar 2022 21:54:58 +0800
From:   kernel test robot <oliver.sang@...el.com>
To:     Anusha Srivatsa <anusha.srivatsa@...el.com>
Cc:     0day robot <lkp@...el.com>,
        Stanislav Lisovskiy <stanislav.lisovskiy@...el.com>,
        Matt Roper <matthew.d.roper@...el.com>,
        LKML <linux-kernel@...r.kernel.org>, lkp@...ts.01.org,
        intel-gfx@...ts.freedesktop.org
Subject: [drm/i915/cdclk]  390509cb7b: canonical_address#:#[##]



Greeting,

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

commit: 390509cb7bd8a1f34bf5bfc355b6fcf9cde76f27 ("[Intel-gfx] [PATCH] drm/i915/cdclk: Add cdclk check to atomic check")
url: https://github.com/0day-ci/linux/commits/Anusha-Srivatsa/drm-i915-cdclk-Add-cdclk-check-to-atomic-check/20220303-075858
base: git://anongit.freedesktop.org/drm-intel for-linux-next
patch link: https://lore.kernel.org/intel-gfx/20220302235348.1262120-1-anusha.srivatsa@intel.com

in testcase: boot

on test machine: 4 threads Intel(R) Core(TM) i5-6500 CPU @ 3.20GHz with 32G 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>


[   22.171046][   T34]  sdb: sdb1 sdb2
[   22.175406][   T34] ata2.00: Enabling discard_zeroes_data
[   22.205992][  T216] Console: switching to colour dummy device 80x25
See 'systemctl status openipmi.service' for details.
[   22.222595][   T35]  sda: sda1 sda2 sda3 sda4
[   22.230541][  T216] general protection fault, probably for non-canonical address 0xdffffc0000000001: 0000 [#1] SMP KASAN PTI
[   22.241850][  T216] KASAN: null-ptr-deref in range [0x0000000000000008-0x000000000000000f]
[   22.250176][  T216] CPU: 0 PID: 216 Comm: systemd-udevd Not tainted 5.17.0-rc6-01234-g390509cb7bd8 #1
[   22.259455][  T216] Hardware name: Dell Inc. OptiPlex 7040/0Y7WYT, BIOS 1.8.1 12/05/2017
[ 22.267597][ T216] RIP: 0010:intel_cdclk_needs_modeset (kbuild/src/consumer/drivers/gpu/drm/i915/display/intel_cdclk.c:2038) i915
[ 22.274627][ T216] Code: ec 08 80 3c 02 00 0f 85 19 04 00 00 4d 8b a4 24 a8 55 00 00 48 b8 00 00 00 00 00 fc ff df 49 8d 7c 24 08 48 89 fa 48 c1 ea 03 <80> 3c 02 00 0f 85 e7 03 00 00 48 b8 00 00 00 00 00 fc ff df 4d 8b
All code
========
   0:	ec                   	in     (%dx),%al
   1:	08 80 3c 02 00 0f    	or     %al,0xf00023c(%rax)
   7:	85 19                	test   %ebx,(%rcx)
   9:	04 00                	add    $0x0,%al
   b:	00 4d 8b             	add    %cl,-0x75(%rbp)
   e:	a4                   	movsb  %ds:(%rsi),%es:(%rdi)
   f:	24 a8                	and    $0xa8,%al
  11:	55                   	push   %rbp
  12:	00 00                	add    %al,(%rax)
  14:	48 b8 00 00 00 00 00 	movabs $0xdffffc0000000000,%rax
  1b:	fc ff df 
  1e:	49 8d 7c 24 08       	lea    0x8(%r12),%rdi
  23:	48 89 fa             	mov    %rdi,%rdx
  26:	48 c1 ea 03          	shr    $0x3,%rdx
  2a:*	80 3c 02 00          	cmpb   $0x0,(%rdx,%rax,1)		<-- trapping instruction
  2e:	0f 85 e7 03 00 00    	jne    0x41b
  34:	48 b8 00 00 00 00 00 	movabs $0xdffffc0000000000,%rax
  3b:	fc ff df 
  3e:	4d                   	rex.WRB
  3f:	8b                   	.byte 0x8b

Code starting with the faulting instruction
===========================================
   0:	80 3c 02 00          	cmpb   $0x0,(%rdx,%rax,1)
   4:	0f 85 e7 03 00 00    	jne    0x3f1
   a:	48 b8 00 00 00 00 00 	movabs $0xdffffc0000000000,%rax
  11:	fc ff df 
  14:	4d                   	rex.WRB
  15:	8b                   	.byte 0x8b
[   22.294205][  T216] RSP: 0018:ffffc90000bcf2a0 EFLAGS: 00010202
[   22.300170][  T216] RAX: dffffc0000000000 RBX: ffffc90000bcf300 RCX: 0000000000000000
[   22.308049][  T216] RDX: 0000000000000001 RSI: ffff8881f9305578 RDI: 0000000000000008
[   22.315944][  T216] RBP: ffff8881f9305578 R08: 0000000000000001 R09: ffff8881f93007e8
[   22.323823][  T216] R10: 0000000000000003 R11: fffff52000179e31 R12: 0000000000000000
[   22.331701][  T216] R13: ffffed103f260c1e R14: 1ffff1103f260bea R15: 0000000000000007
[   22.339583][  T216] FS:  00007fd930b55d40(0000) GS:ffff888798400000(0000) knlGS:0000000000000000
[   22.348423][  T216] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[   22.354911][  T216] CR2: 00007fb97af83000 CR3: 000000080a240002 CR4: 00000000003706f0
[   22.362789][  T216] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
[   22.370667][  T216] DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
[   22.378544][  T216] Call Trace:
[   22.381708][  T216]  <TASK>
[ 22.384520][ T216] gen9_disable_dc_states (kbuild/src/consumer/drivers/gpu/drm/i915/display/intel_display_power.c:1120) i915
[ 22.390575][ T216] ? gen9_enable_dc5 (kbuild/src/consumer/drivers/gpu/drm/i915/display/intel_display_power.c:1105) i915
[ 22.396182][ T216] ? _raw_spin_lock_irqsave (kbuild/src/consumer/arch/x86/include/asm/atomic.h:202 kbuild/src/consumer/include/linux/atomic/atomic-instrumented.h:543 kbuild/src/consumer/include/asm-generic/qspinlock.h:82 kbuild/src/consumer/include/linux/spinlock.h:185 kbuild/src/consumer/include/linux/spinlock_api_smp.h:111 kbuild/src/consumer/kernel/locking/spinlock.c:162) 
[ 22.401532][ T216] intel_power_well_enable (kbuild/src/consumer/drivers/gpu/drm/i915/display/intel_display_power_well.c:37 (discriminator 4)) i915


To reproduce:

        # build kernel
	cd linux
	cp config-5.17.0-rc6-01234-g390509cb7bd8 .config
	make HOSTCC=gcc-9 CC=gcc-9 ARCH=x86_64 olddefconfig prepare modules_prepare bzImage modules
	make HOSTCC=gcc-9 CC=gcc-9 ARCH=x86_64 INSTALL_MOD_PATH=<mod-install-dir> modules_install
	cd <mod-install-dir>
	find lib/ | cpio -o -H newc --quiet | gzip > modules.cgz


        git clone https://github.com/intel/lkp-tests.git
        cd lkp-tests
        bin/lkp qemu -k <bzImage> -m modules.cgz job-script # job-script is attached in this email

        # if come across any failure that blocks the test,
        # please remove ~/.lkp and /lkp dir to run from a clean state.



---
0-DAY CI Kernel Test Service
https://lists.01.org/hyperkitty/list/lkp@lists.01.org

Thanks,
Oliver Sang


View attachment "config-5.17.0-rc6-01234-g390509cb7bd8" of type "text/plain" (165782 bytes)

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

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

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ