wifi: p54: require a full exp_if record in PDR_INTERFACE_LIST
Linux
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
≥ eff1a59c48e3c6a006eb4fe5f2e405a996f2259d · < d2fb6b588dc5bbab4f603661e41cd60f0d931628| No fix yet |
| Linux Linux |
|
|
In the Linux kernel, the following vulnerability has been resolved:
wifi: p54: require a full exp_if record in PDR_INTERFACE_LIST
The PDR_INTERFACE_LIST loop only checks that the record start is within the entry before reading an entire struct exp_if from it. A truncated trailing record makes the if_id/variant reads cross the entry boundary into the heap beyond the EEPROM buffer (verified with a KASAN reproducer of the loop). The variant also feeds the synth front-end selection, so this is not only a leak.
Advance only while a full record still fits in the entry.
From the CVE record · Linux
The Linux kernel p54 Wi-Fi driver can read beyond an EEPROM buffer when a PDR_INTERFACE_LIST entry ends with a truncated record. The out-of-bounds read can also affect synth front-end selection. The input does not establish how an attacker could supply the record or whether authentication or user interaction is required.
Engineers running Linux kernels with the p54 Wi-Fi driver should check their versions; affected versions were not provided.