On 2/20/2019 11:30 AM, Rafał Miłecki wrote:
From: Rafał Miłecki <[email protected]>

While experimenting with firmware loading I ended up in a state of
firmware reporting shared RAM address 0x04000001. It was causing:
[   94.448015] Unable to handle kernel paging request at virtual address 
cd680001
due to reading out of the mapped memory.

This patch adds some basic validation to avoid kernel crashes due to the
unexpected firmware behavior.

Acked-by: Arend van Spriel <[email protected]>
Signed-off-by: Rafał Miłecki <[email protected]>
---
  drivers/net/wireless/broadcom/brcm80211/brcmfmac/pcie.c | 6 ++++++
  1 file changed, 6 insertions(+)

Reply via email to