Files
linux/drivers/misc
Christophe Leroy 14c328b46e 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:07:53 +02:00
..
2014-02-28 14:08:42 -08:00
2019-01-13 10:03:55 +01:00
2013-08-27 08:28:01 -07:00
2016-09-05 08:04:07 +02:00
2018-09-29 03:07:35 -07:00