[PATCH 0/2] wifi: p54: validate PDA entry data lengths in eeprom parser

From: Shengzhuo Wei

Date: Wed Aug 26 2026 - 13:21:04 EST


p54_parse_eeprom() walks the device-supplied PDA entries but some
handlers read from entry->data without first checking that the entry
actually carries the bytes they read. This series adds the missing
length validations for the two worst offenders: the PA calibration
curve data (a ~191 KB over-read) and the interface-list records.

This continues the EEPROM trust-boundary hardening of
da1b9a55ff11 and ebd6d37fa94b, which validated the readback path but
not the parser that consumes the received data.

Both over-reads were verified with KASAN reproducers of the respective
loops, and both fixes confirmed to silence them.

---
Shengzhuo Wei (2):
wifi: p54: validate curve data length in p54_parse_eeprom()
wifi: p54: require a full exp_if record in PDR_INTERFACE_LIST

drivers/net/wireless/intersil/p54/eeprom.c | 19 ++++++++++++++++++-
1 file changed, 18 insertions(+), 1 deletion(-)
---
base-commit: 66fb95a521110da673090294561844c9f76ebe64
change-id: 20260826-p54-pda-validation-7b2e91f4c6a3

Best regards,
--
Shengzhuo Wei <me@xxxxxxxx>