Files
linux-st/drivers/rtc
Alexandre Belloni bba3d2daa8 rtc: nvmem: fix possible use after free
In cas of probe failure, devres may free the memory allocated for
rtc->nvram before devm_rtc_release_device() is called. This leads to
rtc_nvram_unregister using it after being freed which may lead to a crash.

This has been shown to happen after commit 461e557b97 ("rtc: nvmem: use
devm_nvmem_register()")

Reported-by: kernel test robot <lkp@intel.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
2018-12-31 00:49:36 +01:00
..
2018-12-10 22:39:37 +01:00
2018-09-28 14:36:49 +02:00
2018-03-17 14:20:56 +01:00
2018-05-03 22:08:00 +02:00
2018-05-03 22:08:00 +02:00
2018-05-03 22:08:00 +02:00
2017-09-01 01:10:11 +02:00
2017-09-01 01:10:11 +02:00
2018-09-28 14:21:02 +02:00
2018-05-03 22:08:00 +02:00
2018-05-18 09:38:22 +02:00
2018-12-10 22:39:47 +01:00
2018-12-10 22:39:49 +01:00
2018-12-10 22:39:52 +01:00
2018-05-22 09:47:17 +02:00
2018-05-03 22:08:00 +02:00
2018-12-10 22:39:57 +01:00
2018-12-10 22:39:59 +01:00
2018-12-10 22:39:37 +01:00
2018-12-10 22:40:01 +01:00
2018-06-07 20:11:08 +02:00
2018-12-10 22:40:03 +01:00
2017-09-05 09:55:02 +02:00
2018-12-10 22:40:05 +01:00
2018-12-10 22:40:07 +01:00
2018-05-17 22:43:22 +02:00
2018-12-10 22:40:08 +01:00
2018-12-10 22:40:10 +01:00
2018-11-12 23:14:09 +01:00
2018-05-23 09:26:19 +02:00
2018-05-03 22:08:00 +02:00
2018-12-10 22:39:37 +01:00
2018-12-10 22:40:12 +01:00
2018-05-17 22:37:11 +02:00
2018-05-03 22:08:00 +02:00