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>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date:   Tue, 25 Apr 2023 11:16:18 +0800
From:   kernel test robot <yujie.liu@...el.com>
To:     Shanker Donthineni <sdonthineni@...dia.com>
CC:     <oe-lkp@...ts.linux.dev>, <lkp@...el.com>,
        <linux-kernel@...r.kernel.org>,
        Thomas Gleixner <tglx@...utronix.de>,
        Marc Zyngier <maz@...nel.org>,
        Sebastian Andrzej Siewior <bigeasy@...utronix.de>,
        Michael Walle <michael@...le.cc>,
        Shanker Donthineni <sdonthineni@...dia.com>,
        Vikram Sethi <vsethi@...dia.com>
Subject: Re: [PATCH v3 3/3] genirq: Use the maple tree for IRQ descriptors
 management

Hello,

kernel test robot noticed "WARNING:at_arch/x86/kernel/apic/ipi.c:#default_send_IPI_mask_logical" on:

commit: 13eb5c4e7d2fb860d3dc5f63d910e3acf78dfd28 ("[PATCH v3 3/3] genirq: Use the maple tree for IRQ descriptors management")
url: https://github.com/intel-lab-lkp/linux/commits/Shanker-Donthineni/genirq-Use-hlist-for-managing-resend-handlers/20230410-235853
base: https://git.kernel.org/cgit/linux/kernel/git/tip/tip.git 6f3ee0e22b4c62f44b8fa3c8de6e369a4d112a75
patch link: https://lore.kernel.org/all/20230410155721.3720991-4-sdonthineni@nvidia.com/
patch subject: [PATCH v3 3/3] genirq: Use the maple tree for IRQ descriptors management

in testcase: blktests
version: blktests-i386-a4f80bf-1_20230418
with following parameters:

	disk: 1SSD
	test: block-group-00

compiler: gcc-11
kconfig: i386-debian-10.3-func (attached)
test machine: 4 threads Intel(R) Xeon(R) CPU E3-1225 v5 @ 3.30GHz (Skylake) with 16G memory

(please refer to attached dmesg/kmsg for entire log/backtrace)


If you fix the issue, kindly add following tag
| Reported-by: kernel test robot <yujie.liu@...el.com>
| Link: https://lore.kernel.org/oe-lkp/202304251035.19367560-yujie.liu@intel.com


[  207.463256][   T30] ------------[ cut here ]------------
[ 207.468574][ T30] WARNING: CPU: 3 PID: 30 at arch/x86/kernel/apic/ipi.c:299 default_send_IPI_mask_logical (arch/x86/kernel/apic/ipi.c:299 (discriminator 1)) 
[  207.479193][   T30] Modules linked in: loop(E) dm_multipath(E) dm_mod(E) btrfs(E) blake2b_generic(E) xor(E) raid6_pq(E) libcrc32c(E) crc32c_generic(E) intel_rapl_msr(E) intel_rapl_common(E) x86_pkg_temp_thermal(E) intel_powerclamp(E) sd_mod(E) t10_pi(E) coretemp(E) i915(E) crc64_rocksoft_generic(E) crc64_rocksoft(E) kvm_intel(E) drm_buddy(E) crc64(E) kvm(E) irqbypass(E) mei_wdt(E) crc32_pclmul(E) crc32c_intel(E) xhci_pci(E) drm_display_helper(E) ipmi_devintf(E) aesni_intel(E) ipmi_msghandler(E) crypto_simd(E) cryptd(E) rapl(E) xhci_hcd(E) cec(E) tpm_infineon(E) intel_cstate(E) wmi_bmof(E) mei_me(E) ahci(E) evdev(E) libahci(E) i2c_i801(E) psmouse(E) drm_kms_helper(E) tpm_tis(E) tpm_tis_core(E) intel_uncore(E) serio_raw(E) usbcore(E) i2c_smbus(E) video(E) syscopyarea(E) libata(E) sysfillrect(E) sysimgblt(E) tpm(E) mei(E) intel_pch_thermal(E) usb_common(E) ie31200_edac(E) ttm(E) wmi(E) acpi_pad(E) rng_core(E) button(E) fuse(E) drm(E) configfs(E) autofs4(E)
[  207.479246][   T30]  [last unloaded: null_blk(E)]
[  207.568426][   T30] CPU: 3 PID: 30 Comm: migration/3 Tainted: G S          E      6.2.0-rc4-00051-g13eb5c4e7d2f #1
[  207.578787][   T30] Hardware name: HP HP Z238 Microtower Workstation/8183, BIOS N51 Ver. 01.63 10/05/2017
[ 207.588372][ T30] Stopper: multi_cpu_stop+0x0/0xf0 <- stop_machine_cpuslocked (kernel/stop_machine.c:429 kernel/stop_machine.c:469 kernel/stop_machine.c:619) 
[ 207.596649][ T30] EIP: default_send_IPI_mask_logical (arch/x86/kernel/apic/ipi.c:299 (discriminator 1)) 
[ 207.602666][ T30] Code: 2a c2 f7 d1 85 c1 75 22 b9 00 08 00 00 e8 2c fc ff ff 80 e7 02 74 01 fb 8b 5d fc c9 c3 8d 74 26 00 90 c3 8d b4 26 00 00 00 00 <0f> 0b eb da 3e 8d 74 26 00 a1 e4 1e 2a c2 f6 c4 02 75 0d 31 c0 c3
All code
========
   0:	2a c2                	sub    %dl,%al
   2:	f7 d1                	not    %ecx
   4:	85 c1                	test   %eax,%ecx
   6:	75 22                	jne    0x2a
   8:	b9 00 08 00 00       	mov    $0x800,%ecx
   d:	e8 2c fc ff ff       	call   0xfffffffffffffc3e
  12:	80 e7 02             	and    $0x2,%bh
  15:	74 01                	je     0x18
  17:	fb                   	sti
  18:	8b 5d fc             	mov    -0x4(%rbp),%ebx
  1b:	c9                   	leave
  1c:	c3                   	ret
  1d:	8d 74 26 00          	lea    0x0(%rsi,%riz,1),%esi
  21:	90                   	nop
  22:	c3                   	ret
  23:	8d b4 26 00 00 00 00 	lea    0x0(%rsi,%riz,1),%esi
  2a:*	0f 0b                	ud2		<-- trapping instruction
  2c:	eb da                	jmp    0x8
  2e:	3e 8d 74 26 00       	ds lea 0x0(%rsi,%riz,1),%esi
  33:	a1 e4 1e 2a c2 f6 c4 	movabs 0x7502c4f6c22a1ee4,%eax
  3a:	02 75 
  3c:	0d                   	.byte 0xd
  3d:	31 c0                	xor    %eax,%eax
  3f:	c3                   	ret

Code starting with the faulting instruction
===========================================
   0:	0f 0b                	ud2
   2:	eb da                	jmp    0xffffffffffffffde
   4:	3e 8d 74 26 00       	ds lea 0x0(%rsi,%riz,1),%esi
   9:	a1 e4 1e 2a c2 f6 c4 	movabs 0x7502c4f6c22a1ee4,%eax
  10:	02 75 
  12:	0d                   	.byte 0xd
  13:	31 c0                	xor    %eax,%eax
  15:	c3                   	ret
[  207.622147][   T30] EAX: 00000008 EBX: 00000002 ECX: fffffffc EDX: 00000022
[  207.629124][   T30] ESI: 00000022 EDI: c1040e30 EBP: c29fdeb8 ESP: c29fdeb4
[  207.636097][   T30] DS: 007b ES: 007b FS: 00d8 GS: 0000 SS: 0068 EFLAGS: 00010002
[  207.643599][   T30] CR0: 80050033 CR2: 0214ece0 CR3: 023c8000 CR4: 003506f0
[  207.650568][   T30] DR0: 00000000 DR1: 00000000 DR2: 00000000 DR3: 00000000
[  207.657539][   T30] DR6: fffe0ff0 DR7: 00000400
[  207.662078][   T30] Call Trace:
[ 207.665219][ T30] default_send_IPI_single (arch/x86/kernel/apic/ipi.c:228) 
[ 207.670370][ T30] apic_retrigger_irq (arch/x86/kernel/apic/vector.c:880) 
[ 207.675083][ T30] irq_chip_retrigger_hierarchy (kernel/irq/chip.c:1473) 
[ 207.680667][ T30] fixup_irqs (arch/x86/kernel/irq.c:371) 
[ 207.684780][ T30] cpu_disable_common (arch/x86/kernel/smpboot.c:1663) 
[ 207.689491][ T30] native_cpu_disable (arch/x86/kernel/smpboot.c:1694) 
[ 207.694205][ T30] take_cpu_down (kernel/cpu.c:1035) 
[ 207.698484][ T30] multi_cpu_stop (kernel/stop_machine.c:240) 
[ 207.702854][ T30] cpu_stopper_thread (kernel/stop_machine.c:512) 
[ 207.707658][ T30] ? stop_machine_yield+0x4/0x4 
[ 207.712377][ T30] smpboot_thread_fn (kernel/smpboot.c:164 (discriminator 4)) 
[ 207.717090][ T30] kthread (kernel/kthread.c:376) 
[ 207.720854][ T30] ? find_next_bit (arch/x86/events/intel/core.c:4525) 
[ 207.725135][ T30] ? kthread_complete_and_exit (kernel/kthread.c:331) 
[ 207.730630][ T30] ret_from_fork (arch/x86/entry/entry_32.S:770) 
[  207.734912][   T30] ---[ end trace 0000000000000000 ]---


-- 
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests

View attachment "config-6.2.0-rc4-00051-g13eb5c4e7d2f" of type "text/plain" (151438 bytes)

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

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

View attachment "blktests" of type "text/plain" (6095 bytes)

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

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

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ