UBSAN: array-index-out-of-bounds in drivers/scsi/megaraid/megaraid_sas_fp.c:151:32
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
HWE Next |
New
|
Undecided
|
Unassigned | ||
linux (Ubuntu) |
Confirmed
|
Undecided
|
Unassigned | ||
Jammy |
In Progress
|
Undecided
|
AceLan Kao | ||
Kinetic |
In Progress
|
Undecided
|
AceLan Kao |
Bug Description
I'm getting UBSAN complains every boot, this issue exists for years, but I was lazy to report it as everything works. However, not sure if it is security issue:
[ 1.866789] =======
[ 1.866992] =======
[ 1.867187] UBSAN: array-index-
[ 1.867454] index 1 is out of range for type 'MR_LD_SPAN_MAP [1]'
[ 1.867608] CPU: 0 PID: 203 Comm: kworker/0:1H Tainted: G I 5.15.0-58-generic #64-Ubuntu
[ 1.867612] Hardware name: Gigabyte Technology Co., Ltd. X299 UD4/X299 UD4-CF, BIOS F6p 12/06/2021
[ 1.867614] Workqueue: kblockd blk_mq_run_work_fn
[ 1.867620] Call Trace:
[ 1.867621] <TASK>
[ 1.867623] show_stack+
[ 1.867628] dump_stack_
[ 1.867635] dump_stack+
[ 1.867641] ubsan_epilogue+
[ 1.867647] __ubsan_
[ 1.867653] ? _printk+0x58/0x73
[ 1.867658] MR_GetPhyParams
[ 1.867675] MR_BuildRaidCon
[ 1.867693] megasas_
[ 1.867710] megasas_
[ 1.867725] megasas_
[ 1.867739] megasas_
[ 1.867753] ? ktime_get+0x43/0xc0
[ 1.867759] scsi_dispatch_
[ 1.867764] scsi_queue_
[ 1.867771] blk_mq_
[ 1.867779] ? sbitmap_
[ 1.867786] __blk_mq_
[ 1.867792] blk_mq_
[ 1.867797] __blk_mq_
[ 1.867802] blk_mq_
[ 1.867806] __blk_mq_
[ 1.867812] blk_mq_
[ 1.867818] process_
[ 1.867823] worker_
[ 1.867826] ? process_
[ 1.867830] kthread+0x127/0x150
[ 1.867836] ? set_kthread_
[ 1.867843] ret_from_
[ 1.867852] </TASK>
[ 1.867853] =======
ProblemType: Bug
DistroRelease: Ubuntu 22.04
Package: linux-image-
ProcVersionSign
Uname: Linux 5.15.0-58-generic x86_64
NonfreeKernelMo
ApportVersion: 2.20.11-0ubuntu82.3
Architecture: amd64
AudioDevicesInUse:
USER PID ACCESS COMMAND
/dev/snd/
/dev/snd/
/dev/snd/
/dev/snd/
CasperMD5CheckR
CurrentDesktop: XFCE
Date: Fri Jan 13 11:12:10 2023
InstallationDate: Installed on 2020-05-03 (985 days ago)
InstallationMedia: Xubuntu 20.04 LTS "Focal Fossa" - Release amd64 (20200423)
MachineType: Gigabyte Technology Co., Ltd. X299 UD4
ProcFB: 0 EFI VGA
ProcKernelCmdLine: BOOT_IMAGE=
RelatedPackageV
linux-
linux-
linux-firmware 20220329.
SourcePackage: linux
UpgradeStatus: Upgraded to jammy on 2022-07-15 (182 days ago)
dmi.bios.date: 12/06/2021
dmi.bios.release: 5.13
dmi.bios.vendor: American Megatrends Inc.
dmi.bios.version: F6p
dmi.board.
dmi.board.name: X299 UD4-CF
dmi.board.vendor: Gigabyte Technology Co., Ltd.
dmi.board.version: Default string
dmi.chassis.
dmi.chassis.type: 3
dmi.chassis.vendor: Default string
dmi.chassis.
dmi.modalias: dmi:bvnAmerican
dmi.product.family: Default string
dmi.product.name: X299 UD4
dmi.product.sku: Default string
dmi.product.
dmi.sys.vendor: Gigabyte Technology Co., Ltd.
Changed in linux (Ubuntu Jammy): | |
status: | New → In Progress |
Changed in linux (Ubuntu Kinetic): | |
status: | New → In Progress |
Changed in linux (Ubuntu Jammy): | |
assignee: | nobody → AceLan Kao (acelankao) |
Changed in linux (Ubuntu Kinetic): | |
assignee: | nobody → AceLan Kao (acelankao) |
tags: | added: oem-priority originate-from-1992670 somerville |
This change was made by a bot.