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 Sep 20 2024, 3:33 AM
Kevin Bowling <kbowling@FreeBSD.org>Committed on Sep 27 2024, 3:34 AM
Parents
rG2bff788d32d1: ixgbe: improve Atom C3000 SWFW semaphore acq
Branches
Unknown
Tags
Unknown

Event Timeline

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