Linux kernel out-of-bounds read in p54 firmware parser
Linux
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
≥ eff1a59c48e3c6a006eb4fe5f2e405a996f2259d · < f641066b0ddcd1b0cf007c0d04f9c966f6e888ae| No fix yet |
| Linux Linux |
|
|
In the Linux kernel, the following vulnerability has been resolved:
wifi: p54: validate firmware record lengths
The p54 firmware parser accesses component ID and component version records without checking that their lengths cover the fields being read. A malformed record can therefore make the parser read past the record.
Validate the component ID and component version record lengths before accessing their data. The descriptor record is also checked against the shortest descriptor length found in the supported firmware images.
Reject descriptor values that underflow the RX offset or produce an empty RX range before updating the driver state.
From the CVE record · Linux
The Linux kernel p54 firmware parser does not check that component ID and version records are long enough before reading their fields. A malformed firmware record can cause the parser to read past the record when it processes that firmware. The input does not specify whether an attacker can supply the firmware or whether authentication or user interaction is required.
Engineers running Linux kernels with the p54 Wi-Fi driver should check their exposure; affected versions are not specified.