Files
linux/drivers/misc
Christophe Leroy 2be8987a07 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>
2019-04-20 09:16:04 +02:00
..
2017-11-15 18:21:04 -08:00
2018-08-21 23:54:18 -04:00
2019-01-13 09:51:10 +01:00
2017-08-28 16:55:48 +02:00
2018-04-23 13:31:27 +02:00