[SRU][F/J/M][PATCH 0/1] Fix UBSAN: array-index-out-of-bounds in drivers/net/hyperv/netvsc.c
Guoqing Jiang
guoqing.jiang at canonical.com
Tue Apr 2 03:04:44 UTC 2024
SRU Justification
BugLink: https://bugs.launchpad.net/bugs/2058477
[Impact]
error message "UBSAN: array-index-out-of-bounds in drivers/net/hyperv/netvsc.c:1446:41" appears
multiple times during boot for a Hyper-V environment.
[Fix]
Clean cherry-pick commit bb9b0e46b84 for Focal, Jammy and Mantic.
[Test case]
check the dmesg to see if there is the error message "UBSAN: array-index-out-of-bounds"
[Regression Potential]
DPDK which processes netvsc packets, so it might incompatible with ancient DPDK, but modern DPDK
had already used flexible array member.
Saurabh Sengar (1):
hv: hyperv.h: Replace one-element array with flexible-array member
include/linux/hyperv.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
--
2.34.1
More information about the kernel-team
mailing list