mpt3sas ubsan issues

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

I don't know how much I would be able to test patches on this box since
it runs tests all the time but lemme report it still - someone might
want to reproduce it on their hw and say, ah, yes, I see it. :)

So this is with 6.6.0-rc7. And it floods dmesg with a lot more of those.

...
[   13.262385] mpt3sas_cm0: sense popage(0x000000006aab6fad) - dma(0xdebee000): size(512)
[   13.262517] mpt3sas_cm0: Allocated physical memory: size(40437 kB)
[   13.262519] mpt3sas_cm0: Current Controller Queue Depth(9460),Max Controller Queue Depth(9584)
[   13.262520] mpt3sas_cm0: Scatter Gather Elements per IO(128)
[   13.263057] usb usb3: Manufacturer: Linux 6.6.0-rc7-1698028227438 xhci-hcd
[   13.294499] mpt3sas_cm0: _base_display_fwpkg_version: complete
[   13.298770] usb usb3: SerialNumber: 0000:46:00.3
[   13.303908] mpt3sas_cm0: FW Package Ver(16.17.01.00)
[   13.309243] hub 3-0:1.0: USB hub found
[   13.314578] mpt3sas_cm0: LSISAS3008: FWVersion(16.00.11.00), ChipRevision(0x02)
[   13.319513] hub 3-0:1.0: 2 ports detected
[   13.324725] mpt3sas_cm0: Protocol=(
[   13.330802] usb usb4: We don't know the algorithms for LPM for this host, disabling LPM.
[   13.335195] Initiator
[   13.340449] usb usb4: New USB device found, idVendor=1d6b, idProduct=0003, bcdDevice= 6.06
[   13.345645] ,Target
[   13.350873] usb usb4: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[   13.356100] ), Capabilities=(
[   13.361323] usb usb4: Product: xHCI Host Controller
[   13.365024] ata6: SATA link down (SStatus 0 SControl 300)
[   13.365056] ata5: SATA link down (SStatus 0 SControl 300)
[   13.365088] ata8: SATA link down (SStatus 0 SControl 300)
[   13.365121] ata2: SATA link down (SStatus 0 SControl 300)
[   13.365156] ata1: SATA link down (SStatus 0 SControl 300)
[   13.365190] ata4: SATA link down (SStatus 0 SControl 300)
[   13.365223] ata3: SATA link down (SStatus 0 SControl 300)
[   13.366549] TLR
[   13.369707] ata7: SATA link down (SStatus 0 SControl 300)
[   13.371778] usb usb4: Manufacturer: Linux 6.6.0-rc7-1698028227438 xhci-hcd
[   13.377001] ,EEDP,Snapshot Buffer
[   13.382227] usb usb4: SerialNumber: 0000:46:00.3
[   13.387452] ,Diag Trace Buffer
[   13.392812] AVX2 version of gcm_enc/dec engaged.
[   13.392828] hub 4-0:1.0: USB hub found
[   13.392837] hub 4-0:1.0: 2 ports detected
[   13.397903] ,Task Set Full,NCQ)
[   13.397938] ACPI: bus type drm_connector registered
[   13.399992] tg3 0000:c1:00.1 eno8403: renamed from eth1
[   13.415815] usb 1-1: New USB device found, idVendor=0424, idProduct=2744, bcdDevice= 1.21
[   13.418864] scsi host0: Fusion MPT SAS Host
[   13.424033] usb 1-1: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[   13.424035] usb 1-1: Product: USB2734
[   13.430904] mpt3sas_cm0: sending port enable !!
[   13.434486] usb 1-1: Manufacturer: Microchip Tech
[   13.465838] AES CTR mode by8 optimization enabled
[   13.507930] hub 1-1:1.0: USB hub found
[   13.513067] ================================================================================
[   13.513276] mpt3sas_cm0: hba_port entry: 000000008c1f0b7e, port: 255 is added to hba_port list
[   13.513480] ===============================================================================1698028227438 #1
[   13.513489] Hardware name: Dell Inc. PowerEdge R6515/07PXPY, BIOS 2.3.6 07/06/2021
[   13.513490] Workqueue: fw_event_mpt3sas0 _firmware_event_work [mpt3sas]
[   13.513512] Call Trace:
[   13.513514]  <TASK>
[   13.513516]  dump_stack_lvl+0x4c/0x70
[   13.513521]  dump_stack+0x14/0x20
[   13.513523]  __ubsan_handle_out_of_bounds+0xa6/0xf0
[   13.513529]  _scsih_sas_host_add+0x5fc/0x660 [mpt3sas]
[   13.513544]  ? srso_alias_return_thunk+0x5/0x7f
[   13.513549]  ? srso_alias_return_thunk+0x5/0x7f
[   13.513550]  ? dequeue_entity+0x13f/0x530
[   13.513555]  ? srso_alias_return_thunk+0x5/0x7f
[   13.513557]  ? psi_group_change+0x237/0x4e0
[   13.513561]  _firmware_event_work+0xd35/0x3380 [mpt3sas]
[   13.513572]  ? srso_alias_return_thunk+0x5/0x7f
[   13.513575]  ? srso_alias_return_thunk+0x5/0x7f
[   13.513577]  ? raw_spin_rq_unlock+0x14/0x40
[   13.513580]  ? srso_alias_return_thunk+0x5/0x7f
[   13.513583]  ? srso_alias_return_thunk+0x5/0x7f
[   13.513585]  ? __schedule+0x3cb/0x15d0
[   13.513590]  ? srso_alias_return_thunk+0x5/0x7f
[   13.513592]  ? complete+0x71/0x80
[   13.513595]  process_one_work+0x17b/0x350
[   13.513600]  worker_thread+0x2f7/0x420
[   13.513603]  ? __pfx_worker_thread+0x10/0x10
[   13.513605]  kthread+0xfb/0x130
[   13.513608]  ? __pfx_kthread+0x10/0x10
[   13.513611]  ret_from_fork+0x40/0x60
[   13.513615]  ? __pfx_kthread+0x10/0x10
[   13.513617]  ret_from_fork_asm+0x1b/0x30
[   13.513625]  </TASK>
[   13.513626] ================================================================================
[   13.514519] mpt3sas_cm0: host_add: handle(0x0001), sas_addr(0x52cea7f0be87d800), phys(8)
[   13.518324] hub 1-1:1.0: 4 ports detected
[   13.523322] UBSAN: array-index-out-of-bounds in drivers/scsi/mpt3sas/mpt3sas_scsih.c:4667:12
[   13.523328] index 1 is out of range for type 'MPI2_EVENT_SAS_TOPO_PHY_ENTRY [1]'
[   13.528940] mpt3sas_cm0: port enable: SUCCESS
[   13.533773] CPU: 72 PID: 0 Comm: swapper/72 Not tainted 6.6.0-rc7-1698028227438 #1
[   13.533780] Hardware name: Dell Inc. PowerEdge R6515/07PXPY, BIOS 2.3.6 07/06/2021
[   13.533782] Call Trace:
[   13.533785]  <IRQ>
[   13.533789]  dump_stack_lvl+0x4c/0x70
[   13.569068] usb 2-1: new SuperSpeed USB device number 2 using xhci_hcd
[   13.570363]  dump_stack+0x14/0x20
[   13.584973] usb 3-1: new high-speed USB device number 2 using xhci_hcd
[   13.586031]  __ubsan_handle_out_of_bounds+0xa6/0xf0
[   13.593325] usb 2-1: New USB device found, idVendor=0424, idProduct=5744, bcdDevice= 1.21
[   13.596484]  ? vmemmap_populate_print_last+0x41/0x80
[   13.601713] usb 2-1: New USB device strings: Mfr=2, Product=3, SerialNumber=0
[   13.606937]  ? _scsih_fw_event_add.part.0+0xd3/0x140 [mpt3sas]
[   13.612161] usb 2-1: Product: USB5734
[   13.617391]  mpt3sas_scsih_event_callback+0xec6/0x1000 [mpt3sas]
[   13.622613] usb 2-1: Manufacturer: Microchip Tech
[   13.627843]  _base_process_reply_queue+0x59c/0x12a0 [mpt3sas]
[   13.658851] hub 2-1:1.0: USB hub found
[   13.659178]  _basndle_edge_irq+0x90/0x240
[   13.738365] usb 3-1: New USB device found, idVendor=1604, idProduct=10c0, bcdDevice= 0.00
[   13.742754]  __common_interrupt+0x55/0x100
[   13.742760]  common_interrupt+0x85/0xa0
[   13.747995] usb 3-1: New USB device strings: Mfr=0, Product=0, SerialNumber=0
[   13.753217]  </IRQ>
[   13.753219]  <TASK>
[   13.753223]  asm_common_interrupt+0x2b/0x40
[   13.791656] hub 3-1:1.0: USB hub found
[   13.792360] RIP: 0010:cpuidle_enter_state+0xde/0x710
[   13.799978] hub 3-1:1.0: 4 ports detected
[   13.807745] Code: 54 0b ff e8 d4 f5 ff ff 8b 53 04 49 89 c7 0f 1f 44 00 00 31 ff e8 32 2f 0a ff 80 7d d0 00 0f 85 50 02 00 00 fb 0f 1f 44 00 00 <45> 85 f6 0f 88 e6 01 00 00 4d 63 ee 49 83 fd 09 0f 87 03 05 00 00
[   13.807749] RSP: 0018:ffffba41005cfe28 EFLAGS: 00000246
[   14.527602] RAX: ffff9bd85fc34100 RBX: ffff9bf8843f3800 RCX: 0000000000000000
[   14.534733] RDX: 0000000000000048 RSI: 0000000000000002 RDI: 0000000000000000
[   14.537460] usb 3-1.1: new high-speed USB device number 3 using xhci_hcd
[   14.541867] RBP: ffffba41005cfe78 R08: 000000032570bc57 R09: 00000049ef18ea00
[   14.541870] R10: 000000029a243a00 R11: 000001d1a94a2000 R12: ffffffffa1d12e40
[   14.541873] R13: 0000000000000002 R14: 0000000000000002 R15: 000000032570bc57
[   14.541883]  ? cpuidle_enter_state+0xce/0x710
[   14.574334]  cpuidle_enter+0x32/0x50
[   14.577921]  call_cpuidle+0x23/0x50
[   14.581421]  do_idle+0x1e7/0x240
[   14.584659]  ? srso_alias_return_thunk+0x5/0x7f
[   14.589196]  cpu_startup_entry+0x31/0x40
[   14.593130]  start_secondary+0x12d/0x160
[   14.597065]  secondary_startup_64_no_verify+0x17d/0x18b
[   14.602304]  </TASK>
[   14.604500] ================================================================================

-- 
Regards/Gruss,
    Boris.

https://people.kernel.org/tglx/notes-about-netiquette



[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [SCSI Target Devel]     [Linux SCSI Target Infrastructure]     [Kernel Newbies]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Linux IIO]     [Samba]     [Device Mapper]

  Powered by Linux