wifi: p54: validate curve data length in the calibration curve converters
Linux
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
≥ eff1a59c48e3c6a006eb4fe5f2e405a996f2259d · < 3bdcc4d61212b001b8752d80036509b4974ce16c| No fix yet |
| Linux Linux |
|
|
In the Linux kernel, the following vulnerability has been resolved:
wifi: p54: validate curve data length in the calibration curve converters
p54_convert_rev0() and p54_convert_rev1() read calibration curve data from the device-supplied EEPROM entry using channel and points-per-channel counts taken verbatim from that same entry, so an entry that declares more data than it carries drives an out-of-bounds read past the EEPROM buffer (verified with a KASAN reproducer of the conversion loop). The sibling converters p54_convert_output_limits() and p54_convert_db() already validate their counts against the entry length; this path was missed.
Reject the entry when the counts do not fit in the entry data.
From the CVE record · Linux
The Linux kernel's p54 calibration curve converters do not check whether device-supplied EEPROM data is long enough for the channel and points-per-channel counts it declares. A malformed entry can cause an out-of-bounds read during conversion. The input does not specify an attacker access level or any required user interaction.
Engineers running Linux systems that use the p54 Wi-Fi driver should check their kernel versions; affected versions are not specified.