ACK: [SRU][F/J/M][PATCH 0/1] Fix UBSAN: array-index-out-of-bounds in drivers/net/hyperv/netvsc.c
Tim Gardner
tim.gardner at canonical.com
Thu Apr 4 13:43:28 UTC 2024
On 4/1/24 9:04 PM, Guoqing Jiang wrote:
> 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(-)
>
Acked-by: Tim Gardner <tim.gardner at canonical.com>
--
-----------
Tim Gardner
Canonical, Inc
More information about the kernel-team
mailing list