Re: [PATCH] x86/nmi: fix use of unallocated cpumask_var_t

From: Steven Rostedt
Date: Tue Nov 25 2014 - 14:37:49 EST


On Tue, 25 Nov 2014 11:06:00 -0500
Sasha Levin <sasha.levin@xxxxxxxxxx> wrote:

> Commit "x86/nmi: Perform a safe NMI stack trace on all CPUs" has introduced
> a cpumask_var_t variable:
>
> +static cpumask_var_t printtrace_mask;
>
> But never allocated it before using it, which caused a NULL ptr deref when
> trying to print the stack trace:

Thanks, I pulled this in and I'm running it under my test suite now.

-- Steve
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/