[PATCH 1/2] lkdtm/bugs: Add cases for BUG and PANIC occurring in hardirq context
Kees Cook
kees at kernel.org
Wed Dec 3 10:02:56 PST 2025
On Wed, Nov 19, 2025 at 05:54:14PM +0000, Catalin Marinas wrote:
> On Wed, Nov 12, 2025 at 06:53:18PM +0100, Ard Biesheuvel wrote:
> > From: Ard Biesheuvel <ardb at kernel.org>
> >
> > Add lkdtm cases to trigger a BUG() or panic() from hardirq context. This
> > is useful for testing pstore behavior being invoked from such contexts.
> >
> > Signed-off-by: Ard Biesheuvel <ardb at kernel.org>
> > ---
> > drivers/misc/lkdtm/bugs.c | 53 ++++++++++++++++++++
> > 1 file changed, 53 insertions(+)
>
> Kees, are you ok with this patch? Happy to take it through the arm64
> tree together with the second one.
With the small addition I just sent, yeah, this is fine by me. :)
Reviewed-by: Kees Cook <kees at kernel.org>
--
Kees Cook
More information about the linux-arm-kernel
mailing list