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 Kernel Packages, which is subscribed to linux-oem-6.5 in 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 Status in linux-oem-6.5 package in Ubuntu: Confirmed Bug description: Dmesg is full of UBSAN errors to do with the mpt3sas driver when initializing an mpt2sas device. [ 5.012673] 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:4667:12 [ 5.014521] index 1 is out of range for type 'MPI2_EVENT_SAS_TOPO_PHY_ENTRY [1]' [ 5.015606] CPU: 3 PID: 0 Comm: swapper/3 Not tainted 6.5.0-1004-oem #4-Ubuntu [ 5.015611] Hardware name: Supermicro C7Q67/C7Q67, BIOS 2.1a 11/10/2015 [ 5.015613] Call Trace: [ 5.015617] <IRQ> [ 5.015621] dump_stack_lvl+0x48/0x70 [ 5.015632] dump_stack+0x10/0x20 [ 5.015637] __ubsan_handle_out_of_bounds+0xc6/0x110 [ 5.015646] _scsih_check_topo_delete_events+0x2dc/0x350 [mpt3sas] [ 5.015698] mpt3sas_scsih_event_callback+0x21f/0x630 [mpt3sas] [ 5.015735] _base_async_event.isra.0+0x73/0x190 [mpt3sas] [ 5.015769] _base_process_reply_queue+0x3a0/0x720 [mpt3sas] [ 5.015799] _base_interrupt+0x4e/0x70 [mpt3sas] [ 5.015829] __handle_irq_event_percpu+0x4f/0x1c0 [ 5.015835] handle_irq_event+0x39/0x80 [ 5.015839] handle_edge_irq+0x8c/0x250 [ 5.015844] __common_interrupt+0x56/0x110 [ 5.015850] common_interrupt+0x9f/0xb0 [ 5.015854] </IRQ> [ 5.015856] <TASK> [ 5.015858] asm_common_interrupt+0x27/0x40 [ 5.015865] RIP: 0010:cpuidle_enter_state+0xda/0x720 [ 5.015872] Code: 25 07 ff e8 a8 f5 ff ff 8b 53 04 49 89 c7 0f 1f 44 00 00 31 ff e8 46 d1 05 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 [ 5.015876] RSP: 0018:ffffac24c00bbe18 EFLAGS: 00000246 [ 5.015881] RAX: 0000000000000000 RBX: ffffa0abc03beb00 RCX: 0000000000000000 [ 5.015884] RDX: 0000000000000003 RSI: 0000000000000000 RDI: 0000000000000000 [ 5.015886] RBP: ffffac24c00bbe68 R08: 0000000000000000 R09: 0000000000000000 [ 5.015888] R10: 0000000000000000 R11: 0000000000000000 R12: ffffffffb64d1ac0 [ 5.015890] R13: 0000000000000004 R14: 0000000000000004 R15: 000000012ab445e7 [ 5.015895] ? cpuidle_enter_state+0xca/0x720 [ 5.015901] ? tick_nohz_stop_tick+0x90/0x210 [ 5.015908] cpuidle_enter+0x2e/0x50 [ 5.015912] call_cpuidle+0x23/0x60 [ 5.015918] cpuidle_idle_call+0x11d/0x190 [ 5.015922] do_idle+0x82/0xf0 [ 5.015926] cpu_startup_entry+0x1d/0x20 [ 5.015930] start_secondary+0x129/0x160 [ 5.015936] secondary_startup_64_no_verify+0x17e/0x18b [ 5.015944] </TASK> [ 5.015946] ================================================================================ [ 5.017993] mpt2sas_cm0: hba_port entry: 00000000fd3a54f4, port: 255 is added to hba_port list [ 5.018324] ================================================================================ [ 5.019566] 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:6810:36 [ 5.021429] index 1 is out of range for type 'MPI2_SAS_IO_UNIT0_PHY_DATA [1]' [ 5.022478] CPU: 2 PID: 153 Comm: kworker/u8:7 Not tainted 6.5.0-1004-oem #4-Ubuntu [ 5.022483] Hardware name: Supermicro C7Q67/C7Q67, BIOS 2.1a 11/10/2015 [ 5.022486] Workqueue: fw_event_mpt2sas0 _firmware_event_work [mpt3sas] [ 5.022533] Call Trace: [ 5.022536] <TASK> [ 5.022539] dump_stack_lvl+0x48/0x70 [ 5.022547] dump_stack+0x10/0x20 [ 5.022551] __ubsan_handle_out_of_bounds+0xc6/0x110 [ 5.022559] _scsih_sas_host_add+0x669/0x700 [mpt3sas] [ 5.022597] _mpt3sas_fw_work+0x753/0xbc0 [mpt3sas] [ 5.022633] ? raw_spin_rq_unlock+0x10/0x40 [ 5.022637] ? finish_task_switch.isra.0+0x85/0x2a0 [ 5.022642] ? __schedule+0x2d4/0x750 [ 5.022648] _firmware_event_work+0x16/0x20 [mpt3sas] [ 5.022681] process_one_work+0x240/0x450 [ 5.022688] worker_thread+0x50/0x3f0 [ 5.022693] ? __pfx_worker_thread+0x10/0x10 [ 5.022698] kthread+0xf2/0x120 [ 5.022704] ? __pfx_kthread+0x10/0x10 [ 5.022710] ret_from_fork+0x47/0x70 [ 5.022717] ? __pfx_kthread+0x10/0x10 [ 5.022722] ret_from_fork_asm+0x1b/0x30 [ 5.022728] </TASK> [ 5.022729] ================================================================================ [ 5.025642] mpt2sas_cm0: host_add: handle(0x0001), sas_addr(0x500062b0002d0050), phys(8) [ 5.025919] ================================================================================ [ 5.027158] 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:6598:38 [ 5.029016] index 1 is out of range for type 'MPI2_SAS_IO_UNIT0_PHY_DATA [1]' [ 5.030064] CPU: 2 PID: 153 Comm: kworker/u8:7 Not tainted 6.5.0-1004-oem #4-Ubuntu [ 5.030069] Hardware name: Supermicro C7Q67/C7Q67, BIOS 2.1a 11/10/2015 [ 5.030071] Workqueue: fw_event_mpt2sas0 _firmware_event_work [mpt3sas] [ 5.030108] Call Trace: [ 5.030110] <TASK> [ 5.030113] dump_stack_lvl+0x48/0x70 [ 5.030119] dump_stack+0x10/0x20 [ 5.030123] __ubsan_handle_out_of_bounds+0xc6/0x110 [ 5.030130] _scsih_sas_host_refresh+0x51f/0x590 [mpt3sas] [ 5.030166] _scsih_sas_topology_change_event.isra.0+0x251/0x690 [mpt3sas] [ 5.030199] ? _mpt3sas_fw_work+0x538/0xbc0 [mpt3sas] [ 5.030234] _mpt3sas_fw_work+0x80d/0xbc0 [mpt3sas] [ 5.030267] ? raw_spin_rq_unlock+0x10/0x40 [ 5.030271] ? finish_task_switch.isra.0+0x85/0x2a0 [ 5.030275] ? __schedule+0x2d4/0x750 [ 5.030280] _firmware_event_work+0x16/0x20 [mpt3sas] [ 5.030313] process_one_work+0x240/0x450 [ 5.030318] worker_thread+0x50/0x3f0 [ 5.030323] ? __pfx_worker_thread+0x10/0x10 [ 5.030327] kthread+0xf2/0x120 [ 5.030333] ? __pfx_kthread+0x10/0x10 [ 5.030338] ret_from_fork+0x47/0x70 [ 5.030344] ? __pfx_kthread+0x10/0x10 [ 5.030349] ret_from_fork_asm+0x1b/0x30 [ 5.030354] </TASK> [ 5.030356] ================================================================================ [ 5.031593] ================================================================================ [ 5.032837] 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:6602:36 [ 5.034687] index 1 is out of range for type 'MPI2_SAS_IO_UNIT0_PHY_DATA [1]' [ 5.035735] CPU: 2 PID: 153 Comm: kworker/u8:7 Not tainted 6.5.0-1004-oem #4-Ubuntu [ 5.035739] Hardware name: Supermicro C7Q67/C7Q67, BIOS 2.1a 11/10/2015 [ 5.035741] Workqueue: fw_event_mpt2sas0 _firmware_event_work [mpt3sas] [ 5.035777] Call Trace: [ 5.035779] <TASK> [ 5.035781] dump_stack_lvl+0x48/0x70 [ 5.035787] dump_stack+0x10/0x20 [ 5.035791] __ubsan_handle_out_of_bounds+0xc6/0x110 [ 5.035798] _scsih_sas_host_refresh+0x4e7/0x590 [mpt3sas] [ 5.035833] _scsih_sas_topology_change_event.isra.0+0x251/0x690 [mpt3sas] [ 5.035866] ? _mpt3sas_fw_work+0x538/0xbc0 [mpt3sas] [ 5.035900] _mpt3sas_fw_work+0x80d/0xbc0 [mpt3sas] [ 5.035933] ? raw_spin_rq_unlock+0x10/0x40 [ 5.035936] ? finish_task_switch.isra.0+0x85/0x2a0 [ 5.035940] ? __schedule+0x2d4/0x750 [ 5.035945] _firmware_event_work+0x16/0x20 [mpt3sas] [ 5.035978] process_one_work+0x240/0x450 [ 5.035983] worker_thread+0x50/0x3f0 [ 5.035988] ? __pfx_worker_thread+0x10/0x10 [ 5.035992] kthread+0xf2/0x120 [ 5.035998] ? __pfx_kthread+0x10/0x10 [ 5.036003] ret_from_fork+0x47/0x70 [ 5.036009] ? __pfx_kthread+0x10/0x10 [ 5.036014] ret_from_fork_asm+0x1b/0x30 [ 5.036019] </TASK> [ 5.036021] ================================================================================ [ 5.037265] ================================================================================ [ 5.038503] 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:6619:7 [ 5.040338] index 1 is out of range for type 'MPI2_SAS_IO_UNIT0_PHY_DATA [1]' [ 5.041391] CPU: 2 PID: 153 Comm: kworker/u8:7 Not tainted 6.5.0-1004-oem #4-Ubuntu [ 5.041396] Hardware name: Supermicro C7Q67/C7Q67, BIOS 2.1a 11/10/2015 [ 5.041398] Workqueue: fw_event_mpt2sas0 _firmware_event_work [mpt3sas] [ 5.041432] Call Trace: [ 5.041434] <TASK> [ 5.041436] dump_stack_lvl+0x48/0x70 [ 5.041441] dump_stack+0x10/0x20 [ 5.041446] __ubsan_handle_out_of_bounds+0xc6/0x110 [ 5.041452] _scsih_sas_host_refresh+0x503/0x590 [mpt3sas] [ 5.041486] _scsih_sas_topology_change_event.isra.0+0x251/0x690 [mpt3sas] [ 5.041521] ? _mpt3sas_fw_work+0x538/0xbc0 [mpt3sas] [ 5.041564] _mpt3sas_fw_work+0x80d/0xbc0 [mpt3sas] [ 5.041597] ? raw_spin_rq_unlock+0x10/0x40 [ 5.041600] ? finish_task_switch.isra.0+0x85/0x2a0 [ 5.041604] ? __schedule+0x2d4/0x750 [ 5.041609] _firmware_event_work+0x16/0x20 [mpt3sas] [ 5.041641] process_one_work+0x240/0x450 [ 5.041647] worker_thread+0x50/0x3f0 [ 5.041652] ? __pfx_worker_thread+0x10/0x10 [ 5.041656] kthread+0xf2/0x120 [ 5.041662] ? __pfx_kthread+0x10/0x10 [ 5.041667] ret_from_fork+0x47/0x70 [ 5.041673] ? __pfx_kthread+0x10/0x10 [ 5.041678] ret_from_fork_asm+0x1b/0x30 [ 5.041683] </TASK> [ 5.041685] ================================================================================ [ 5.042922] ================================================================================ [ 5.044159] 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:6666:21 [ 5.046013] index 1 is out of range for type 'MPI2_SAS_IO_UNIT0_PHY_DATA [1]' [ 5.047061] CPU: 2 PID: 153 Comm: kworker/u8:7 Not tainted 6.5.0-1004-oem #4-Ubuntu [ 5.047064] Hardware name: Supermicro C7Q67/C7Q67, BIOS 2.1a 11/10/2015 [ 5.047066] Workqueue: fw_event_mpt2sas0 _firmware_event_work [mpt3sas] [ 5.047100] Call Trace: [ 5.047102] <TASK> [ 5.047104] dump_stack_lvl+0x48/0x70 [ 5.047109] dump_stack+0x10/0x20 [ 5.047114] __ubsan_handle_out_of_bounds+0xc6/0x110 [ 5.047120] _scsih_sas_host_refresh+0x53b/0x590 [mpt3sas] [ 5.047154] _scsih_sas_topology_change_event.isra.0+0x251/0x690 [mpt3sas] [ 5.047186] ? _mpt3sas_fw_work+0x538/0xbc0 [mpt3sas] [ 5.047219] _mpt3sas_fw_work+0x80d/0xbc0 [mpt3sas] [ 5.047251] ? raw_spin_rq_unlock+0x10/0x40 [ 5.047255] ? finish_task_switch.isra.0+0x85/0x2a0 [ 5.047258] ? __schedule+0x2d4/0x750 [ 5.047264] _firmware_event_work+0x16/0x20 [mpt3sas] [ 5.047296] process_one_work+0x240/0x450 [ 5.047301] worker_thread+0x50/0x3f0 [ 5.047306] ? __pfx_worker_thread+0x10/0x10 [ 5.047310] kthread+0xf2/0x120 [ 5.047316] ? __pfx_kthread+0x10/0x10 [ 5.047321] ret_from_fork+0x47/0x70 [ 5.047327] ? __pfx_kthread+0x10/0x10 [ 5.047332] ret_from_fork_asm+0x1b/0x30 [ 5.047337] </TASK> [ 5.047339] ================================================================================ [ 5.048587] ================================================================================ [ 5.049825] 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:7649:32 [ 5.051675] index 1 is out of range for type 'MPI2_EVENT_SAS_TOPO_PHY_ENTRY [1]' [ 5.052767] CPU: 2 PID: 153 Comm: kworker/u8:7 Not tainted 6.5.0-1004-oem #4-Ubuntu [ 5.052771] Hardware name: Supermicro C7Q67/C7Q67, BIOS 2.1a 11/10/2015 [ 5.052773] Workqueue: fw_event_mpt2sas0 _firmware_event_work [mpt3sas] [ 5.052808] Call Trace: [ 5.052809] <TASK> [ 5.052811] dump_stack_lvl+0x48/0x70 [ 5.052817] dump_stack+0x10/0x20 [ 5.052821] __ubsan_handle_out_of_bounds+0xc6/0x110 [ 5.052827] _scsih_sas_topology_change_event.isra.0+0x5ac/0x690 [mpt3sas] [ 5.052860] ? _mpt3sas_fw_work+0x538/0xbc0 [mpt3sas] [ 5.052893] _mpt3sas_fw_work+0x80d/0xbc0 [mpt3sas] [ 5.052925] ? raw_spin_rq_unlock+0x10/0x40 [ 5.052929] ? finish_task_switch.isra.0+0x85/0x2a0 [ 5.052932] ? __schedule+0x2d4/0x750 [ 5.052938] _firmware_event_work+0x16/0x20 [mpt3sas] [ 5.052970] process_one_work+0x240/0x450 [ 5.052975] worker_thread+0x50/0x3f0 [ 5.052980] ? __pfx_worker_thread+0x10/0x10 [ 5.052984] kthread+0xf2/0x120 [ 5.052990] ? __pfx_kthread+0x10/0x10 [ 5.052995] ret_from_fork+0x47/0x70 [ 5.053001] ? __pfx_kthread+0x10/0x10 [ 5.053006] ret_from_fork_asm+0x1b/0x30 [ 5.053011] </TASK> [ 5.053013] ================================================================================ [ 5.054251] ================================================================================ [ 5.055489] 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:7651:23 [ 5.057343] index 1 is out of range for type 'MPI2_EVENT_SAS_TOPO_PHY_ENTRY [1]' [ 5.058430] CPU: 2 PID: 153 Comm: kworker/u8:7 Not tainted 6.5.0-1004-oem #4-Ubuntu [ 5.058434] Hardware name: Supermicro C7Q67/C7Q67, BIOS 2.1a 11/10/2015 [ 5.058436] Workqueue: fw_event_mpt2sas0 _firmware_event_work [mpt3sas] [ 5.058469] Call Trace: [ 5.058471] <TASK> [ 5.058473] dump_stack_lvl+0x48/0x70 [ 5.058478] dump_stack+0x10/0x20 [ 5.058482] __ubsan_handle_out_of_bounds+0xc6/0x110 [ 5.058489] _scsih_sas_topology_change_event.isra.0+0x587/0x690 [mpt3sas] [ 5.058522] _mpt3sas_fw_work+0x80d/0xbc0 [mpt3sas] [ 5.058554] ? raw_spin_rq_unlock+0x10/0x40 [ 5.058557] ? finish_task_switch.isra.0+0x85/0x2a0 [ 5.058561] ? __schedule+0x2d4/0x750 [ 5.058566] _firmware_event_work+0x16/0x20 [mpt3sas] [ 5.058598] process_one_work+0x240/0x450 [ 5.058603] worker_thread+0x50/0x3f0 [ 5.058608] ? __pfx_worker_thread+0x10/0x10 [ 5.058612] kthread+0xf2/0x120 [ 5.058618] ? __pfx_kthread+0x10/0x10 [ 5.058623] ret_from_fork+0x47/0x70 [ 5.058629] ? __pfx_kthread+0x10/0x10 [ 5.058634] ret_from_fork_asm+0x1b/0x30 [ 5.058639] </TASK> [ 5.058641] ================================================================================ [ 5.059880] ================================================================================ [ 5.061123] 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 [ 5.062972] index 1 is out of range for type 'MPI2_EVENT_SAS_TOPO_PHY_ENTRY [1]' [ 5.064057] CPU: 2 PID: 153 Comm: kworker/u8:7 Not tainted 6.5.0-1004-oem #4-Ubuntu [ 5.064061] Hardware name: Supermicro C7Q67/C7Q67, BIOS 2.1a 11/10/2015 [ 5.064063] Workqueue: fw_event_mpt2sas0 _firmware_event_work [mpt3sas] [ 5.064096] Call Trace: [ 5.064098] <TASK> [ 5.064100] dump_stack_lvl+0x48/0x70 [ 5.064105] dump_stack+0x10/0x20 [ 5.064110] __ubsan_handle_out_of_bounds+0xc6/0x110 [ 5.064116] _scsih_sas_topology_change_event.isra.0+0x630/0x690 [mpt3sas] [ 5.064161] _mpt3sas_fw_work+0x80d/0xbc0 [mpt3sas] [ 5.064194] ? raw_spin_rq_unlock+0x10/0x40 [ 5.064198] ? finish_task_switch.isra.0+0x85/0x2a0 [ 5.064202] ? __schedule+0x2d4/0x750 [ 5.064207] _firmware_event_work+0x16/0x20 [mpt3sas] [ 5.064239] process_one_work+0x240/0x450 [ 5.064245] worker_thread+0x50/0x3f0 [ 5.064249] ? __pfx_worker_thread+0x10/0x10 [ 5.064254] kthread+0xf2/0x120 [ 5.064259] ? __pfx_kthread+0x10/0x10 [ 5.064265] ret_from_fork+0x47/0x70 [ 5.064270] ? __pfx_kthread+0x10/0x10 [ 5.064276] ret_from_fork_asm+0x1b/0x30 [ 5.064281] </TASK> [ 5.064282] ================================================================================ [ 10.396594] mpt2sas_cm0: port enable: SUCCESS lsb_release -rd Description: Ubuntu 22.04.3 LTS Release: 22.04 apt-cache policy linux-image-6.5.0-1004-oem linux-image-6.5.0-1004-oem: Installed: 6.5.0-1004.4 Candidate: 6.5.0-1004.4 Version table: *** 6.5.0-1004.4 500 500 http://us.archive.ubuntu.com/ubuntu jammy-updates/main amd64 Packages 500 http://security.ubuntu.com/ubuntu jammy-security/main amd64 Packages 100 /var/lib/dpkg/status To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux-oem-6.5/+bug/2039231/+subscriptions -- Mailing list: https://launchpad.net/~kernel-packages Post to : kernel-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~kernel-packages More help : https://help.launchpad.net/ListHelp