Files
linux/drivers/amlogic
Tao Zeng a8b8b96e53 kasan: fix pc crash if open kasan with vmap stack [1/1]
PD#SWPL-10141

Problem:
If open KASAN, connect wifi, and auto-start apk dianshijia, it will
soon crash as:
[ 56.655524@2] Unable to handle kernel NULL pointer dereference
               at virtual address 00000050
[ 56.658155@2] pgd = d0104000
[ 56.661008@2] [00000050] *pgd=00000000
[ 56.664744@2] Internal error: Oops: 80000005 1 PREEMPT SMP ARM
               common(O) firmware(O) media_clock(O) tb_detect(O)
               dnlp_alg ldim_alg mxl661_fe_32(O)
[ 56.709028@2] CPU: 2 PID: 4930 Comm: kworker/u9:3 Tainted: O 4.9.113 #1
[ 56.716908@2] Hardware name: Generic DT based system
[ 56.721858@2] task: f2632bc0 task.stack: c2010000
[ 56.726530@2] PC is at 0x50
[ 56.729301@2] LR is at 0x0

Solution:
Fix wrong pmd check address

Verify:
TL1 X301

Change-Id: I85e01418789801e0ef7691a9d8963c233e115b28
Signed-off-by: Tao Zeng <tao.zeng@amlogic.com>
2019-11-03 23:04:38 -07:00
..
2017-03-29 00:48:46 -07:00
2019-08-27 03:57:42 -07:00
2019-10-16 02:35:22 -07:00
2019-10-17 04:23:37 -07:00
2019-09-25 00:48:42 -07:00
2019-05-08 19:21:44 -07:00
2019-05-20 23:00:20 -07:00
2018-09-29 05:53:02 -07:00
2019-10-22 01:48:08 -07:00
2019-10-13 19:57:20 -07:00
2019-10-13 19:57:20 -07:00