Files
linux/drivers
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
..
2018-05-30 13:19:56 +02:00
2018-06-26 08:08:05 +08:00
2018-07-03 18:27:19 +02:00
2018-06-16 09:52:35 +02:00
2019-06-27 06:24:39 -07:00
2018-04-14 15:40:56 +02:00
2018-05-30 13:19:56 +02:00
2018-07-17 12:36:18 +02:00
2018-06-06 18:34:12 +02:00
2018-07-17 11:37:53 +02:00
2018-05-30 13:19:56 +02:00
2018-02-25 11:05:55 +01:00
2018-07-17 12:36:18 +02:00
2018-06-13 16:37:10 +02:00
2018-05-25 17:06:35 +02:00
2018-07-17 12:36:18 +02:00
2018-03-22 09:54:47 +01:00
2018-06-26 09:32:02 +08:00
2018-04-30 06:05:25 -07:00
2018-05-25 17:06:35 +02:00
2018-07-11 16:40:16 +02:00
2018-07-03 18:27:19 +02:00
2018-07-03 18:27:19 +02:00