1
0
mirror of https://git.openwrt.org/openwrt/openwrt.git synced 2024-06-26 09:37:29 +02:00
openwrt/package/kernel
Rafał Miłecki 19a6c4b2b3 mac80211: brcmfmac: fix a possible NULL pointer dereference
This fixes a possible crash in the brcmf_fw_request_nvram_done():
[   31.687293] Backtrace:
[   31.689760] [<c004fb4c>] (__wake_up_common) from [<c004fc38>] (__wake_up_locked+0x1c/0x24)
[   31.698043]  r10:c6794000 r9:00000009 r8:00000001 r7:bf54dda0 r6:a0000013 r5:c78e7d38
[   31.705928]  r4:c78e7d3c r3:00000000
[   31.709528] [<c004fc1c>] (__wake_up_locked) from [<c00502a8>] (complete+0x3c/0x4c)
[   31.717148] [<c005026c>] (complete) from [<bf54590c>] (brcmf_fw_request_nvram_done+0x5c8/0x6a4 [brcmfmac])
[   31.726818]  r7:bf54dda0 r6:c6794000 r5:00001990 r4:c6782380
[   31.732544] [<bf545344>] (brcmf_fw_request_nvram_done [brcmfmac]) from [<c0204e40>] (request_firmware_work_func+0x38/0x60)
[   31.743607]  r10:00000008 r9:c6bdd700 r8:00000000 r7:c72c3cd8 r6:c67f4300 r5:c6bda300
[   31.751493]  r4:c67f4300
[   31.754046] [<c0204e08>] (request_firmware_work_func) from [<c0034458>] (process_one_work+0x1e0/0x318)
[   31.763365]  r4:c72c3cc0
[   31.765913] [<c0034278>] (process_one_work) from [<c0035234>] (worker_thread+0x2f4/0x448)
[   31.774107]  r10:00000008 r9:00000000 r8:c6bda314 r7:c72c3cd8 r6:c6bda300 r5:c6bda300
[   31.781993]  r4:c72c3cc0
[   31.784545] [<c0034f40>] (worker_thread) from [<c003984c>] (kthread+0x100/0x114)
[   31.791949]  r10:00000000 r9:00000000 r8:00000000 r7:c0034f40 r6:c72c3cc0 r5:00000000
[   31.799836]  r4:c735dc00 r3:c79ed540
[   31.803438] [<c003974c>] (kthread) from [<c00097d0>] (ret_from_fork+0x14/0x24)
[   31.810672]  r7:00000000 r6:00000000 r5:c003974c r4:c735dc00
[   31.816378] Code: e5b53004 e1a07001 e1a06002 e243000c (e5934000)
[   31.822487] ---[ end trace a0ffbb07a810d503 ]---

Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
(cherry picked from commit 83bcacb521)
2019-02-11 11:46:03 +01:00
..
acx-mac80211 acx-mac80211: fix build on kernel 4.9 2017-11-22 08:21:53 +01:00
ar7-atm ar7-atm: fix function signatures with expected ones 2017-10-29 23:41:00 +01:00
ath10k-ct ath10k-ct: search DT for BDF variant info 2018-07-08 23:22:17 +02:00
avila-wdt build: use KERNEL_MAKE_FLAGS for kernel file compilations 2017-10-29 16:17:05 +01:00
brcm2708-gpu-fw brcm2708-gpu-fw: update to git HEAD 2018-12-27 15:48:00 +01:00
broadcom-wl broadcom-wl: fix compilation with 4.14 2018-02-11 23:15:05 +01:00
button-hotplug build: use KERNEL_MAKE_FLAGS for kernel file compilations 2017-10-29 16:17:05 +01:00
dtc/patches package: kernel: dtc: Add DTO support 2017-11-06 16:39:41 +01:00
gpio-button-hotplug build: use KERNEL_MAKE_FLAGS for kernel file compilations 2017-10-29 16:17:05 +01:00
gpio-nct5104d kernel: gpio-nct5104d remove boardname check 2018-08-08 15:35:46 +02:00
hwmon-gsc build: use KERNEL_MAKE_FLAGS for kernel file compilations 2017-10-29 16:17:05 +01:00
i2c-gpio-custom build: use KERNEL_MAKE_FLAGS for kernel file compilations 2017-10-29 16:17:05 +01:00
kmod-sched-cake kmod-sched-cake: bump to latest cake 2019-01-16 15:30:06 +00:00
lantiq ltq-vdsl-mei: reset g_tx_link_rate on showtime exit 2018-06-18 21:21:54 +02:00
leds-apu2 kernel: leds-apu2 remove boardname check 2018-08-08 15:37:10 +02:00
linux kernel: Add missing config option for NFSDv4 2018-12-18 17:22:04 +01:00
mac80211 mac80211: brcmfmac: fix a possible NULL pointer dereference 2019-02-11 11:46:03 +01:00
mt76 mt76: update to the latest version 2019-01-31 23:23:16 +01:00
mwlwifi mwlwifi: update to version 10.3.8.0-20181114 2018-12-18 17:22:07 +01:00
om-watchdog treewide: use the generic board_name function 2017-07-15 23:13:34 +02:00
rotary-gpio-custom build: use KERNEL_MAKE_FLAGS for kernel file compilations 2017-10-29 16:17:05 +01:00
rtc-rv5c386a build: use KERNEL_MAKE_FLAGS for kernel file compilations 2017-10-29 16:17:05 +01:00
spi-gpio-custom build: use KERNEL_MAKE_FLAGS for kernel file compilations 2017-10-29 16:17:05 +01:00
trelay build: add KERNEL_MAKE and KERNEL_MAKE_FLAGS variables and move to kernel.mk 2017-06-07 18:31:10 +02:00
w1-gpio-custom build: use KERNEL_MAKE_FLAGS for kernel file compilations 2017-10-29 16:17:05 +01:00