UBSAN: array-index-out-of-bounds in /build/linux-D15vQj/linux-6.5.0/drivers/md/bcache/bset.c:1098:3
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
linux (Ubuntu) |
Confirmed
|
Undecided
|
Unassigned |
Bug Description
Since I upgraded from lunar to mantic I get a load of those errors (41 on a fresh boot) in dmesg:
```
[ 4.277343] UBSAN: array-index-
[ 4.277728] index 4 is out of range for type 'btree_iter_set [4]'
[ 4.277925] CPU: 7 PID: 247 Comm: kworker/7:1 Not tainted 6.5.0-9-generic #9-Ubuntu
[ 4.278132] Hardware name: Default string Default string/Default string, BIOS WRX80SU8-F6 06/08/2023
[ 4.278531] Workqueue: events register_
[ 4.278754] Call Trace:
[ 4.278949] <TASK>
[ 4.279143] dump_stack_
[ 4.279337] dump_stack+
[ 4.279526] __ubsan_
[ 4.279721] bch_btree_
[ 4.279929] bch_btree_
[ 4.280142] bch_btree_
[ 4.280349] ? __pfx_closure_
[ 4.280557] bch_btree_
[ 4.280764] ? __bch_btree_
[ 4.280975] ? __pfx_up_
[ 4.281170] bch_btree_
[ 4.281375] run_cache_
[ 4.281578] ? srso_return_
[ 4.281773] register_
[ 4.281984] register_
[ 4.282187] register_
[ 4.282387] process_
[ 4.282573] worker_
[ 4.282753] ? srso_return_
[ 4.282931] ? _raw_spin_
[ 4.283113] ? __pfx_worker_
[ 4.283286] kthread+0xf2/0x120
[ 4.283458] ? __pfx_kthread+
[ 4.283631] ret_from_
[ 4.283800] ? __pfx_kthread+
[ 4.283972] ret_from_
[ 4.284143] </TASK>
```
This system has 4 bcache backing devices and 4 bcache cache devices, though they are not associated for now and caching is disabled. It was already like that when I upgraded, so the kernel only uses the backing code, not the caching one.
ProblemType: Bug
DistroRelease: Ubuntu 23.10
Package: linux-image-
ProcVersionSign
Uname: Linux 6.5.0-9-generic x86_64
ApportVersion: 2.27.0-0ubuntu5
Architecture: amd64
CasperMD5CheckR
CurrentDesktop: GNOME
Date: Sat Oct 14 23:16:33 2023
HibernationDevice: RESUME=none
MachineType: {report[
ProcFB:
0 amdgpudrmfb
1 astdrmfb
ProcKernelCmdLine: BOOT_IMAGE=
PulseList: Error: command ['pacmd', 'list'] failed with exit code 1: No PulseAudio daemon running, or not running as session daemon.
RelatedPackageV
linux-
linux-
linux-firmware 20230919.
RfKill:
SourcePackage: linux
UpgradeStatus: No upgrade log present (probably fresh install)
dmi.bios.date: 06/08/2023
dmi.bios.release: 5.23
dmi.bios.vendor: American Megatrends International, LLC.
dmi.bios.version: WRX80SU8-F6
dmi.board.
dmi.board.name: Default string
dmi.board.vendor: Default string
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: Default string
dmi.product.sku: Default string
dmi.product.
dmi.sys.vendor: Default string
modified.
mtime.conffile.
tags: | added: kernel-flexible-array |
This change was made by a bot.