aboutsummaryrefslogtreecommitdiff
path: root/fs/btrfs/dev-replace.c
diff options
context:
space:
mode:
authorDexuan Cui <[email protected]>2019-08-02 22:50:20 +0000
committerLorenzo Pieralisi <[email protected]>2019-08-12 14:14:00 +0100
commit533ca1feed98b0bf024779a14760694c7cb4d431 (patch)
treeddc521c5d171ede296f6e5d3653c2812e3ca591a /fs/btrfs/dev-replace.c
parent5f9e832c137075045d15cd6899ab0505cfb2ca4b (diff)
PCI: hv: Avoid use of hv_pci_dev->pci_slot after freeing it
The slot must be removed before the pci_dev is removed, otherwise a panic can happen due to use-after-free. Fixes: 15becc2b56c6 ("PCI: hv: Add hv_pci_remove_slots() when we unload the driver") Signed-off-by: Dexuan Cui <[email protected]> Signed-off-by: Lorenzo Pieralisi <[email protected]> Cc: [email protected]
Diffstat (limited to 'fs/btrfs/dev-replace.c')
0 files changed, 0 insertions, 0 deletions