ACK: [SRU][F/J/M][PATCH 0/1] Fix UBSAN: array-index-out-of-bounds in drivers/net/hyperv/netvsc.c

Andrei Gherzan andrei.gherzan at canonical.com
Thu Apr 4 17:13:37 UTC 2024


On 24/04/02 11:04AM, 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: Andrei Gherzan <andrei.gherzan at canonical.com>

-- 
Andrei Gherzan
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <https://lists.ubuntu.com/archives/kernel-team/attachments/20240404/ab294ae0/attachment.sig>


More information about the kernel-team mailing list