Files
linux/drivers/misc
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
..
2014-02-28 14:08:42 -08:00
2023-05-15 10:55:03 +09:00
2013-08-27 08:28:01 -07:00
2018-03-22 09:54:47 +01:00
2023-05-15 08:25:32 +09:00