Comment 3 for bug 2002842

Revision history for this message
John Hartley (graphdrum) wrote :

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