Files
linux/drivers
Christophe Leroy fd7aa95303 lkdtm: Add tests for NULL pointer dereference
[ Upstream commit 59a12205d3 ]

Introduce lkdtm tests for NULL pointer dereference: check access or exec
at NULL address, since these errors tend to be reported differently from
the general fault error text. For example from x86:

    pr_alert("BUG: unable to handle kernel %s at %px\n",
        address < PAGE_SIZE ? "NULL pointer dereference" : "paging request",
        (void *)address);

Signed-off-by: Christophe Leroy <christophe.leroy@c-s.fr>
Signed-off-by: Kees Cook <keescook@chromium.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2023-05-15 12:23:17 +09:00
..
2023-05-12 16:27:16 +09:00
2023-05-15 11:22:47 +09:00
2023-05-15 10:39:04 +09:00
2018-02-25 11:05:55 +01:00
2023-05-15 12:17:13 +09:00
2018-05-25 17:06:35 +02:00
2023-05-15 10:37:00 +09:00
2023-05-15 09:23:01 +09:00
2023-05-15 09:51:46 +09:00
2023-05-15 08:28:33 +09:00