mirror of
https://github.com/torvalds/linux.git
synced 2024-12-26 12:52:30 +00:00
2ee3757424
If allocating a new instance of an I/O bus fails when unregistering a
device, wait to destroy the device until after all readers are guaranteed
to see the new null bus. Destroying devices before the bus is nullified
could lead to use-after-free since readers expect the devices on their
reference of the bus to remain valid.
Fixes:
|
||
---|---|---|
.. | ||
kvm | ||
lib | ||
Makefile |