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). Reviewed-by: Krzysztof Kozlowski <[email protected]> Best regards, Krzysztof -- 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/

