diff options
author | Johan Hovold <[email protected]> | 2017-10-30 11:35:25 +0100 |
---|---|---|
committer | Mark Brown <[email protected]> | 2017-10-31 11:09:23 +0000 |
commit | 67f7b2781fafcc0f52464880154b320fea1ae982 (patch) | |
tree | 4ecd11b1646048334b8aae7bc2a5acdb9d918b40 /drivers/gpu/drm/amd/amdgpu/amdgpu_queue_mgr.c | |
parent | 2bd6bf03f4c1c59381d62c61d03f6cc3fe71f66e (diff) |
spi: fix use-after-free at controller deregistration
The controller is typically freed as part of device_unregister() so
store the bus id before deregistration to avoid use-after-free when the
id is later released.
Fixes: 9b61e302210e ("spi: Pick spi bus number from Linux idr or spi alias")
Signed-off-by: Johan Hovold <[email protected]>
Signed-off-by: Mark Brown <[email protected]>
Cc: stable <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_queue_mgr.c')
0 files changed, 0 insertions, 0 deletions