[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <170135319678.682649.10186168762521739609.b4-ty@pengutronix.de>
Date: Thu, 30 Nov 2023 15:06:36 +0100
From: Philipp Zabel <p.zabel@...gutronix.de>
To: Vivek Gautam <vivek.gautam@...eaurora.org>,
Dmitry Osipenko <digetx@...il.com>,
Mark Brown <broonie@...nel.org>,
Geert Uytterhoeven <geert+renesas@...der.be>
Cc: linux-kernel@...r.kernel.org, linux-renesas-soc@...r.kernel.org
Subject: Re: [PATCH] reset: Fix crash when freeing non-existent optional
resets
On Wed, 29 Nov 2023 17:55:33 +0100, Geert Uytterhoeven wrote:
> When obtaining one or more optional resets, non-existent resets are
> stored as NULL pointers, and all related error and cleanup paths need to
> take this into account.
>
> Currently only reset_control_put() and reset_control_bulk_put()
> get this right. All of __reset_control_bulk_get(),
> of_reset_control_array_get(), and reset_control_array_put() lack the
> proper checking, causing NULL pointer dereferences on failure or
> release.
>
> [...]
Applied to reset/fixes, thanks!
[1/1] reset: Fix crash when freeing non-existent optional resets
https://git.pengutronix.de/cgit/pza/linux/commit/?id=4a6756f56bcf
regards
Philipp
Powered by blists - more mailing lists