aboutsummaryrefslogtreecommitdiff
path: root/net/nfc/Makefile
diff options
context:
space:
mode:
authorDmitry Osipenko <digetx@gmail.com>2020-08-18 02:58:54 +0300
committerDaniel Lezcano <daniel.lezcano@linaro.org>2020-09-04 11:52:54 +0200
commita5f785ce608cafc444cdf047d1791d5ad97943ba (patch)
tree3fe4a708b1185ad6694567d3c4da4b20498a933c /net/nfc/Makefile
parent0ffdab6f2dea9e23ec33230de24e492ff0b186d9 (diff)
thermal: core: Fix use-after-free in thermal_zone_device_unregister()
The user-after-free bug in thermal_zone_device_unregister() is reported by KASAN. It happens because struct thermal_zone_device is released during of device_unregister() invocation, and hence the "tz" variable shouldn't be touched by thermal_notify_tz_delete(tz->id). Fixes: 55cdf0a283b8 ("thermal: core: Add notifications call in the framework") Signed-off-by: Dmitry Osipenko <digetx@gmail.com> Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org> Link: https://lore.kernel.org/r/20200817235854.26816-1-digetx@gmail.com
Diffstat (limited to 'net/nfc/Makefile')
0 files changed, 0 insertions, 0 deletions