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-05-01 15:13:08 -07:00
2019-11-03 23:04:38 -07:00
2019-09-17 23:30:30 -07:00
2018-07-17 11:37:52 +02:00
2018-06-26 08:08:05 +08:00
2019-10-11 19:39:41 -07:00
2018-08-07 14:43:24 +08:00
2018-07-03 11:23:07 +02:00
2018-04-13 19:47:56 +02:00
2018-05-30 07:50:47 +02:00
2018-08-07 14:43:24 +08:00
2018-08-15 00:30:51 -07:00
2018-10-22 19:37:35 -07:00
2019-04-28 19:38:01 -07:00
2018-07-03 18:27:19 +02:00
2018-06-16 09:52:35 +02:00
2018-02-28 10:18:33 +01:00
2018-04-13 19:48:09 +02:00
2018-05-30 07:50:48 +02:00
2019-06-27 06:24:39 -07:00
2018-04-14 15:40:56 +02:00
2019-09-18 16:49:58 +08:00
2018-05-30 07:50:18 +02:00
2018-05-30 13:19:56 +02:00
2018-08-07 14:43:24 +08:00
2019-07-30 14:58:34 +08:00
2018-07-17 12:36:18 +02:00
2018-03-24 11:00:12 +01:00
2018-04-20 08:20:41 +02:00
2018-05-30 07:50:46 +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-03 11:23:11 +02:00
2018-07-17 12:36:18 +02:00
2019-09-29 04:05:05 -07:00
2018-05-30 07:50:20 +02:00
2019-04-16 23:43:49 -07:00
2018-06-13 16:37:10 +02:00
2018-08-30 20:26:28 -07:00
2018-05-30 07:50:42 +02:00
2018-08-07 14:43:24 +08:00
2019-10-28 04:12:12 -07:00
2018-05-25 17:06:35 +02:00
2018-07-03 11:23:14 +02:00
2018-07-17 12:36:18 +02:00
2019-07-30 03:34:20 -07:00
2019-08-18 19:07:31 -07:00
2019-10-31 03:34:34 -07:00
2018-03-22 09:54:47 +01:00
2018-05-30 07:50:22 +02:00
2018-07-03 11:23:13 +02:00
2018-07-17 11:37:54 +02:00
2019-04-18 00:10:08 -07:00
2018-05-30 07:50:43 +02:00
2018-04-08 12:12:57 +02:00
2018-08-07 14:43:24 +08:00
2019-08-16 08:07:43 -07:00
2018-08-07 14:43:24 +08:00
2018-06-26 09:32:02 +08:00
2018-04-30 06:05:25 -07:00
2018-04-13 19:47:56 +02:00
2018-03-24 11:00:09 +01:00
2019-02-21 21:24:34 -08:00
2018-05-30 07:50:51 +02:00
2018-07-03 11:23:13 +02:00
2018-05-25 17:06:35 +02:00
2018-07-03 11:23:12 +02:00
2018-07-11 16:40:16 +02:00
2018-05-30 07:50:47 +02:00
2019-10-18 00:22:05 -07:00
2019-10-25 00:09:00 -07:00
2018-03-24 11:00:20 +01:00
2019-07-24 20:21:44 -07:00
2018-08-07 14:43:24 +08:00
2018-04-24 09:34:12 +02:00
2019-06-17 22:36:36 -07:00
2018-04-13 19:47:59 +02:00
2019-09-23 04:46:29 -07:00
2018-04-24 09:34:15 +02:00
2018-06-26 08:08:08 +08:00
2018-11-25 23:54:58 -08:00
2018-03-18 11:18:50 +01:00
2018-07-03 18:27:19 +02:00
2018-05-30 07:50:34 +02:00
2018-07-03 18:27:19 +02:00
2018-05-30 07:50:44 +02:00
2018-04-24 17:43:19 +08:00