[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20151222081032.GA2185@nanopsycho.orion>
Date: Tue, 22 Dec 2015 09:10:32 +0100
From: Jiri Pirko <jiri@...nulli.us>
To: netdev@...r.kernel.org
Cc: davem@...emloft.net, idosch@...lanox.com, eladr@...lanox.com,
yotamg@...lanox.com, ogerlitz@...lanox.com
Subject: Re: [patch net-next] mlxsw: core: Use devm_kzalloc to allocate
mlxsw_hwmon structure
Mon, Dec 21, 2015 at 04:12:06PM CET, jiri@...nulli.us wrote:
>From: Jiri Pirko <jiri@...lanox.com>
>
>KASan reported use-after-free for the hwmon structure. So fix this by
>using devm_kzalloc and let the core take care about freeing the memory
>during device dettach.
We found one small change is needed to be added. Will send v2.
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists