qemu: Avoid using stale data in virDomainGetBlockInfo
CVE-2013-6458 Generally, every API that is going to begin a job should do that before fetching data from vm->def. However, qemuDomainGetBlockInfo does not know whether it will have to start a job or not before checking vm->def. To avoid using disk alias that might have been freed while we were waiting for a job, we use its copy. In case the disk was removed in the meantime, we will fail with "cannot find statistics for device '...'" error message.
Showing
-
mentioned in commit 7a9bcfa1
-
mentioned in commit 4dd29d3b
-
mentioned in commit 324279f2
-
mentioned in commit 12ca0aaf
-
mentioned in commit e966f115
-
mentioned in commit 92331918
-
mentioned in commit 6eae1538
-
mentioned in commit c1f8276a
-
mentioned in commit 3451828a
-
mentioned in commit 54cb7f05
-
mentioned in commit 4ee6ed6f
-
mentioned in commit 3a0286f9
想要评论请 注册 或 登录