[Ubuntu 22.04.4/linux-image-6.5.0-26-generic] Kernel output "UBSAN: array-index-out-of-bounds in /build/linux-hwe-6.5-34pCLi/linux-hwe-6.5-6.5.0/drivers/net/hyperv/netvsc.c:1445:41" multiple times, especially during boot.
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
linux (Ubuntu) |
Confirmed
|
Undecided
|
Marcelo Cerri | ||
Focal |
Fix Committed
|
Undecided
|
Unassigned | ||
Jammy |
Fix Committed
|
Undecided
|
Unassigned | ||
Mantic |
Fix Committed
|
Undecided
|
Unassigned |
Bug Description
Overview:
A newly installed Ubuntu Server 22.04.4 on a Hyper-V virtual machine outputs error message "UBSAN: array-index-
Reproducing steps:
1. Download ubuntu-
2. Create a Hyper-V virtual machine.
3. Install Ubuntu 22.04.4 Server on the VM with the downloaded iso normally.
4. Boot the machine.
Additional Information:
- Host machine: Windows 10 Pro 22H2 OS Build 19045.3758
- Hyper-V configuration version: 9.0
- The error message "UBSAN: array-index-
Changed in linux (Ubuntu): | |
assignee: | nobody → Marcelo Cerri (mhcerri) |
Changed in linux (Ubuntu Focal): | |
status: | Confirmed → Fix Committed |
Changed in linux (Ubuntu Jammy): | |
status: | Confirmed → Fix Committed |
Changed in linux (Ubuntu Mantic): | |
status: | Confirmed → Fix Committed |
I think it was fixed by upstream commit bb9b0e46b84c ("hv: hyperv.h: Replace one-element array with flexible-array member"), need to double check.