HomeFreeBSD

ixgbe: prevent PBA read over eeprom word size

Description

ixgbe: prevent PBA read over eeprom word size

DPDK commit message

net/ixgbe/base: prevent untrusted loop bound
Added length check against EEPROM size in words to prevent untrusted
loop bound reported by static code analysis.

Signed-off-by: Dawid Zielinski <dawid.zielinski@intel.com>

Obtained from: DPDK (6b58617)

(cherry picked from commit 25771c8c1ae606436823854de01fc2b23178e353)

Details

Provenance
Dawid Zielinski <dawid.zielinski@intel.com>Authored on Fri, Sep 20, 3:33 AM
Kevin Bowling <kbowling@FreeBSD.org>Committed on Fri, Sep 27, 3:40 AM
Parents
rGe4b9ac53e3ae: ixgbe: improve Atom C3000 SWFW semaphore acq
Branches
Unknown
Tags
Unknown

Event Timeline

Kevin Bowling <kbowling@FreeBSD.org> committed rG78cb32166d50: ixgbe: prevent PBA read over eeprom word size (authored by Dawid Zielinski <dawid.zielinski@intel.com>).Fri, Sep 27, 3:40 AM