diff options
author | 2025-03-16 02:58:37 +0000 | |
---|---|---|
committer | 2025-03-21 19:21:04 +0100 | |
commit | 919f9f497dbcee75d487400e8f9815b74a6a37df (patch) | |
tree | d90fa37cc815b12be05fe0c7bd418f65f4371cdb /net/ax25/ax25_route.c | |
parent | MAINTAINERS: update bridge entry (diff) | |
download | wireguard-linux-919f9f497dbcee75d487400e8f9815b74a6a37df.tar.xz wireguard-linux-919f9f497dbcee75d487400e8f9815b74a6a37df.zip |
eth: bnxt: fix out-of-range access of vnic_info array
The bnxt_queue_{start | stop}() access vnic_info as much as allocated,
which indicates bp->nr_vnics.
So, it should not reach bp->vnic_info[bp->nr_vnics].
Fixes: 661958552eda ("eth: bnxt: do not use BNXT_VNIC_NTUPLE unconditionally in queue restart logic")
Signed-off-by: Taehee Yoo <ap420073@gmail.com>
Reviewed-by: Michael Chan <michael.chan@broadcom.com>
Link: https://patch.msgid.link/20250316025837.939527-1-ap420073@gmail.com
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
Diffstat (limited to 'net/ax25/ax25_route.c')
0 files changed, 0 insertions, 0 deletions