UBSAN: array-index-out-of-bounds in /build/linux-IPoq5q/linux-6.5.0/drivers/message/fusion/mptsas.c
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
linux (Ubuntu) |
Confirmed
|
Undecided
|
Unassigned |
Bug Description
Steps to reproduce:
1. install a ubuntu 23.10 VM on an ESXi Server
2. hot add a lsilogicsas controller and a lsilogicsas disk
Call Trace will be reported in dmesg log
[ 176.181166] =======
[ 176.181167] UBSAN: array-index-
[ 176.181171] index 1 is out of range for type 'MPI_SAS_
[ 176.181174] CPU: 0 PID: 2102 Comm: (udev-worker) Not tainted 6.5.0-5-generic #5-Ubuntu
[ 176.181177] Hardware name: VMware, Inc. VMware20,1/440BX Desktop Reference Platform, BIOS VMW201.
[ 176.181179] Call Trace:
[ 176.181181] <TASK>
[ 176.181183] dump_stack_
[ 176.181228] dump_stack+
[ 176.181232] __ubsan_
[ 176.181236] mptsas_
[ 176.181248] mptsas_
[ 176.181257] ? __pfx_scsi_
[ 176.181264] ? rpm_idle+
[ 176.181269] mptsas_
[ 176.181277] ? scsi_autopm_
[ 176.181280] mptsas_
[ 176.181289] mptsas_
[ 176.181298] local_pci_
[ 176.181302] pci_call_
[ 176.181307] pci_device_
[ 176.181312] really_
[ 176.181316] __driver_
[ 176.181320] driver_
[ 176.181324] __driver_
[ 176.181327] ? __pfx__
[ 176.181330] bus_for_
[ 176.181333] driver_
[ 176.181336] bus_add_
[ 176.181340] driver_
[ 176.181343] ? __pfx_mptsas_
[ 176.181352] __pci_register_
[ 176.181356] mptsas_
[ 176.181365] do_one_
[ 176.181371] do_init_
[ 176.181375] load_module+
[ 176.181380] ? vfree+0xff/0x2d0
[ 176.181385] init_module_
[ 176.181388] ? init_module_
[ 176.181394] idempotent_
[ 176.181399] __x64_sys_
[ 176.181402] do_syscall_
[ 176.181409] ? exit_to_
[ 176.181413] ? syscall_
[ 176.181417] ? do_syscall_
[ 176.181421] ? syscall_
[ 176.181424] ? do_syscall_
[ 176.181428] entry_SYSCALL_
[ 176.181432] RIP: 0033:0x7f847a725c5d
[ 176.181441] Code: ff 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 8b 71 13 00 f7 d8 64 89 01 48
[ 176.181481] RSP: 002b:00007fff67
[ 176.181484] RAX: ffffffffffffffda RBX: 0000563ba212a6b0 RCX: 00007f847a725c5d
[ 176.181486] RDX: 0000000000000004 RSI: 00007f847aa0144a RDI: 000000000000000d
[ 176.181488] RBP: 00007f847aa0144a R08: 0000000000000040 R09: fffffffffffffde0
[ 176.181490] R10: fffffffffffffe18 R11: 0000000000000246 R12: 0000000000020000
[ 176.181526] R13: 0000563ba2216ae0 R14: 0000000000000000 R15: 0000563ba20dff90
[ 176.181531] </TASK>
[ 176.181532] =======
---
ProblemType: Bug
ApportVersion: 2.27.0-0ubuntu2
Architecture: amd64
AudioDevicesInUse:
USER PID ACCESS COMMAND
/dev/snd/seq: vmware 950 F.... pipewire
CRDA: N/A
CasperMD5CheckR
CurrentDesktop: ubuntu:GNOME
DistroRelease: Ubuntu 23.10
InstallationDate: Installed on 2023-09-26 (0 days ago)
InstallationMedia: Ubuntu 23.10 "Mantic Minotaur" - Beta amd64 (20230919.1)
IwConfig:
lo no wireless extensions.
ens33 no wireless extensions.
Lsusb: Error: command ['lsusb'] failed with exit code 1:
Lsusb-t:
Lsusb-v: Error: command ['lsusb', '-v'] failed with exit code 1:
MachineType: {report[
Package: linux (not installed)
ProcEnviron:
LANG=en_US.UTF-8
PATH=(custom, no user)
SHELL=/bin/bash
TERM=xterm-
ProcFB: 0 vmwgfxdrmfb
ProcKernelCmdLine: BOOT_IMAGE=
ProcVersionSign
RelatedPackageV
linux-
linux-
linux-firmware 20230919.
RfKill:
Tags: mantic
Uname: Linux 6.5.0-5-generic x86_64
UpgradeStatus: No upgrade log present (probably fresh install)
UserGroups: N/A
_MarkForUpload: True
dmi.bios.date: 05/22/2023
dmi.bios.vendor: VMware, Inc.
dmi.bios.version: VMW201.
dmi.board.name: 440BX Desktop Reference Platform
dmi.board.vendor: Intel Corporation
dmi.board.version: None
dmi.chassis.
dmi.chassis.type: 1
dmi.chassis.vendor: No Enclosure
dmi.chassis.
dmi.modalias: dmi:bvnVMware,
dmi.product.name: VMware20,1
dmi.product.
dmi.sys.vendor: VMware, Inc.
description: | updated |
summary: |
- "call trace" is reported for mptsas driver + UBSAN: array-index-out-of-bounds in /build/linux- + IPoq5q/linux-6.5.0/drivers/message/fusion/mptsas.c |
This bug is missing log files that will aid in diagnosing the problem. While running an Ubuntu kernel (not a mainline or third-party kernel) please enter the following command in a terminal window:
apport-collect 2037490
and then change the status of the bug to 'Confirmed'.
If, due to the nature of the issue you have encountered, you are unable to run this command, please add a comment stating that fact and change the bug status to 'Confirmed'.
This change has been made by an automated script, maintained by the Ubuntu Kernel Team.