Bug 4752 - BUG: memory leak in kvm_io_bus_unregister_dev()
Summary: BUG: memory leak in kvm_io_bus_unregister_dev()
Status: NEW
Alias: None
Product: ANCK 4.19 Dev
Classification: ANCK
Component: virt (show other bugs) virt
Version: 4.19-026.x
Hardware: All Linux
: P3-Medium S3-normal
Target Milestone: ---
Assignee: maqiao
QA Contact: shuming
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-04-12 13:46 UTC by ljubomir
Modified: 2023-04-12 13:46 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description ljubomir inspur_group 2023-04-12 13:46:45 UTC
Description of problem:

when kmalloc() fails in kvm_io_bus_unregister_dev(), before removing the bus, we should iterate over all other devices linked to it and call kvm_iodevice_destructor() for them