| Commit message (Collapse) | Author | Age | Files | Lines |
| ... | |
| |
|
|
|
|
|
|
|
|
|
|
|
| |
[Detail]
auxadc:
1. fix auxadc security defect`
Change-Id: I60eeade13b8ddef14cbc2773d7f6fb9d7e8d49b0
Signed-off-by: Xuexi Bai <xuexi.bai@mediatek.com>
CR-Id: ALPS03353887
Feature: Others
Backported to 3.10
Signed-off-by: Mister Oyster <oysterized@gmail.com>
|
| |
|
|
| |
best it can do is crash the whole kernel when zram is used
|
| |
|
|
|
|
|
|
|
|
|
|
| |
[Detail]
dat initialize to 0
[Solution]
Change-Id: Ib539e9624b1b8153eda8dd8f7ce55cb67052be59
CR-Id: ALPS03288635
Feature: Others
Signed-off-by: hongxu.zhao <hongxu.zhao@mediatek.com>
(cherry picked from commit ba50a5f9d3254520dda3a70db87a35401e4e14ac)
|
| |
|
|
|
|
|
|
|
|
|
| |
[Detail]
add mutex protect list_add and list_del
to avoid use after free
Change-Id: Ic7d02a5b97955eaee4d3684e13a4a67f3349b42b
Signed-off-by: Qinglong Chai <qinglong.chai@mediatek.com>
CR-Id: ALPS03275524
Feature: disp
|
| | |
|
| | |
|
| |
|
|
|
|
|
| |
* Revert : Merge mediatek security patches (14326e25d3fc3b4d780c2d9d2eebbe3231ad5376)
* Reapply : 14326e25d3fc3b4d780c2d9d2eebbe3231ad5376
Signed-off-by: Mister Oyster <oysterized@gmail.com>
|
| | |
|
| | |
|
| | |
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
This adds CONFIG_MTK_COMBO_AOSP_TETHERING_SUPPORT which, when enabled,
allows ap and wlan to co-exist in the same interface, as Android
expects.
Most of this functionality is also available (albeit not compilable broken)
under CFG_TC1_FEATURE but that has larger implications around the radio
and usb stack that we do not want to adopt.
Change-Id: Ib1d1be40566f1bb9ccc7be45b49ec8d1f3b3ba58
Ticket: PORRIDGE-30
|
| |
|
|
| |
CVE-2017-0529
|
| |
|
|
| |
CVE-2017-0502
|
| | |
|
| |
|
|
| |
CVE-2017-0517
|
| | |
|
| | |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
[Detail] sync code from L1.MP10
[Solution] manual sync in 1 commit
[Feature] Camcorder Application
MTK-Commit-Id: 7009349bf8a23dd0377dad6759af3da264f6b863
Change-Id: Idba37e1f05a9b05d7da6200c28da114d63f5c33d
Signed-off-by: John.Wei <john.wei@mediatek.com>
CR-Id: ALPS02321162
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
[Detail]
ipanic flow need to use mt_dump flow to avoid reserve memory for
preloader/lk
[Solution]
1.Enable mt_dump ke flow
2.remove preloader/lk memory reserve in MT6735
[Feature] CTS(*)
MTK-Commit-Id: aff7a2ce6a1c6bd805b2acdeaef7c8c28a0cd613
Change-Id: I2264b0544d3219b4ed2dd53483a134182d76aa17
Signed-off-by: Ji Zhang <ji.zhang@mediatek.com>
CR-Id: ALPS02296880
(cherry picked from commit abaf1e786c9856e1a048e55714faa7f98309b96d)
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
[Detail] defects found out by Coverity: memroy leak risk.
related files:aee kernel driver aed-debug.c & aed-main.c
[Solution] fix the defects with kfree().
[Feature] Android Exception Engine(AEE)
MTK-Commit-Id: 3c664402362bd16414b09e9050b91f45849b6a3f
Change-Id: Ib4a67f16d5552a5c5c1096eedef1e8b4ef8faece
Signed-off-by: Zhiyong Wang <zhiyong.wang@mediatek.com>
CR-Id: ALPS02319644
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
[Detail]
CPU0 off
[Solution]
use round_jiffies in mlog timer
[Feature] Others
MTK-Commit-Id: b39445fa9c9c93fbd6bb660011c242688af44f0b
Change-Id: I2b209908f2a7493e1760faafe5bd394969445996
Signed-off-by: mtk10008 <tehsin.lin@mediatek.com>
CR-Id: ALPS02298339
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
[Detail]
Function sprintf does not check the length of buffer.
[Solution]
Using snprintf prevent stack overflow.
[Feature] Monkey Test
MTK-Commit-Id: 699464af6ac730e4edd21773b02aa5e1f6dc9403
Change-Id: I238b71ac9966b1967f4c93ffeb29a7c88d441193
Signed-off-by: mtk10008 <tehsin.lin@mediatek.com>
CR-Id: ALPS02316340
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
[Detail] It has memory leak risk while call aee_kernel_dal_api().
[Solution] Modify aee_kernel_dal_api() with kfree() system call.
[Feature] Memory Optimization
MTK-Commit-Id: 09f75c2a0814049e8285693b5b5c715efe1298f7
Change-Id: I9902927084839175bb72e746c481b0d969d819d6
Signed-off-by: Zhiyong Wang <zhiyong.wang@mediatek.com>
CR-Id: ALPS02312652
|
| | |
|
| |
|
|
| |
Signed-off-by: Mister Oyster <oysterized@gmail.com>
|
| | |
|
| |
|
|
|
|
|
|
|
|
| |
google security issue fix
Bug num:25873324
Change-Id: I2eb8e03dc67209d9a709fc4a27976f986f0b7606
Signed-off-by: Eddie Chen <eddie.chen@mediatek.com>
Signed-off-by: Mister Oyster <oysterized@gmail.com>
|
| |
|
|
|
|
|
|
|
| |
[Detail]
Remove unused gpio debug cmd arrary which will cause secure problem
Bug: ALPS02943506
Change-Id: If5f63928fd5788f853e5e956d7117775e58e32a2
|
| |
|
|
|
|
|
|
|
| |
google security issue fix
Bug num:25873324
Change-Id: I2eb8e03dc67209d9a709fc4a27976f986f0b7606
Signed-off-by: Eddie Chen <eddie.chen@mediatek.com>
|
| | |
|
| |
|
|
|
| |
Change-Id: I8b08502528c4c80f813ebc2efc97e06298ca927d
Ticket: PORRIDGE-495
|
| |
|
|
|
|
|
|
|
|
|
|
| |
Some devices might contain antennas that can do ap-sta connectivity fine
in 5ghz but cannot provide a consistent experience when forming P2P
groups.
This patch adds a toggle that, when active, disables 5ghz channels in
P2P negotiations.
Change-Id: I491f1a7973f1248bd50c381d05987d2814b6f7cd
Ticket: PORRIDGE-56
|
| | |
|
| |
|
|
|
|
|
|
|
| |
Drivers from 3.18 MM kernel
Improves wifi connecting speed
adapted for m2 note: no ant, no fm driver
Signed-off-by: Mister Oyster <oysterized@gmail.com>
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| |
|
|
|
|
|
|
| |
Avoid logging every start or stop of the WDT as this clutters the log.
Bug: 27767950
Change-Id: I29e603b2514392fb1cf2168f89ff105eace6fc8e
Signed-off-by: Tim Kryger <tkryger@google.com>
|
| | |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This commit is the result of
find . -name '*.c' | xargs sed -i 's/ __cpuinit / /g'
find . -name '*.c' | xargs sed -i 's/ __cpuexit / /g'
find . -name '*.c' | xargs sed -i 's/ __cpuinitdata / /g'
find . -name '*.c' | xargs sed -i 's/ __cpuinit$//g'
find ./arch/ -name '*.h' | xargs sed -i 's/ __cpuinit//g'
find . -name '*.c' | xargs sed -i 's/^__cpuinit //g'
find . -name '*.c' | xargs sed -i 's/^__cpuinitdata //g'
find . -name '*.c' | xargs sed -i 's/\*__cpuinit /\*/g'
find . -name '*.c' | xargs sed -i 's/ __cpuinitconst / /g'
find . -name '*.h' | xargs sed -i 's/ __cpuinit / /g'
find . -name '*.h' | xargs sed -i 's/ __cpuinitdata / /g'
git add .
git reset include/linux/init.h
git checkout -- include/linux/init.h
based off : https://github.com/jollaman999/jolla-kernel_bullhead/commit/bc15db84a622eed7d61d3ece579b577154d0ec29
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
[Detail] Open file in kernel space is not a secure way.
[Solution] Remove the file operation in kernel since they are not used.
[Feature] Secure Boot
BUG=23460645
Change-Id: I79bd3f4f29ca1b1b3aa4ca43b8e8d60382341dbc
Signed-off-by: tadd.kao <tadd.kao@mediatek.com>
CR-Id: ALPS02363269
|
| |
|
|
|
|
|
| |
User request_firmware api to read CONNSYS patch binary instead of file_open apiq
Change-Id: I87982afa8b47958e899a7af8ab0d04a72e3f771a
Signed-off-by: ssu-ying hung <ssu-ying.hung@mediatek.com>
|
| |
|
|
| |
Change-Id: I0c8d1539891af9370ba8b364c6eaab8473c8ca0c
|
| |
|
|
|
|
|
| |
Replaced busy udelay loop with usleep_range
to reduce CPU usage in stp_sdio_tx_rx.
Bug: 27713674
|
| |
|
|
|
|
|
|
| |
1.add the unlock step in some error case
2.add a timer to control the abnormal flow
Change-Id: Ief9108eae213214123c8c68aaa83eafc7101bec9
Signed-off-by: ssu-ying hung <ssu-ying.hung@mediatek.com>
|
| | |
|
| |
|
|
| |
Backported from 3.18 MM kernel
|
| |
|
|
|
|
| |
CVE-2016-3936, CVE-2016-3937
An elevation of privilege vulnerability in the MediaTek video driver could enable a local malicious application to execute arbitrary code within the context of the kernel. This issue is rated as High because it first requires compromising a privileged process.
|