I have also encountered the same trace reported in https://bugs.launchpad.net/ubuntu/+source/linux/+bug/2008157/comments/15 on a Dell R450 system: # lspci -vv -s 65:00.0 65:00.0 RAID bus controller: Broadcom / LSI MegaRAID 12GSAS/PCIe Secure SAS38xx DeviceName: SL3 RAID Subsystem: Dell MegaRAID 12GSAS/PCIe Secure SAS38xx Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx+ Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- SERR- [disabled] Capabilities: [40] Power Management version 3 Flags: PMEClk- DSI- D1+ D2+ AuxCurrent=0mA PME(D0-,D1-,D2-,D3hot-,D3cold-) Status: D0 NoSoftRst+ PME-Enable- DSel=0 DScale=0 PME- Capabilities: [50] MSI: Enable- Count=1/1 Maskable+ 64bit+ Address: 0000000000000000 Data: 0000 Masking: 00000000 Pending: 00000000 Capabilities: [70] Express (v2) Endpoint, MSI 00 DevCap: MaxPayload 1024 bytes, PhantFunc 0, Latency L0s unlimited, L1 <64us ExtTag+ AttnBtn- AttnInd- PwrInd- RBE+ FLReset+ SlotPowerLimit 0.000W DevCtl: CorrErr- NonFatalErr+ FatalErr+ UnsupReq+ RlxdOrd+ ExtTag+ PhantFunc- AuxPwr- NoSnoop+ FLReset- MaxPayload 512 bytes, MaxReadReq 4096 bytes DevSta: CorrErr+ NonFatalErr- FatalErr- UnsupReq+ AuxPwr- TransPend- LnkCap: Port #0, Speed 16GT/s, Width x8, ASPM L0s L1, Exit Latency L0s unlimited, L1 <64us ClockPM- Surprise- LLActRep- BwNot- ASPMOptComp+ LnkCtl: ASPM Disabled; RCB 64 bytes Disabled- CommClk+ ExtSynch- ClockPM- AutWidDis- BWInt- AutBWInt- LnkSta: Speed 16GT/s (ok), Width x8 (ok) TrErr- Train- SlotClk+ DLActive- BWMgmt- ABWMgmt- DevCap2: Completion Timeout: Range ABCD, TimeoutDis+, NROPrPrP-, LTR- 10BitTagComp+, 10BitTagReq-, OBFF Not Supported, ExtFmt-, EETLPPrefix- EmergencyPowerReduction Not Supported, EmergencyPowerReductionInit- FRS-, TPHComp-, ExtTPHComp- AtomicOpsCap: 32bit- 64bit- 128bitCAS- DevCtl2: Completion Timeout: 65ms to 210ms, TimeoutDis-, LTR-, OBFF Disabled AtomicOpsCtl: ReqEn- LnkCtl2: Target Link Speed: 16GT/s, EnterCompliance- SpeedDis- Transmit Margin: Normal Operating Range, EnterModifiedCompliance- ComplianceSOS- Compliance De-emphasis: -6dB LnkSta2: Current De-emphasis Level: -3.5dB, EqualizationComplete+, EqualizationPhase1+ EqualizationPhase2+, EqualizationPhase3+, LinkEqualizationRequest- Capabilities: [b0] MSI-X: Enable+ Count=128 Masked- Vector table: BAR=0 offset=00002000 PBA: BAR=0 offset=00003000 Capabilities: [100 v2] Advanced Error Reporting UESta: DLP- SDES- TLP- FCP- CmpltTO- CmpltAbrt- UnxCmplt- RxOF- MalfTLP- ECRC- UnsupReq- ACSViol- UEMsk: DLP- SDES- TLP- FCP- CmpltTO- CmpltAbrt- UnxCmplt+ RxOF- MalfTLP- ECRC- UnsupReq- ACSViol- UESvrt: DLP+ SDES+ TLP+ FCP+ CmpltTO+ CmpltAbrt+ UnxCmplt- RxOF+ MalfTLP+ ECRC+ UnsupReq- ACSViol- CESta: RxErr- BadTLP- BadDLLP- Rollover- Timeout- AdvNonFatalErr+ CEMsk: RxErr+ BadTLP+ BadDLLP+ Rollover+ Timeout+ AdvNonFatalErr+ AERCap: First Error Pointer: 00, ECRCGenCap+ ECRCGenEn+ ECRCChkCap+ ECRCChkEn+ MultHdrRecCap- MultHdrRecEn- TLPPfxPres- HdrLogCap- HeaderLog: 00000000 00000000 00000000 00000000 Capabilities: [148 v1] Power Budgeting Capabilities: [158 v1] Alternative Routing-ID Interpretation (ARI) ARICap: MFVC- ACS-, Next Function: 0 ARICtl: MFVC- ACS-, Function Group: 0 Capabilities: [168 v1] Secondary PCI Express LnkCtl3: LnkEquIntrruptEn-, PerformEqu- LaneErrStat: 0 Capabilities: [188 v1] Physical Layer 16.0 GT/s Capabilities: [1b0 v1] Lane Margining at the Receiver Capabilities: [248 v1] Vendor Specific Information: ID=0002 Rev=4 Len=100 Capabilities: [348 v1] Vendor Specific Information: ID=0001 Rev=1 Len=038 Capabilities: [380 v1] Data Link Feature Kernel driver in use: megaraid_sas Kernel modules: megaraid_sas # uname -a Linux hostname 5.15.0-107-generic #117~20.04.1 SMP Fri May 3 10:35:25 UTC 2024 x86_64 x86_64 x86_64 GNU/Linux (locally compiled, not official packages) # lsb_release -a No LSB modules are available. Distributor ID: Ubuntu Description: Ubuntu 20.04.6 LTS Release: 20.04 Codename: focal [ 20.730599] ================================================================================ [ 20.750523] UBSAN: array-index-out-of-bounds in /build/slowfs/build/ci/git/zynstra/Kernel/kernel-focal/work/ubuntu-bionic/arch/x86/include/asm/topology.h:72:28 [ 20.770112] index -1 is out of range for type 'cpumask *[1024]' [ 20.790291] CPU: 1 PID: 199 Comm: systemd-udevd Not tainted 5.15.0-107-generic #117~20.04.1 [ 20.812965] Hardware name: Dell Inc. PowerEdge R450/073H50, BIOS 1.13.2 12/19/2023 [ 20.812967] Call Trace: [ 20.812969] [ 20.812971] show_stack+0x52/0x5c [ 20.832523] dump_stack_lvl+0x4a/0x63 [ 20.832528] dump_stack+0x10/0x16 [ 20.832529] ubsan_epilogue+0x9/0x36 [ 20.832531] __ubsan_handle_out_of_bounds.cold+0x44/0x49 [ 20.852799] ? ncpus_cmp_func+0x20/0x20 [ 20.872458] megasas_alloc_irq_vectors+0x18a/0x1bd [megaraid_sas] [ 20.903832] megasas_init_fw.cold+0x646/0xf4a [megaraid_sas] [ 20.922520] megasas_probe_one+0x15e/0x4d0 [megaraid_sas] [ 20.940841] ? _raw_spin_unlock_irqrestore+0x23/0x30 [ 20.940845] local_pci_probe+0x48/0x90 [ 20.961224] pci_call_probe+0x53/0x120 [ 20.961226] pci_device_probe+0xc5/0x100 [ 20.961228] call_driver_probe+0x26/0xe0 [ 20.979262] really_probe+0x213/0x340 [ 20.979264] __driver_probe_device+0xe8/0x140 [ 20.979266] driver_probe_device+0x23/0xc0 [ 20.979267] __driver_attach+0xf7/0x1f0 [ 20.999644] ? __device_attach_driver+0x140/0x140 [ 20.999646] bus_for_each_dev+0x7c/0xd0 [ 20.999649] driver_attach+0x1e/0x30 [ 20.999650] bus_add_driver+0x148/0x220 [ 21.084380] driver_register+0x95/0x100 [ 21.084382] __pci_register_driver+0x68/0x70 [ 21.084383] megasas_init+0xdd/0x1000 [megaraid_sas] [ 21.084388] ? 0xffffffffc0124000 [ 21.084390] do_one_initcall+0x46/0x1e0 [ 21.104374] ? kmem_cache_alloc_trace+0x19e/0x2e0 [ 21.104378] do_init_module+0x52/0x290 [ 21.124338] load_module+0x77f/0x800 [ 21.124341] __do_sys_finit_module+0xbf/0x120 [ 21.124343] __x64_sys_finit_module+0x1a/0x20 [ 21.143123] x64_sys_call+0x1ac3/0x1fa0 [ 21.143126] do_syscall_64+0x54/0xb0 [ 21.143128] ? syscall_exit_to_user_mode+0x35/0x50 [ 21.143129] ? do_syscall_64+0x61/0xb0 [ 21.165991] ? exit_to_user_mode_prepare+0x37/0xb0 [ 21.165994] ? syscall_exit_to_user_mode+0x35/0x50 [ 21.165996] ? do_syscall_64+0x61/0xb0 [ 21.184465] ? exit_to_user_mode_prepare+0x37/0xb0 [ 21.184467] ? syscall_exit_to_user_mode+0x35/0x50 [ 21.184469] ? do_syscall_64+0x61/0xb0 [ 21.184470] ? do_syscall_64+0x61/0xb0 [ 21.184471] ? do_syscall_64+0x61/0xb0 [ 21.184472] ? do_syscall_64+0x61/0xb0 [ 21.202609] entry_SYSCALL_64_after_hwframe+0x67/0xd1 [ 21.202612] RIP: 0033:0x7f7e4c6c495d [ 21.202614] Code: 00 c3 66 2e 0f 1f 84 00 00 00 00 00 90 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 03 35 0d 00 f7 d8 64 89 01 48 [ 21.202615] RSP: 002b:00007ffe4ecddcf8 EFLAGS: 00000246 ORIG_RAX: 0000000000000139 [ 21.202617] RAX: ffffffffffffffda RBX: 0000563ba5255230 RCX: 00007f7e4c6c495d [ 21.202618] RDX: 0000000000000000 RSI: 00007f7e4c5a4ded RDI: 0000000000000005 [ 21.214017] ata8: SATA link down (SStatus 0 SControl 300) [ 21.222599] RBP: 0000000000020000 R08: 0000000000000000 R09: 0000000000000000 [ 21.222601] R10: 0000000000000005 R11: 0000000000000246 R12: 00007f7e4c5a4ded [ 21.222601] R13: 0000000000000000 R14: 0000563ba5255aa0 R15: 0000563ba5255230 [ 21.222603] [ 21.222914] ================================================================================