On Mon, Jul 20, 2015 at 5:32 PM, Krzysztof Kozlowski
<[email protected]> wrote:
> 2015-07-21 8:02 GMT+09:00 Dmitry Torokhov <[email protected]>:
>> Commit 59cca865f21e9e7beab73fcf79ba4eb776a4c228 correctly noted that naked
>> kfree() should not be used after failed device_register() call, however,
>> while it added the needed put_device() it forgot to remove the original
>> kfree() causing double-free.
>>
>> Cc: Vasiliy Kulikov <[email protected]>
>> Signed-off-by: Dmitry Torokhov <[email protected]>
>> ---
>>  drivers/rtc/class.c | 6 ++----
>>  1 file changed, 2 insertions(+), 4 deletions(-)
>
> I think it can be cc'ed stable (with fixes tag).

I considered that, but it does not happen on normally working systems.
I'll leave it up to maintainers to annotate as they see fit.

Thanks.

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

Reply via email to