summaryrefslogtreecommitdiff
path: root/tools/lib/symbol
diff options
context:
space:
mode:
authorJohan Hovold <johan@kernel.org>2020-06-01 16:39:49 +0300
committerPavel Machek <pavel@ucw.cz>2020-06-22 11:38:00 +0300
commit47a459ecc800a17109d0c496a4e21e478806ee40 (patch)
tree5e2cfb6318dd2c73b0e6b3d618611da8a41e8f1c /tools/lib/symbol
parenta0972fff09479dd09b731360a3a0b09e4fb4d415 (diff)
downloadlinux-47a459ecc800a17109d0c496a4e21e478806ee40.tar.xz
leds: wm831x-status: fix use-after-free on unbind
Several MFD child drivers register their class devices directly under the parent device. This means you cannot blindly do devres conversions so that deregistration ends up being tied to the parent device, something which leads to use-after-free on driver unbind when the class device is released while still being registered. Fixes: 8d3b6a4001ce ("leds: wm831x-status: Use devm_led_classdev_register") Cc: stable <stable@vger.kernel.org> # 4.6 Cc: Amitoj Kaur Chawla <amitoj1606@gmail.com> Signed-off-by: Johan Hovold <johan@kernel.org> Signed-off-by: Pavel Machek <pavel@ucw.cz>
Diffstat (limited to 'tools/lib/symbol')
0 files changed, 0 insertions, 0 deletions