[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20190320154534.46ebab51@gandalf.local.home>
Date: Wed, 20 Mar 2019 15:45:34 -0400
From: Steven Rostedt <rostedt@...dmis.org>
To: Tom Zanussi <tzanussi@...il.com>
Cc: Pali Rohár <pali.rohar@...il.com>,
Mario Limonciello <mario.limonciello@...l.com>,
linux-kernel@...r.kernel.org
Subject: Re: dell_smbios KASAN bug
On Wed, 20 Mar 2019 14:30:21 -0500
Tom Zanussi <tzanussi@...il.com> wrote:
> > diff --git a/drivers/platform/x86/dell-smbios-base.c
> > b/drivers/platform/x86/dell-smbios-base.c
> > index 9dc282ed5a9e..c3825c674522 100644
> > --- a/drivers/platform/x86/dell-smbios-base.c
> > +++ b/drivers/platform/x86/dell-smbios-base.c
> > @@ -619,6 +619,7 @@ static int __init dell_smbios_init(void)
> >
> > fail_platform_driver:
> > kfree(da_tokens);
> > + da_num_tokens = 0;
> > return ret;
> > }
> >
>
>
> Unfortunately, no.
That's really weird. I would recommend throwing in a bunch of printks
to see if things are being freed and set, to make sure this code is hit
and something else isn't just corrupting it.
-- Steve
Powered by blists - more mailing lists