Problem:
This bug is also being reporting on my Lenovo x3650 Server, so adding here to confirm multiple occurrence/
Ubuntu Version:
$ cat /etc/*release DISTRIB_ID=Ubuntu DISTRIB_RELEASE=22.04 DISTRIB_CODENAME=jammy DISTRIB_DESCRIPTION="Ubuntu 22.04.1 LTS" PRETTY_NAME="Ubuntu 22.04.1 LTS" NAME="Ubuntu" VERSION_ID="22.04" VERSION="22.04.1 LTS (Jammy Jellyfish)" VERSION_CODENAME=jammy ID=ubuntu ID_LIKE=debian HOME_URL="https://www.ubuntu.com/" SUPPORT_URL="https://help.ubuntu.com/" BUG_REPORT_URL="https://bugs.launchpad.net/ubuntu/" PRIVACY_POLICY_URL="https://www.ubuntu.com/legal/terms-and-policies/privacy-policy" UBUNTU_CODENAME=jammy
kernel version:
$ uname -a Linux blue 5.15.0-58-generic #64-Ubuntu SMP Thu Jan 5 11:43:13 UTC 2023 x86_64 x86_64 x86_64 GNU/Linux
[ 4.607349] UBSAN: array-index-out-of-bounds in /build/linux-oKJrrr/linux-5.15.0/drivers/scsi/megaraid/megaraid_sas_fp.c:103:32 [ 4.607725] index 5 is out of range for type 'MR_LD_SPAN_MAP [1]' [ 4.607925] CPU: 0 PID: 402 Comm: kworker/0:2 Not tainted 5.15.0-58-generic #64-Ubuntu [ 4.607930] Hardware name: LENOVO System x3650 M5: -[8871AC1]-/01KN179, BIOS -[TCE148A-3.30]- 10/26/2020 [ 4.607932] Workqueue: events work_for_cpu_fn [ 4.607944] Call Trace: [ 4.607948] <TASK> [ 4.607950] show_stack+0x52/0x5c [ 4.607958] dump_stack_lvl+0x4a/0x63 [ 4.607968] dump_stack+0x10/0x16 [ 4.607972] ubsan_epilogue+0x9/0x49 [ 4.607977] __ubsan_handle_out_of_bounds.cold+0x44/0x49 [ 4.607982] ? MR_PopulateDrvRaidMap+0x295/0x580 [megaraid_sas] [ 4.608002] mr_update_load_balance_params+0xb9/0xc0 [megaraid_sas] [ 4.608014] MR_ValidateMapInfo+0x8d/0x290 [megaraid_sas] [ 4.608025] megasas_init_adapter_fusion+0x3ce/0x420 [megaraid_sas] [ 4.608036] ? megasas_setup_reply_map+0x49/0xac [megaraid_sas] [ 4.608050] megasas_init_fw.cold+0x87f/0x10c8 [megaraid_sas] [ 4.608064] megasas_probe_one+0x15c/0x4e0 [megaraid_sas] [ 4.608075] local_pci_probe+0x4b/0x90 [ 4.608081] work_for_cpu_fn+0x1a/0x30 [ 4.608085] process_one_work+0x22b/0x3d0 [ 4.608089] worker_thread+0x223/0x420 [ 4.608092] ? process_one_work+0x3d0/0x3d0 [ 4.608095] kthread+0x12a/0x150 [ 4.608099] ? set_kthread_struct+0x50/0x50 [ 4.608103] ret_from_fork+0x22/0x30 [ 4.608110] </TASK> [ 4.608111] ================================================================================ [ 4.608385] ================================================================================ [ 4.608655] UBSAN: array-index-out-of-bounds in /build/linux-oKJrrr/linux-5.15.0/drivers/scsi/megaraid/megaraid_sas_fp.c:103:32 [ 4.609031] index 5 is out of range for type 'MR_LD_SPAN_MAP [1]' [ 4.609230] CPU: 0 PID: 402 Comm: kworker/0:2 Not tainted 5.15.0-58-generic #64-Ubuntu [ 4.609233] Hardware name: LENOVO System x3650 M5: -[8871AC1]-/01KN179, BIOS -[TCE148A-3.30]- 10/26/2020 [ 4.609234] Workqueue: events work_for_cpu_fn [ 4.609239] Call Trace: [ 4.609240] <TASK> [ 4.609241] show_stack+0x52/0x5c [ 4.609244] dump_stack_lvl+0x4a/0x63 [ 4.609249] dump_stack+0x10/0x16 [ 4.609253] ubsan_epilogue+0x9/0x49 [ 4.609257] __ubsan_handle_out_of_bounds.cold+0x44/0x49 [ 4.609262] ? mr_update_load_balance_params+0xb9/0xc0 [megaraid_sas] [ 4.609274] MR_ValidateMapInfo+0x20f/0x290 [megaraid_sas] [ 4.609285] megasas_init_adapter_fusion+0x3ce/0x420 [megaraid_sas] [ 4.609295] ? megasas_setup_reply_map+0x49/0xac [megaraid_sas] [ 4.609309] megasas_init_fw.cold+0x87f/0x10c8 [megaraid_sas] [ 4.609322] megasas_probe_one+0x15c/0x4e0 [megaraid_sas] [ 4.609333] local_pci_probe+0x4b/0x90 [ 4.609336] work_for_cpu_fn+0x1a/0x30 [ 4.609340] process_one_work+0x22b/0x3d0 [ 4.609343] worker_thread+0x223/0x420 [ 4.609346] ? process_one_work+0x3d0/0x3d0 [ 4.609349] kthread+0x12a/0x150 [ 4.609352] ? set_kthread_struct+0x50/0x50 [ 4.609356] ret_from_fork+0x22/0x30 [ 4.609361] </TASK>
Also report on kernel.org bugzilla: https://bugzilla.kernel.org/show_bug.cgi?id=215943
Problem:
This bug is also being reporting on my Lenovo x3650 Server, so adding here to confirm multiple occurrence/
Ubuntu Version:
$ cat /etc/*release RELEASE= 22.04 CODENAME= jammy DESCRIPTION= "Ubuntu 22.04.1 LTS" CODENAME= jammy /www.ubuntu. com/" /help.ubuntu. com/" /bugs.launchpad .net/ubuntu/" POLICY_ URL="https:/ /www.ubuntu. com/legal/ terms-and- policies/ privacy- policy" CODENAME= jammy
DISTRIB_ID=Ubuntu
DISTRIB_
DISTRIB_
DISTRIB_
PRETTY_NAME="Ubuntu 22.04.1 LTS"
NAME="Ubuntu"
VERSION_ID="22.04"
VERSION="22.04.1 LTS (Jammy Jellyfish)"
VERSION_
ID=ubuntu
ID_LIKE=debian
HOME_URL="https:/
SUPPORT_URL="https:/
BUG_REPORT_URL="https:/
PRIVACY_
UBUNTU_
kernel version:
$ uname -a
Linux blue 5.15.0-58-generic #64-Ubuntu SMP Thu Jan 5 11:43:13 UTC 2023 x86_64 x86_64 x86_64 GNU/Linux
[ 4.607349] UBSAN: array-index- out-of- bounds in /build/ linux-oKJrrr/ linux-5. 15.0/drivers/ scsi/megaraid/ megaraid_ sas_fp. c:103:32 -/01KN179, BIOS -[TCE148A-3.30]- 10/26/2020 0x52/0x5c lvl+0x4a/ 0x63 0x10/0x16 0x9/0x49 handle_ out_of_ bounds. cold+0x44/ 0x49 aidMap+ 0x295/0x580 [megaraid_sas] load_balance_ params+ 0xb9/0xc0 [megaraid_sas] nfo+0x8d/ 0x290 [megaraid_sas] init_adapter_ fusion+ 0x3ce/0x420 [megaraid_sas] setup_reply_ map+0x49/ 0xac [megaraid_sas] init_fw. cold+0x87f/ 0x10c8 [megaraid_sas] probe_one+ 0x15c/0x4e0 [megaraid_sas] probe+0x4b/ 0x90 cpu_fn+ 0x1a/0x30 one_work+ 0x22b/0x3d0 thread+ 0x223/0x420 one_work+ 0x3d0/0x3d0 struct+ 0x50/0x50 fork+0x22/ 0x30 ======= ======= ======= ======= ======= ======= ======= ======= ======= ======= === ======= ======= ======= ======= ======= ======= ======= ======= ======= ======= === out-of- bounds in /build/ linux-oKJrrr/ linux-5. 15.0/drivers/ scsi/megaraid/ megaraid_ sas_fp. c:103:32 -/01KN179, BIOS -[TCE148A-3.30]- 10/26/2020 0x52/0x5c lvl+0x4a/ 0x63 0x10/0x16 0x9/0x49 handle_ out_of_ bounds. cold+0x44/ 0x49 load_balance_ params+ 0xb9/0xc0 [megaraid_sas] nfo+0x20f/ 0x290 [megaraid_sas] init_adapter_ fusion+ 0x3ce/0x420 [megaraid_sas] setup_reply_ map+0x49/ 0xac [megaraid_sas] init_fw. cold+0x87f/ 0x10c8 [megaraid_sas] probe_one+ 0x15c/0x4e0 [megaraid_sas] probe+0x4b/ 0x90 cpu_fn+ 0x1a/0x30 one_work+ 0x22b/0x3d0 thread+ 0x223/0x420 one_work+ 0x3d0/0x3d0 struct+ 0x50/0x50 fork+0x22/ 0x30
[ 4.607725] index 5 is out of range for type 'MR_LD_SPAN_MAP [1]'
[ 4.607925] CPU: 0 PID: 402 Comm: kworker/0:2 Not tainted 5.15.0-58-generic #64-Ubuntu
[ 4.607930] Hardware name: LENOVO System x3650 M5: -[8871AC1]
[ 4.607932] Workqueue: events work_for_cpu_fn
[ 4.607944] Call Trace:
[ 4.607948] <TASK>
[ 4.607950] show_stack+
[ 4.607958] dump_stack_
[ 4.607968] dump_stack+
[ 4.607972] ubsan_epilogue+
[ 4.607977] __ubsan_
[ 4.607982] ? MR_PopulateDrvR
[ 4.608002] mr_update_
[ 4.608014] MR_ValidateMapI
[ 4.608025] megasas_
[ 4.608036] ? megasas_
[ 4.608050] megasas_
[ 4.608064] megasas_
[ 4.608075] local_pci_
[ 4.608081] work_for_
[ 4.608085] process_
[ 4.608089] worker_
[ 4.608092] ? process_
[ 4.608095] kthread+0x12a/0x150
[ 4.608099] ? set_kthread_
[ 4.608103] ret_from_
[ 4.608110] </TASK>
[ 4.608111] =======
[ 4.608385] =======
[ 4.608655] UBSAN: array-index-
[ 4.609031] index 5 is out of range for type 'MR_LD_SPAN_MAP [1]'
[ 4.609230] CPU: 0 PID: 402 Comm: kworker/0:2 Not tainted 5.15.0-58-generic #64-Ubuntu
[ 4.609233] Hardware name: LENOVO System x3650 M5: -[8871AC1]
[ 4.609234] Workqueue: events work_for_cpu_fn
[ 4.609239] Call Trace:
[ 4.609240] <TASK>
[ 4.609241] show_stack+
[ 4.609244] dump_stack_
[ 4.609249] dump_stack+
[ 4.609253] ubsan_epilogue+
[ 4.609257] __ubsan_
[ 4.609262] ? mr_update_
[ 4.609274] MR_ValidateMapI
[ 4.609285] megasas_
[ 4.609295] ? megasas_
[ 4.609309] megasas_
[ 4.609322] megasas_
[ 4.609333] local_pci_
[ 4.609336] work_for_
[ 4.609340] process_
[ 4.609343] worker_
[ 4.609346] ? process_
[ 4.609349] kthread+0x12a/0x150
[ 4.609352] ? set_kthread_
[ 4.609356] ret_from_
[ 4.609361] </TASK>
Also report on kernel.org bugzilla: https:/ /bugzilla. kernel. org/show_ bug.cgi? id=215943