Hi Chandrakanth,
There seems to be an issue from a call within the megaraid_sas driver
[ 1.004130] megaraid_sas 0000:07:00.0: requested/available msix 16/16
poll_queue 0
[ 1.004154] ------------[ cut here ]------------
[ 1.004162] UBSAN: array-index-out-of-bounds in
/home/ubuntu/build_dir/plucky/arch/x86/include/asm/topology.h:72:28
[ 1.004176] index -1 is out of range for type 'cpumask *[1024]'
....
megaraid_sas 0000:07:00.0: requested/available msix 16/16 poll_queue 0
[ 268.057954] ------------[ cut here ]------------
[ 268.057956] UBSAN: array-index-out-of-bounds in
/home/ubuntu/build_dir/plucky/arch/x86/include/asm/topology.h:72:28
[ 268.058027] index -1 is out of range for type 'cpumask *[1024]'
This is the offending line of code located at
plucky/arch/x86/include/asm/topology.h:72:28
69 /* Returns a pointer to the cpumask of CPUs on Node 'node'. */
70 static inline const struct cpumask *cpumask_of_node(int node)
71 {
72 return node_to_cpumask_map[node];
73 }
Are there any additional patches within megaraid_sas that addresses this issue
"UBSAN: array-index-out-of-bounds"?
--
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.
https://bugs.launchpad.net/bugs/2107492
Title:
[SRU][24.04.03]: megaraid_sas: Features and Bug Fixes
Status in linux package in Ubuntu:
In Progress
Status in linux source package in Noble:
Won't Fix
Status in linux source package in Oracular:
Won't Fix
Status in linux source package in Plucky:
In Progress
Bug description:
[Impact]
We can see that the megaraid_sas driver inbox version in the 24.04.02 point
kernel is 07.727.03.00-rc1 which is old. We would request to include the
following megaraid_sas driver patch set in the upcoming 24.04.03 point release
(tentative release is on June-July).
[Fix]
megaraid_sas driver Upstream commits:
1b4902f0a4f2 scsi: megaraid_sas: Driver version update to 07.734.00.00-rc1
aad9945623ab scsi: megaraid_sas: Block zero-length ATA VPD inquiry
b79e4a2d3e5f scsi: megaraid_sas: Make most module parameters static
0ea163a18b17 scsi: usb: Rename the RESERVE and RELEASE constants
bd326a5ad639 scsi: replace blk_mq_pci_map_queues with blk_mq_map_hw_queues
c9a71ca13f71 scsi: Constify struct pci_device_id
c17618cf664d scsi: Eliminate scsi_register() and scsi_unregister() usage &
docs
47c2e30afcec scsi: Rename .device_configure() into .sdev_configure()
ed638918f4df scsi: Rename .slave_alloc() and .slave_destroy()
50740f4dc78b scsi: megaraid_sas: Fix for a potential deadlock
5f60d5f6bbc1 move asm/unaligned.h to linux/unaligned.h
571d81b482f0 scsi: megaraid_sas: Remove trailing space after \n newline
b97c0741c7dc scsi: Expand all create*_workqueue() invocations
29b4a4975077 scsi: megaraid_sas: struct MR_HOST_DEVICE_LIST: Replace
1-element array with flexible array
ed8ab02c85b3 scsi: megaraid_sas: struct MR_LD_VF_MAP: Replace 1-element
arrays with flexible arrays
aa57abe6a7f9 megaraid_sas: don't set QUEUE_FLAG_NOMERGES
529ed2d8b670 scsi: megaraid_sas: Use PCI_IRQ_INTX instead of PCI_IRQ_LEGACY
b57089d32c2c scsi: megaraid_sas: Switch to using ->device_configure
e75f7555e1e7 scsi: megaraid: Indent Kconfig option help text
[Test Plan]
- Driver load/unlaod
- virtual drive creation (R0, R1) and deletion
- JBOD creation and deletion
- IO run with different profiles (4k...1M) on VDs and JBODs,
- Controller reset while running IOs
- Event handling
[Where problems could occur]
[Other Info]
https://code.launchpad.net/~mreed8855/ubuntu/+source/linux/+git/plucky/+ref/lp_2107492_megaraid_sas_update_3
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/2107492/+subscriptions
--
Mailing list: https://launchpad.net/~kernel-packages
Post to : [email protected]
Unsubscribe : https://launchpad.net/~kernel-packages
More help : https://help.launchpad.net/ListHelp