diff options
| author | Taehee Yoo <[email protected]> | 2025-03-16 02:58:37 +0000 |
|---|---|---|
| committer | Paolo Abeni <[email protected]> | 2025-03-21 18:21:04 +0000 |
| commit | 919f9f497dbcee75d487400e8f9815b74a6a37df (patch) | |
| tree | d90fa37cc815b12be05fe0c7bd418f65f4371cdb /net/core/dev_ioctl.c | |
| parent | MAINTAINERS: update bridge entry (diff) | |
| download | kernel-919f9f497dbcee75d487400e8f9815b74a6a37df.tar.gz kernel-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 <[email protected]>
Reviewed-by: Michael Chan <[email protected]>
Link: https://patch.msgid.link/[email protected]
Signed-off-by: Paolo Abeni <[email protected]>
Diffstat (limited to 'net/core/dev_ioctl.c')
0 files changed, 0 insertions, 0 deletions
