Bug persists with Linux mothership 6.5.0-25-generic #25~22.04.1-Ubuntu
SMP PREEMPT_DYNAMIC Tue Feb 20 16:09:15 UTC 2 x86_64 x86_64 x86_64
GNU/Linux

4.836804] mpt2sas_cm0: hba_port entry: 0000000092af6f74, port: 255 is added to 
hba_port list
[    4.845313] 
================================================================================
[    4.853526] UBSAN: array-index-out-of-bounds in 
/build/linux-hwe-6.5-v5pKK4/linux-hwe-6.5-6.5.0/drivers/scsi/mpt3sas/mpt3sas_scsih.c:6810:36
[    4.867458] usb 1-5.4: New USB device found, idVendor=413c, idProduct=2005, 
bcdDevice= 1.05
[    4.870216] index 1 is out of range for type 'MPI2_SAS_IO_UNIT0_PHY_DATA [1]'
[    4.878708] usb 1-5.4: New USB device strings: Mfr=1, Product=2, 
SerialNumber=0
[    4.887238] CPU: 7 PID: 64 Comm: kworker/u16:1 Not tainted 6.5.0-25-generic 
#25~22.04.1-Ubuntu
[    4.895838] usb 1-5.4: Product: DELL USB Keyboard
[    4.904638] Hardware name: Supermicro Super Server/X11SAE-F, BIOS 3.9 
06/07/2023
[    4.904639] Workqueue: fw_event_mpt2sas0 _firmware_event_work [mpt3sas]
[    4.913480] usb 1-5.4: Manufacturer: DELL

[    4.922450] Call Trace:
[    4.922452]  <TASK>
[    4.965913]  dump_stack_lvl+0x48/0x70
[    4.974249]  dump_stack+0x10/0x20
[    4.982443]  __ubsan_handle_out_of_bounds+0xc6/0x110
[    4.990653]  _scsih_sas_host_add+0x669/0x700 [mpt3sas]
[    4.998847]  _mpt3sas_fw_work+0x753/0xbc0 [mpt3sas]
[    5.006983]  ? raw_spin_rq_unlock+0x10/0x40
[    5.015051]  ? finish_task_switch.isra.0+0x85/0x2a0
[    5.023121]  ? __schedule+0x2d3/0x750
[    5.031159]  _firmware_event_work+0x16/0x20 [mpt3sas]
[    5.039151]  process_one_work+0x23d/0x450
[    5.047001]  worker_thread+0x50/0x3f0
[    5.054741]  ? __pfx_worker_thread+0x10/0x10
[    5.062451]  kthread+0xef/0x120
[    5.070124]  ? __pfx_kthread+0x10/0x10
[    5.077713]  ret_from_fork+0x44/0x70
[    5.085179]  ? __pfx_kthread+0x10/0x10
[    5.092562]  ret_from_fork_asm+0x1b/0x30
[    5.099915]  </TASK>
[    5.107079] 
================================================================================
[    5.115636] mpt2sas_cm0: host_add: handle(0x0001), 
sas_addr(0x500605b0069ea0d0), phys(8)
[    5.123297] 
================================================================================
[    5.130856] UBSAN: array-index-out-of-bounds in 
/build/linux-hwe-6.5-v5pKK4/linux-hwe-6.5-6.5.0/drivers/scsi/mpt3sas/mpt3sas_scsih.c:6598:38
[    5.146512] index 1 is out of range for type 'MPI2_SAS_IO_UNIT0_PHY_DATA [1]'
[    5.154538] CPU: 7 PID: 64 Comm: kworker/u16:1 Not tainted 6.5.0-25-generic 
#25~22.04.1-Ubuntu
[    5.162702] Hardware name: Supermicro Super Server/X11SAE-F, BIOS 3.9 
06/07/2023
[    5.170925] Workqueue: fw_event_mpt2sas0 _firmware_event_work [mpt3sas]
[    5.179103] Call Trace:
[    5.187121]  <TASK>
[    5.195014]  dump_stack_lvl+0x48/0x70
[    5.202871]  dump_stack+0x10/0x20
[    5.209613] usb 1-13.1: new low-speed USB device number 8 using xhci_hcd
[    5.210706]  __ubsan_handle_out_of_bounds+0xc6/0x110
[    5.226527]  _scsih_sas_host_refresh+0x51f/0x590 [mpt3sas]
[    5.234282]  _scsih_sas_topology_change_event.isra.0+0x251/0x690 [mpt3sas]
[    5.241922]  ? _mpt3sas_fw_work+0x538/0xbc0 [mpt3sas]
[    5.249318]  _mpt3sas_fw_work+0x80d/0xbc0 [mpt3sas]
[    5.256600]  ? raw_spin_rq_unlock+0x10/0x40
[    5.263744]  ? finish_task_switch.isra.0+0x85/0x2a0
[    5.270822]  ? __schedule+0x2d3/0x750
[    5.277745]  _firmware_event_work+0x16/0x20 [mpt3sas]
[    5.284605]  process_one_work+0x23d/0x450
[    5.291367]  worker_thread+0x50/0x3f0
[    5.298010]  ? __pfx_worker_thread+0x10/0x10
[    5.304600]  kthread+0xef/0x120
[    5.311172]  ? __pfx_kthread+0x10/0x10
[    5.317812]  ret_from_fork+0x44/0x70
[    5.324485]  ? __pfx_kthread+0x10/0x10
[    5.331152]  ret_from_fork_asm+0x1b/0x30
[    5.337870]  </TASK>
[    5.344512] 
================================================================================
[    5.351440] 
================================================================================
[    5.354534] usb 1-13.1: New USB device found, idVendor=0557, idProduct=2419, 
bcdDevice= 1.00
[    5.358272] UBSAN: array-index-out-of-bounds in 
/build/linux-hwe-6.5-v5pKK4/linux-hwe-6.5-6.5.0/drivers/scsi/mpt3sas/mpt3sas_scsih.c:6602:36
[    5.358273] index 1 is out of range for type 'MPI2_SAS_IO_UNIT0_PHY_DATA [1]'
[    5.365200] workqueue: hub_event hogged CPU for >10000us 4 times, consider 
switching to WQ_UNBOUND
[    5.365205] usb 1-13.1: New USB device strings: Mfr=0, Product=0, 
SerialNumber=0
[    5.379569] CPU: 7 PID: 64 Comm: kworker/u16:1 Not tainted 6.5.0-25-generic 
#25~22.04.1-Ubuntu
[    5.410109] Hardware name: Supermicro Super Server/X11SAE-F, BIOS 3.9 
06/07/2023
[    5.418063] Workqueue: fw_event_mpt2sas0 _firmware_event_work [mpt3sas]
[    5.426099] Call Trace:
[    5.434111]  <TASK>
[    5.442082]  dump_stack_lvl+0x48/0x70
[    5.450120]  dump_stack+0x10/0x20
[    5.458083]  __ubsan_handle_out_of_bounds+0xc6/0x110
[    5.465988]  _scsih_sas_host_refresh+0x4e7/0x590 [mpt3sas]
[    5.473807]  _scsih_sas_topology_change_event.isra.0+0x251/0x690 [mpt3sas]
[    5.481593]  ? _mpt3sas_fw_work+0x538/0xbc0 [mpt3sas]
[    5.489178]  _mpt3sas_fw_work+0x80d/0xbc0 [mpt3sas]
[    5.496519]  ? raw_spin_rq_unlock+0x10/0x40
[    5.503746]  ? finish_task_switch.isra.0+0x85/0x2a0
[    5.510875]  ? __schedule+0x2d3/0x750
[    5.517846]  _firmware_event_work+0x16/0x20 [mpt3sas]
[    5.524791]  process_one_work+0x23d/0x450
[    5.531637]  worker_thread+0x50/0x3f0
[    5.538518]  ? __pfx_worker_thread+0x10/0x10
[    5.545434]  kthread+0xef/0x120
[    5.552350]  ? __pfx_kthread+0x10/0x10
[    5.559211]  ret_from_fork+0x44/0x70
[    5.565967]  ? __pfx_kthread+0x10/0x10
[    5.572657]  ret_from_fork_asm+0x1b/0x30
[    5.579315]  </TASK>
[    5.585824] 
================================================================================
[    5.592652] 
================================================================================
[    5.599378] UBSAN: array-index-out-of-bounds in 
/build/linux-hwe-6.5-v5pKK4/linux-hwe-6.5-6.5.0/drivers/scsi/mpt3sas/mpt3sas_scsih.c:6619:7
[    5.613343] index 1 is out of range for type 'MPI2_SAS_IO_UNIT0_PHY_DATA [1]'
[    5.620542] CPU: 7 PID: 64 Comm: kworker/u16:1 Not tainted 6.5.0-25-generic 
#25~22.04.1-Ubuntu
[    5.622761] mpt2sas_cm1: hba_port entry: 00000000d3ffb083, port: 255 is 
added to hba_port list
[    5.627883] Hardware name: Supermicro Super Server/X11SAE-F, BIOS 3.9 
06/07/2023
[    5.627884] Workqueue: fw_event_mpt2sas0 _firmware_event_work [mpt3sas]
[    5.650661] Call Trace:
[    5.658279]  <TASK>
[    5.664647] mpt2sas_cm1: host_add: handle(0x0001), 
sas_addr(0x500605b008de24c0), phys(8)
[    5.665855]  dump_stack_lvl+0x48/0x70
[    5.665857]  dump_stack+0x10/0x20
[    5.676733] 
================================================================================
[    5.681648]  __ubsan_handle_out_of_bounds+0xc6/0x110
[    5.689487] UBSAN: array-index-out-of-bounds in 
/build/linux-hwe-6.5-v5pKK4/linux-hwe-6.5-6.5.0/drivers/scsi/mpt3sas/mpt3sas_scsih.c:6666:21
[    5.697486]  _scsih_sas_host_refresh+0x503/0x590 [mpt3sas]
[    5.705601] index 1 is out of range for type 'MPI2_SAS_IO_UNIT0_PHY_DATA [1]'
[    5.722081]  _scsih_sas_topology_change_event.isra.0+0x251/0x690 [mpt3sas]
[    5.746271]  ? _mpt3sas_fw_work+0x538/0xbc0 [mpt3sas]
[    5.754199]  _mpt3sas_fw_work+0x80d/0xbc0 [mpt3sas]
[    5.762000]  ? raw_spin_rq_unlock+0x10/0x40
[    5.769664]  ? finish_task_switch.isra.0+0x85/0x2a0
[    5.777252]  ? __schedule+0x2d3/0x750
[    5.784764]  _firmware_event_work+0x16/0x20 [mpt3sas]
[    5.792385]  process_one_work+0x23d/0x450
[    5.800008]  worker_thread+0x50/0x3f0
[    5.807654]  ? __pfx_worker_thread+0x10/0x10
[    5.815299]  kthread+0xef/0x120
[    5.822872]  ? __pfx_kthread+0x10/0x10
[    5.830423]  ret_from_fork+0x44/0x70
[    5.836537] 
================================================================================
[    5.837854]  ? __pfx_kthread+0x10/0x10
[    5.845553] UBSAN: array-index-out-of-bounds in 
/build/linux-hwe-6.5-v5pKK4/linux-hwe-6.5-6.5.0/drivers/scsi/mpt3sas/mpt3sas_scsih.c:4667:12
[    5.853224]  ret_from_fork_asm+0x1b/0x30
[    5.869340] index 1 is out of range for type 'MPI2_EVENT_SAS_TOPO_PHY_ENTRY 
[1]'
[    5.877440]  </TASK>
[    5.893943] CPU: 0 PID: 0 Comm: swapper/0 Not tainted 6.5.0-25-generic 
#25~22.04.1-Ubuntu
[    5.893946] 
================================================================================
[    5.902459] Hardware name: Supermicro Super Server/X11SAE-F, BIOS 3.9 
06/07/2023
[    5.902460] Call Trace:
[    5.902461]  <IRQ>
[    5.902462]  dump_stack_lvl+0x48/0x70
[    5.913480] mpt2sas_cm0: handle(0x9) sas_address(0x4433221105000000) 
port_type(0x1)
[    5.919886]  dump_stack+0x10/0x20
[    5.963734]  __ubsan_handle_out_of_bounds+0xc6/0x110
[    5.972670]  _scsih_check_topo_delete_events+0x2dc/0x350 [mpt3sas]
[    5.981478]  mpt3sas_scsih_event_callback+0x21f/0x630 [mpt3sas]
[    5.990083]  _base_async_event.isra.0+0x73/0x190 [mpt3sas]
[    5.998628]  _base_process_reply_queue+0x3a0/0x720 [mpt3sas]
[    6.007056]  ? __pfx_hrtimer_wakeup+0x10/0x10
[    6.015366]  _base_interrupt+0x4e/0x70 [mpt3sas]
[    6.023554]  __handle_irq_event_percpu+0x4c/0x1c0
[    6.031669]  handle_irq_event+0x39/0x80
[    6.039703]  handle_edge_irq+0x8c/0x250
[    6.047765]  __common_interrupt+0x53/0x110
[    6.055703]  common_interrupt+0x9f/0xb0
[    6.063506]  </IRQ>
[    6.071303]  <TASK>
[    6.078894]  asm_common_interrupt+0x27/0x40
[    6.086405] RIP: 0010:cpuidle_enter_state+0xda/0x720
[    6.093742] Code: 30 06 ff e8 a8 f5 ff ff 8b 53 04 49 89 c7 0f 1f 44 00 00 
31 ff e8 d6 db 04 ff 80 7d d0 00 0f 85 61 02 00 00 fb 0f 1f 44 00 00 <45> 85 f6 
0f 88 f7 01 00 00 4d 63 ee 49 83 fd 09 0f 87 19 05 00 00
[    6.108658] RSP: 0018:ffffffffb0c03dc0 EFLAGS: 00000246
[    6.116063] RAX: 0000000000000000 RBX: ffffc65b3fc3b600 RCX: 0000000000000000
[    6.123496] RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000
[    6.130838] RBP: ffffffffb0c03e10 R08: 0000000000000000 R09: 0000000000000000
[    6.138136] R10: 0000000000000000 R11: 0000000000000000 R12: ffffffffb0ed1b00
[    6.145405] R13: 0000000000000004 R14: 0000000000000004 R15: 000000015be0d392
[    6.152664]  ? finish_task_switch.isra.0+0x85/0x2a0
[    6.159903]  cpuidle_enter+0x2e/0x50
[    6.167100]  call_cpuidle+0x23/0x60
[    6.174260]  cpuidle_idle_call+0x11d/0x190
[    6.181422]  do_idle+0x82/0xf0
[    6.188525]  cpu_startup_entry+0x2a/0x30
[    6.195652]  rest_init+0xde/0x100
[    6.202754]  ? acpi_enable_subsystem+0xe6/0x2a0
[    6.209917]  ? static_key_disable+0x1f/0x30
[    6.216963]  arch_call_rest_init+0xe/0x30
[    6.223836]  start_kernel+0x34f/0x440
[    6.230492]  x86_64_start_reservations+0x18/0x30
[    6.236951]  x86_64_start_kernel+0xa4/0xe0
[    6.243332]  secondary_startup_64_no_verify+0x17e/0x18b
[    6.249691]  </TASK>
[    6.255895] 
================================================================================
[    6.255895] CPU: 1 PID: 216 Comm: kworker/u16:8 Not tainted 6.5.0-25-generic 
#25~22.04.1-Ubuntu
[    6.262318] 
================================================================================
[    6.268744] Hardware name: Supermicro Super Server/X11SAE-F, BIOS 3.9 
06/07/2023
[    6.275173] UBSAN: array-index-out-of-bounds in 
/build/linux-hwe-6.5-v5pKK4/linux-hwe-6.5-6.5.0/drivers/scsi/mpt3sas/mpt3sas_scsih.c:4670:32
[    6.281617] Workqueue: fw_event_mpt2sas1 _firmware_event_work [mpt3sas]
[    6.295284] index 5 is out of range for type 'MPI2_EVENT_SAS_TOPO_PHY_ENTRY 
[1]'

[    6.295285] Call Trace:
[    6.322871]  <TASK>
[    6.329519]  dump_stack_lvl+0x48/0x70
[    6.336147]  dump_stack+0x10/0x20
[    6.342699]  __ubsan_handle_out_of_bounds+0xc6/0x110
[    6.349280]  _scsih_sas_host_refresh+0x53b/0x590 [mpt3sas]
[    6.355929]  _scsih_sas_topology_change_event.isra.0+0x251/0x690 [mpt3sas]
[    6.362639]  ? _mpt3sas_fw_work+0x538/0xbc0 [mpt3sas]
[    6.369342]  _mpt3sas_fw_work+0x80d/0xbc0 [mpt3sas]
[    6.376088]  ? raw_spin_rq_unlock+0x10/0x40
[    6.382854]  ? finish_task_switch.isra.0+0x85/0x2a0
[    6.389668]  ? __schedule+0x2d3/0x750
[    6.396448]  _firmware_event_work+0x16/0x20 [mpt3sas]
[    6.403372]  process_one_work+0x23d/0x450
[    6.410286]  worker_thread+0x50/0x3f0
[    6.417160]  ? __pfx_worker_thread+0x10/0x10
[    6.423873]  kthread+0xef/0x120
[    6.430386]  ? __pfx_kthread+0x10/0x10
[    6.436791]  ret_from_fork+0x44/0x70
[    6.443095]  ? __pfx_kthread+0x10/0x10
[    6.449427]  ret_from_fork_asm+0x1b/0x30
[    6.455768]  </TASK>
[    6.462039] CPU: 0 PID: 0 Comm: swapper/0 Not tainted 6.5.0-25-generic 
#25~22.04.1-Ubuntu
[    6.462042] 
================================================================================
[    6.468640] Hardware name: Supermicro Super Server/X11SAE-F, BIOS 3.9 
06/07/2023
[    6.468641] Call Trace:
[    6.468641]  <IRQ>
[    6.468642]  dump_stack_lvl+0x48/0x70
[    6.480332] mpt2sas_cm1: handle(0x9) sas_address(0x4433221105000000) 
port_type(0x1)
[    6.482038]  dump_stack+0x10/0x20
[    6.495195] mpt2sas_cm1: handle(0xa) sas_address(0x4433221106000000) 
port_type(0x1)
[    6.495372]  __ubsan_handle_out_of_bounds+0xc6/0x110
[    6.530053]  _scsih_check_topo_delete_events+0x2f0/0x350 [mpt3sas]
[    6.537283]  mpt3sas_scsih_event_callback+0x21f/0x630 [mpt3sas]
[    6.544562]  _base_async_event.isra.0+0x73/0x190 [mpt3sas]
[    6.551869]  _base_process_reply_queue+0x3a0/0x720 [mpt3sas]
[    6.559224]  ? __pfx_hrtimer_wakeup+0x10/0x10
[    6.566538]  _base_interrupt+0x4e/0x70 [mpt3sas]
[    6.573856]  __handle_irq_event_percpu+0x4c/0x1c0
[    6.581042]  handle_irq_event+0x39/0x80
[    6.588088]  handle_edge_irq+0x8c/0x250
[    6.594957]  __common_interrupt+0x53/0x110
[    6.601699]  common_interrupt+0x9f/0xb0
[    6.608205]  </IRQ>
[    6.614407]  <TASK>
[    6.620425]  asm_common_interrupt+0x27/0x40
[    6.626428] RIP: 0010:cpuidle_enter_state+0xda/0x720
[    6.632383] Code: 30 06 ff e8 a8 f5 ff ff 8b 53 04 49 89 c7 0f 1f 44 00 00 
31 ff e8 d6 db 04 ff 80 7d d0 00 0f 85 61 02 00 00 fb 0f 1f 44 00 00 <45> 85 f6 
0f 88 f7 01 00 00 4d 63 ee 49 83 fd 09 0f 87 19 05 00 00
[    6.645276] RSP: 0018:ffffffffb0c03dc0 EFLAGS: 00000246
[    6.651834] RAX: 0000000000000000 RBX: ffffc65b3fc3b600 RCX: 0000000000000000
[    6.658576] RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000
[    6.665253] RBP: ffffffffb0c03e10 R08: 0000000000000000 R09: 0000000000000000
[    6.671869] R10: 0000000000000000 R11: 0000000000000000 R12: ffffffffb0ed1b00
[    6.678447] R13: 0000000000000004 R14: 0000000000000004 R15: 000000015be0d392
[    6.684927]  ? finish_task_switch.isra.0+0x85/0x2a0
[    6.691405]  cpuidle_enter+0x2e/0x50
[    6.697835]  call_cpuidle+0x23/0x60
[    6.704221]  cpuidle_idle_call+0x11d/0x190
[    6.710598]  do_idle+0x82/0xf0
[    6.716908]  cpu_startup_entry+0x2a/0x30
[    6.723204]  rest_init+0xde/0x100
[    6.729481]  ? acpi_enable_subsystem+0xe6/0x2a0
[    6.735803]  ? static_key_disable+0x1f/0x30
[    6.742139]  arch_call_rest_init+0xe/0x30
[    6.748471]  start_kernel+0x34f/0x440
[    6.754792]  x86_64_start_reservations+0x18/0x30
[    6.761176]  x86_64_start_kernel+0xa4/0xe0
[    6.767554]  secondary_startup_64_no_verify+0x17e/0x18b
[    6.773998]  </TASK>
[    6.780263] 
================================================================================
[    6.786724] 
================================================================================
[    6.792965] UBSAN: array-index-out-of-bounds in 
/build/linux-hwe-6.5-v5pKK4/linux-hwe-6.5-6.5.0/drivers/scsi/mpt3sas/mpt3sas_scsih.c:4023:12
[    6.805916] index 1 is out of range for type 'MPI2_EVENT_SAS_TOPO_PHY_ENTRY 
[1]'
[    6.812720] CPU: 0 PID: 0 Comm: swapper/0 Not tainted 6.5.0-25-generic 
#25~22.04.1-Ubuntu
[    6.819572] Hardware name: Supermicro Super Server/X11SAE-F, BIOS 3.9 
06/07/2023
[    6.826417] Call Trace:
[    6.833097]  <IRQ>
[    6.839608]  dump_stack_lvl+0x48/0x70
[    6.846086]  dump_stack+0x10/0x20
[    6.852449]  __ubsan_handle_out_of_bounds+0xc6/0x110
[    6.858845]  _scsih_check_topo_delete_events+0x318/0x350 [mpt3sas]
[    6.865318]  mpt3sas_scsih_event_callback+0x21f/0x630 [mpt3sas]
[    6.871798]  _base_async_event.isra.0+0x73/0x190 [mpt3sas]
[    6.878301]  _base_process_reply_queue+0x3a0/0x720 [mpt3sas]
[    6.884812]  ? __pfx_hrtimer_wakeup+0x10/0x10
[    6.891321]  _base_interrupt+0x4e/0x70 [mpt3sas]
[    6.897875]  __handle_irq_event_percpu+0x4c/0x1c0
[    6.904447]  handle_irq_event+0x39/0x80
[    6.911007]  handle_edge_irq+0x8c/0x250
[    6.917558]  __common_interrupt+0x53/0x110
[    6.924178]  common_interrupt+0x9f/0xb0
[    6.930780]  </IRQ>
[    6.937299]  <TASK>
[    6.943566]  asm_common_interrupt+0x27/0x40
[    6.949737] RIP: 0010:cpuidle_enter_state+0xda/0x720
[    6.955854] Code: 30 06 ff e8 a8 f5 ff ff 8b 53 04 49 89 c7 0f 1f 44 00 00 
31 ff e8 d6 db 04 ff 80 7d d0 00 0f 85 61 02 00 00 fb 0f 1f 44 00 00 <45> 85 f6 
0f 88 f7 01 00 00 4d 63 ee 49 83 fd 09 0f 87 19 05 00 00
[    6.968750] RSP: 0018:ffffffffb0c03dc0 EFLAGS: 00000246
[    6.975318] RAX: 0000000000000000 RBX: ffffc65b3fc3b600 RCX: 0000000000000000
[    6.982017] RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000
[    6.988687] RBP: ffffffffb0c03e10 R08: 0000000000000000 R09: 0000000000000000
[    6.995253] R10: 0000000000000000 R11: 0000000000000000 R12: ffffffffb0ed1b00
[    7.001795] R13: 0000000000000004 R14: 0000000000000004 R15: 000000015be0d392
[    7.008355]  ? finish_task_switch.isra.0+0x85/0x2a0
[    7.014949]  cpuidle_enter+0x2e/0x50
[    7.021534]  call_cpuidle+0x23/0x60
[    7.028096]  cpuidle_idle_call+0x11d/0x190
[    7.034682]  do_idle+0x82/0xf0
[    7.041207]  cpu_startup_entry+0x2a/0x30
[    7.047750]  rest_init+0xde/0x100
[    7.054253]  ? acpi_enable_subsystem+0xe6/0x2a0
[    7.060812]  ? static_key_disable+0x1f/0x30
[    7.067352]  arch_call_rest_init+0xe/0x30
[    7.073898]  start_kernel+0x34f/0x440
[    7.080410]  x86_64_start_reservations+0x18/0x30
[    7.086932]  x86_64_start_kernel+0xa4/0xe0
[    7.093272]  secondary_startup_64_no_verify+0x17e/0x18b
[    7.099770]  </TASK>
[    7.105973] 
================================================================================
[    7.112260] 
================================================================================
[    7.118354] UBSAN: array-index-out-of-bounds in 
/build/linux-hwe-6.5-v5pKK4/linux-hwe-6.5-6.5.0/drivers/scsi/mpt3sas/mpt3sas_scsih.c:4026:32
[    7.130719] index 5 is out of range for type 'MPI2_EVENT_SAS_TOPO_PHY_ENTRY 
[1]'
[    7.137019] CPU: 0 PID: 0 Comm: swapper/0 Not tainted 6.5.0-25-generic 
#25~22.04.1-Ubuntu
[    7.143517] Hardware name: Supermicro Super Server/X11SAE-F, BIOS 3.9 
06/07/2023
[    7.150136] Call Trace:
[    7.156720]  <IRQ>
[    7.163207]  dump_stack_lvl+0x48/0x70
[    7.169686]  dump_stack+0x10/0x20
[    7.176054]  __ubsan_handle_out_of_bounds+0xc6/0x110
[    7.182451]  _scsih_check_topo_delete_events+0x304/0x350 [mpt3sas]
[    7.188925]  mpt3sas_scsih_event_callback+0x21f/0x630 [mpt3sas]
[    7.195405]  _base_async_event.isra.0+0x73/0x190 [mpt3sas]
[    7.201910]  _base_process_reply_queue+0x3a0/0x720 [mpt3sas]
[    7.208440]  ? __pfx_hrtimer_wakeup+0x10/0x10
[    7.214941]  _base_interrupt+0x4e/0x70 [mpt3sas]
[    7.221489]  __handle_irq_event_percpu+0x4c/0x1c0
[    7.228054]  handle_irq_event+0x39/0x80
[    7.234608]  handle_edge_irq+0x8c/0x250
[    7.241135]  __common_interrupt+0x53/0x110
[    7.247774]  common_interrupt+0x9f/0xb0
[    7.254374]  </IRQ>
[    7.260874]  <TASK>
[    7.267126]  asm_common_interrupt+0x27/0x40
[    7.273275] RIP: 0010:cpuidle_enter_state+0xda/0x720
[    7.279366] Code: 30 06 ff e8 a8 f5 ff ff 8b 53 04 49 89 c7 0f 1f 44 00 00 
31 ff e8 d6 db 04 ff 80 7d d0 00 0f 85 61 02 00 00 fb 0f 1f 44 00 00 <45> 85 f6 
0f 88 f7 01 00 00 4d 63 ee 49 83 fd 09 0f 87 19 05 00 00
[    7.292216] RSP: 0018:ffffffffb0c03dc0 EFLAGS: 00000246
[    7.298764] RAX: 0000000000000000 RBX: ffffc65b3fc3b600 RCX: 0000000000000000
[    7.305430] RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000
[    7.312086] RBP: ffffffffb0c03e10 R08: 0000000000000000 R09: 0000000000000000
[    7.318637] R10: 0000000000000000 R11: 0000000000000000 R12: ffffffffb0ed1b00
[    7.325170] R13: 0000000000000004 R14: 0000000000000004 R15: 000000015be0d392
[    7.331714]  ? finish_task_switch.isra.0+0x85/0x2a0
[    7.338283]  cpuidle_enter+0x2e/0x50
[    7.344844]  call_cpuidle+0x23/0x60
[    7.351377]  cpuidle_idle_call+0x11d/0x190
[    7.357933]  do_idle+0x82/0xf0
[    7.364431]  cpu_startup_entry+0x2a/0x30
[    7.370954]  rest_init+0xde/0x100
[    7.377444]  ? acpi_enable_subsystem+0xe6/0x2a0
[    7.383991]  ? static_key_disable+0x1f/0x30
[    7.390506]  arch_call_rest_init+0xe/0x30
[    7.397039]  start_kernel+0x34f/0x440
[    7.403521]  x86_64_start_reservations+0x18/0x30
[    7.410031]  x86_64_start_kernel+0xa4/0xe0
[    7.416365]  secondary_startup_64_no_verify+0x17e/0x18b
[    7.422838]  </TASK>
[    7.429025] 
================================================================================
[    7.435668] 
================================================================================
[    7.436342] 
================================================================================
[    7.441759] UBSAN: array-index-out-of-bounds in 
/build/linux-hwe-6.5-v5pKK4/linux-hwe-6.5-6.5.0/drivers/scsi/mpt3sas/mpt3sas_scsih.c:7649:32
[    7.447637] UBSAN: array-index-out-of-bounds in 
/build/linux-hwe-6.5-v5pKK4/linux-hwe-6.5-6.5.0/drivers/scsi/mpt3sas/mpt3sas_scsih.c:7651:23
[    7.459634] index 1 is out of range for type 'MPI2_EVENT_SAS_TOPO_PHY_ENTRY 
[1]'
[    7.472648] index 1 is out of range for type 'MPI2_EVENT_SAS_TOPO_PHY_ENTRY 
[1]'
[    7.479485] CPU: 6 PID: 216 Comm: kworker/u16:8 Not tainted 6.5.0-25-generic 
#25~22.04.1-Ubuntu
[    7.493053] Hardware name: Supermicro Super Server/X11SAE-F, BIOS 3.9 
06/07/2023
[    7.499953] Workqueue: fw_event_mpt2sas0 _firmware_event_work [mpt3sas]
[    7.506873] Call Trace:
[    7.513719]  <TASK>
[    7.520464]  dump_stack_lvl+0x48/0x70
[    7.527225]  dump_stack+0x10/0x20
[    7.533919]  __ubsan_handle_out_of_bounds+0xc6/0x110
[    7.540673]  _scsih_sas_topology_change_event.isra.0+0x5ac/0x690 [mpt3sas]
[    7.547600]  _mpt3sas_fw_work+0x80d/0xbc0 [mpt3sas]
[    7.554532]  ? try_to_wake_up+0x299/0x660
[    7.561447]  _firmware_event_work+0x16/0x20 [mpt3sas]
[    7.568432]  process_one_work+0x23d/0x450
[    7.575481]  worker_thread+0x50/0x3f0
[    7.582503]  ? __pfx_worker_thread+0x10/0x10
[    7.589536]  kthread+0xef/0x120
[    7.596341]  ? __pfx_kthread+0x10/0x10
[    7.602983]  ret_from_fork+0x44/0x70
[    7.609507]  ? __pfx_kthread+0x10/0x10
[    7.615921]  ret_from_fork_asm+0x1b/0x30
[    7.622367]  </TASK>
[    7.628775] CPU: 2 PID: 64 Comm: kworker/u16:1 Not tainted 6.5.0-25-generic 
#25~22.04.1-Ubuntu
[    7.628779] 
================================================================================
[    7.635512] Hardware name: Supermicro Super Server/X11SAE-F, BIOS 3.9 
06/07/2023
[    7.635513] Workqueue: fw_event_mpt2sas1 _firmware_event_work [mpt3sas]
[    7.642397] 
================================================================================

[    7.649295] Call Trace:
[    7.649296]  <TASK>
[    7.656243] UBSAN: array-index-out-of-bounds in 
/build/linux-hwe-6.5-v5pKK4/linux-hwe-6.5-6.5.0/drivers/scsi/mpt3sas/mpt3sas_scsih.c:7655:12
[    7.663408]  dump_stack_lvl+0x48/0x70
[    7.670501] index 1 is out of range for type 'MPI2_EVENT_SAS_TOPO_PHY_ENTRY 
[1]'
[    7.677571]  dump_stack+0x10/0x20
[    7.722563]  __ubsan_handle_out_of_bounds+0xc6/0x110
[    7.730337]  _scsih_sas_topology_change_event.isra.0+0x587/0x690 [mpt3sas]
[    7.738296]  _mpt3sas_fw_work+0x80d/0xbc0 [mpt3sas]
[    7.746236]  ? __pfx_bit_cursor+0x10/0x10
[    7.754127]  ? add_timer+0x20/0x40
[    7.761840]  ? __queue_delayed_work+0x68/0xf0
[    7.769671]  ? queue_delayed_work_on+0x6e/0x80
[    7.777579]  _firmware_event_work+0x16/0x20 [mpt3sas]
[    7.785299]  process_one_work+0x23d/0x450
[    7.792754]  worker_thread+0x50/0x3f0
[    7.799949]  ? __pfx_worker_thread+0x10/0x10
[    7.806913]  kthread+0xef/0x120
[    7.813746]  ? __pfx_kthread+0x10/0x10
[    7.820654]  ret_from_fork+0x44/0x70
[    7.827396]  ? __pfx_kthread+0x10/0x10
[    7.833982]  ret_from_fork_asm+0x1b/0x30
[    7.840474]  </TASK>
[    7.846840] CPU: 6 PID: 216 Comm: kworker/u16:8 Not tainted 6.5.0-25-generic 
#25~22.04.1-Ubuntu
[    7.846932] 
================================================================================
[    7.853583] Hardware name: Supermicro Super Server/X11SAE-F, BIOS 3.9 
06/07/2023
[    7.853584] Workqueue: fw_event_mpt2sas0 _firmware_event_work [mpt3sas]
[    7.860644] 
================================================================================

[    7.867517] Call Trace:
[    7.867518]  <TASK>
[    7.867519]  dump_stack_lvl+0x48/0x70
[    7.867522]  dump_stack+0x10/0x20
[    7.874585] UBSAN: array-index-out-of-bounds in 
/build/linux-hwe-6.5-v5pKK4/linux-hwe-6.5-6.5.0/drivers/scsi/mpt3sas/mpt3sas_scsih.c:7658:30
[    7.881755]  __ubsan_handle_out_of_bounds+0xc6/0x110
[    7.888787] index 5 is out of range for type 'MPI2_EVENT_SAS_TOPO_PHY_ENTRY 
[1]'
[    7.895813]  _scsih_sas_topology_change_event.isra.0+0x630/0x690 [mpt3sas]
[    7.953759]  _mpt3sas_fw_work+0x80d/0xbc0 [mpt3sas]
[    7.961502]  ? try_to_wake_up+0x299/0x660
[    7.969217]  _firmware_event_work+0x16/0x20 [mpt3sas]
[    7.976870]  process_one_work+0x23d/0x450
[    7.984388]  worker_thread+0x50/0x3f0
[    7.991745]  ? __pfx_worker_thread+0x10/0x10
[    7.999024]  kthread+0xef/0x120
[    8.006141]  ? __pfx_kthread+0x10/0x10
[    8.013134]  ret_from_fork+0x44/0x70
[    8.020167]  ? __pfx_kthread+0x10/0x10
[    8.027241]  ret_from_fork_asm+0x1b/0x30
[    8.034098]  </TASK>
[    8.040635] CPU: 2 PID: 64 Comm: kworker/u16:1 Not tainted 6.5.0-25-generic 
#25~22.04.1-Ubuntu
[    8.040638] 
================================================================================
[    8.047512] Hardware name: Supermicro Super Server/X11SAE-F, BIOS 3.9 
06/07/2023
[    8.047513] Workqueue: fw_event_mpt2sas1 _firmware_event_work [mpt3sas]
[    8.054399] 
================================================================================

[    8.061301] Call Trace:
[    8.061302]  <TASK>
[    8.068253] UBSAN: array-index-out-of-bounds in 
/build/linux-hwe-6.5-v5pKK4/linux-hwe-6.5-6.5.0/drivers/scsi/mpt3sas/mpt3sas_scsih.c:7659:35
[    8.075318]  dump_stack_lvl+0x48/0x70
[    8.082224] index 5 is out of range for type 'MPI2_EVENT_SAS_TOPO_PHY_ENTRY 
[1]'
[    8.089090]  dump_stack+0x10/0x20
[    8.132718]  __ubsan_handle_out_of_bounds+0xc6/0x110
[    8.140283]  _scsih_sas_topology_change_event.isra.0+0x609/0x690 [mpt3sas]
[    8.147984]  _mpt3sas_fw_work+0x80d/0xbc0 [mpt3sas]
[    8.155712]  ? __pfx_bit_cursor+0x10/0x10
[    8.163432]  ? add_timer+0x20/0x40
[    8.171135]  ? __queue_delayed_work+0x68/0xf0
[    8.178892]  ? queue_delayed_work_on+0x6e/0x80
[    8.186645]  _firmware_event_work+0x16/0x20 [mpt3sas]
[    8.194301]  process_one_work+0x23d/0x450
[    8.201818]  worker_thread+0x50/0x3f0
[    8.209179]  ? __pfx_worker_thread+0x10/0x10
[    8.216474]  kthread+0xef/0x120
[    8.223605]  ? __pfx_kthread+0x10/0x10
[    8.230596]  ret_from_fork+0x44/0x70
[    8.237631]  ? __pfx_kthread+0x10/0x10
[    8.244727]  ret_from_fork_asm+0x1b/0x30
[    8.251820]  </TASK>
[    8.258905] CPU: 6 PID: 216 Comm: kworker/u16:8 Not tainted 6.5.0-25-generic 
#25~22.04.1-Ubuntu
[    8.259177] 
================================================================================
[    8.266110] Hardware name: Supermicro Super Server/X11SAE-F, BIOS 3.9 
06/07/2023
[    8.266111] Workqueue: fw_event_mpt2sas0 _firmware_event_work [mpt3sas]
[    8.287486] Call Trace:
[    8.294446]  <TASK>
[    8.301250]  dump_stack_lvl+0x48/0x70
[    8.308102]  dump_stack+0x10/0x20
[    8.314872]  __ubsan_handle_out_of_bounds+0xc6/0x110
[    8.321695]  _scsih_sas_topology_change_event.isra.0+0x5d6/0x690 [mpt3sas]
[    8.328672]  _mpt3sas_fw_work+0x80d/0xbc0 [mpt3sas]
[    8.335653]  ? try_to_wake_up+0x299/0x660
[    8.342620]  _firmware_event_work+0x16/0x20 [mpt3sas]
[    8.349636]  process_one_work+0x23d/0x450
[    8.356649]  worker_thread+0x50/0x3f0
[    8.363648]  ? __pfx_worker_thread+0x10/0x10
[    8.370702]  kthread+0xef/0x120
[    8.377719]  ? __pfx_kthread+0x10/0x10
[    8.384608]  ret_from_fork+0x44/0x70
[    8.391348]  ? __pfx_kthread+0x10/0x10
[    8.397923]  ret_from_fork_asm+0x1b/0x30
[    8.404419]  </TASK>
[    8.410727] 
================================================================================
[   10.968985] mpt2sas_cm0: port enable: SUCCESS

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2039231

Title:
   UBSAN: array-index-out-of-bounds in /build/linux-
  oem-6.5-XiW3QL/linux-
  oem-6.5-6.5.0/drivers/scsi/mpt3sas/mpt3sas_scsih.c:7655:12

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux-oem-6.5/+bug/2039231/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to