Bug is still here... Ubuntu 22.04 jammy Broadcom MegaRAID 9580-8i8e Linux version 6.2.0-37-generic (buildd@bos03-amd64-055) (x86_64-linux-gnu-gcc-11 (Ubuntu 11.4.0-1ubuntu1~22.04) 11.4.0, GNU ld (GNU Binutils for Ubuntu) 2.38) #38~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Thu Nov 2 18:01:13 UTC 2 (Ubuntu 6.2.0-37.38~22.04.1-generic 6.2.16) ... [ 3.869311] megasas: 07.719.03.00-rc1 [ 3.869764] megaraid_sas 0000:43:00.0: BAR:0x0 BAR's base_addr(phys):0x0000028080f00000 mapped virt_addr:0x0000000065c51147 [ 3.869770] megaraid_sas 0000:43:00.0: FW now in Ready state [ 3.869775] megaraid_sas 0000:43:00.0: 63 bit DMA mask and 63 bit consistent mask [ 3.869973] megaraid_sas 0000:43:00.0: firmware supports msix : (128) [ 3.872925] megaraid_sas 0000:43:00.0: requested/available msix 72/72 poll_queue 0 [ 3.872928] ================================================================================ [ 3.872951] UBSAN: array-index-out-of-bounds in /build/linux-hwe-6.2-I50pf3/linux-hwe-6.2-6.2.0/arch/x86/include/asm/topology.h:72:28 [ 3.872979] index -1 is out of range for type 'cpumask *[1024]' [ 3.872995] CPU: 33 PID: 538 Comm: systemd-udevd Not tainted 6.2.0-37-generic #38~22.04.1-Ubuntu [ 3.872999] Hardware name: Supermicro Super Server/H12SSL-i, BIOS 2.5 09/08/2022 [ 3.873001] Call Trace: [ 3.873004] [ 3.873007] dump_stack_lvl+0x48/0x70 [ 3.873015] dump_stack+0x10/0x20 [ 3.873018] __ubsan_handle_out_of_bounds+0xa2/0x100 [ 3.873024] ? __pfx_default_calc_sets+0x10/0x10 [ 3.873030] megasas_alloc_irq_vectors+0x215/0x220 [megaraid_sas] [ 3.873043] megasas_init_fw+0x617/0x1320 [megaraid_sas] [ 3.873057] megasas_probe_one+0x18d/0x5a0 [megaraid_sas] [ 3.873069] local_pci_probe+0x4b/0xb0 [ 3.873075] pci_call_probe+0x55/0x190 [ 3.873080] pci_device_probe+0x84/0x120 [ 3.873084] ? srso_return_thunk+0x5/0x10 [ 3.873090] really_probe+0x1ed/0x450 [ 3.873095] __driver_probe_device+0x8a/0x190 [ 3.873099] driver_probe_device+0x23/0xd0 [ 3.873102] __driver_attach+0x10f/0x220 [ 3.873106] ? __pfx___driver_attach+0x10/0x10 [ 3.873109] bus_for_each_dev+0x83/0xe0 [ 3.873114] driver_attach+0x1e/0x30 [ 3.873116] bus_add_driver+0x152/0x250 [ 3.873119] ? srso_return_thunk+0x5/0x10 [ 3.873124] driver_register+0x83/0x160 [ 3.873127] __pci_register_driver+0x68/0x80 [ 3.873131] megasas_init+0xdb/0xff0 [megaraid_sas] [ 3.873143] ? __pfx_init_module+0x10/0x10 [megaraid_sas] [ 3.873153] do_one_initcall+0x49/0x240 [ 3.873159] ? srso_return_thunk+0x5/0x10 [ 3.873162] ? kmalloc_trace+0x2a/0xb0 [ 3.873168] do_init_module+0x52/0x240 [ 3.873173] load_module+0xb96/0xd60 [ 3.873177] ? security_kernel_post_read_file+0x5c/0x80 [ 3.873183] ? srso_return_thunk+0x5/0x10 [ 3.873186] ? kernel_read_file+0x25c/0x2b0 [ 3.873194] __do_sys_finit_module+0xcc/0x150 [ 3.873197] ? srso_return_thunk+0x5/0x10 [ 3.873200] ? __do_sys_finit_module+0xcc/0x150 [ 3.873209] __x64_sys_finit_module+0x18/0x30 [ 3.873213] do_syscall_64+0x5c/0x90 [ 3.873217] ? srso_return_thunk+0x5/0x10 [ 3.873221] ? syscall_exit_to_user_mode+0x38/0x60 [ 3.873225] ? srso_return_thunk+0x5/0x10 [ 3.873229] ? do_syscall_64+0x69/0x90 [ 3.873232] ? syscall_exit_to_user_mode+0x38/0x60 [ 3.873235] ? srso_return_thunk+0x5/0x10 [ 3.873239] ? do_syscall_64+0x69/0x90 [ 3.873242] ? srso_return_thunk+0x5/0x10 [ 3.873245] ? irqentry_exit+0x43/0x50 [ 3.873249] ? srso_return_thunk+0x5/0x10 [ 3.873252] ? exc_page_fault+0x92/0x1b0 [ 3.873256] entry_SYSCALL_64_after_hwframe+0x73/0xdd [ 3.873260] RIP: 0033:0x7f0618b5da7d [ 3.873264] Code: 5b 41 5c c3 66 0f 1f 84 00 00 00 00 00 f3 0f 1e fa 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 8b 0d 83 a3 0f 00 f7 d8 64 89 01 48 [ 3.873266] RSP: 002b:00007ffc9db735e8 EFLAGS: 00000246 ORIG_RAX: 0000000000000139 [ 3.873270] RAX: ffffffffffffffda RBX: 00005615ff4f7740 RCX: 00007f0618b5da7d [ 3.873272] RDX: 0000000000000000 RSI: 00007f0618cf4441 RDI: 0000000000000005 [ 3.873274] RBP: 0000000000020000 R08: 0000000000000000 R09: 00007ffc9db73720 [ 3.873276] R10: 0000000000000005 R11: 0000000000000246 R12: 00007f0618cf4441 [ 3.873278] R13: 00005615ff4f76a0 R14: 00005615ff526e60 R15: 00005615ff513f20 [ 3.873285] [ 3.873287] ================================================================================ [ 3.873325] megaraid_sas 0000:43:00.0: current msix/online cpus : (72/64) [ 3.873327] megaraid_sas 0000:43:00.0: RDPQ mode : (enabled) [ 3.873332] megaraid_sas 0000:43:00.0: Current firmware supports maximum commands: 5101 LDIO threshold: 0