Skip to content

thermal: core: Fix potential use-after-free issues

Rafael J. Wysocki linux-pm lkml 2 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest2 patches 9 repliesIn review
  2. v12 patches 0 repliesSuperseded

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2thermal: core: Reference count the zone in thermal_zone_get_by_id()drivers/thermal/thermal_core.c drivers/thermal/thermal_core.h drivers/thermal/thermal_netlink.c+7 -68 replies
2/2thermal: core: Free tzp copy along with the thermal zonedrivers/thermal/thermal_core.c+1 -31 reply

Reviews trailers per patch

All 2 patches have a Reviewed-by or Acked-by.

PatchLukasz Luba
1/2R-b
2/2R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v2 thread

Cover letter [PATCH v2 0/2] thermal: core: Fix potential use-after-free issues

Hi Everyone,

This is a second iteration of

https://lore.kernel.org/linux-pm/[email protected]

which updates the first patch (to make the code changes more straightforward).

The original description of the series quoted below still applies:

These fix potential use-after-free issues in the thermal netlink code and in the thermal core (during thermal zone unregistration).

They have been found by code inspection, but nevertheless they should be addressed ASAP IMV.

Thanks!