mirror of
https://github.com/Divested-Mobile/DivestOS-Build.git
synced 2025-09-30 07:28:26 -04:00
Update Linux CVE patches
This commit is contained in:
parent
12b63c12b7
commit
3989a1b20b
958 changed files with 21074 additions and 397 deletions
30
Patches/Linux_CVEs/CVE-2017-11051/ANY/1.patch
Normal file
30
Patches/Linux_CVEs/CVE-2017-11051/ANY/1.patch
Normal file
|
@ -0,0 +1,30 @@
|
|||
From 9e08c4d35fc520e9c375884abdf04493e157a0ea Mon Sep 17 00:00:00 2001
|
||||
From: Ashish Kumar Dhanotiya <adhanoti@codeaurora.org>
|
||||
Date: Thu, 6 Jul 2017 16:51:53 +0530
|
||||
Subject: [PATCH] qcacld-2.0: Fix Uninitialized memory issue
|
||||
|
||||
There is a possibility to read uninitialized memory within api
|
||||
__wlan_hdd_cfg80211_testmode.
|
||||
|
||||
To resolve this issue, initilaize buffer hb_params with zero.
|
||||
|
||||
Bug: 62456806
|
||||
Change-Id: Ia8061610a8c35aa7290177c0dcd2c5c36d9fcb35
|
||||
CRs-Fixed: 2061755
|
||||
Signed-off-by: Ecco Park <eccopark@google.com>
|
||||
---
|
||||
drivers/staging/qcacld-2.0/CORE/HDD/src/wlan_hdd_cfg80211.c | 1 +
|
||||
1 file changed, 1 insertion(+)
|
||||
|
||||
diff --git a/drivers/staging/qcacld-2.0/CORE/HDD/src/wlan_hdd_cfg80211.c b/drivers/staging/qcacld-2.0/CORE/HDD/src/wlan_hdd_cfg80211.c
|
||||
index 13956f9063ede..9338b4b98ed5e 100644
|
||||
--- a/drivers/staging/qcacld-2.0/CORE/HDD/src/wlan_hdd_cfg80211.c
|
||||
+++ b/drivers/staging/qcacld-2.0/CORE/HDD/src/wlan_hdd_cfg80211.c
|
||||
@@ -21990,6 +21990,7 @@ static int __wlan_hdd_cfg80211_testmode(struct wiphy *wiphy,
|
||||
return -ENOMEM;
|
||||
}
|
||||
|
||||
+ vos_mem_zero(hb_params, sizeof(tSirLPHBReq));
|
||||
vos_mem_copy(hb_params, buf, buf_len);
|
||||
smeStatus = sme_LPHBConfigReq((tHalHandle)(pHddCtx->hHal),
|
||||
hb_params,
|
Loading…
Add table
Add a link
Reference in a new issue