diff options
| author | Christian Krinitsin <mail@krinitsin.com> | 2025-06-01 21:35:14 +0200 |
|---|---|---|
| committer | Christian Krinitsin <mail@krinitsin.com> | 2025-06-01 21:35:14 +0200 |
| commit | 3e4c5a6261770bced301b5e74233e7866166ea5b (patch) | |
| tree | 9379fddaba693ef8a045da06efee8529baa5f6f4 /gitlab/issues_text/target_missing/host_missing/accel_missing/2635 | |
| parent | e5634e2806195bee44407853c4bf8776f7abfa4f (diff) | |
| download | qemu-analysis-3e4c5a6261770bced301b5e74233e7866166ea5b.tar.gz qemu-analysis-3e4c5a6261770bced301b5e74233e7866166ea5b.zip | |
clean up repository
Diffstat (limited to 'gitlab/issues_text/target_missing/host_missing/accel_missing/2635')
| -rw-r--r-- | gitlab/issues_text/target_missing/host_missing/accel_missing/2635 | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/gitlab/issues_text/target_missing/host_missing/accel_missing/2635 b/gitlab/issues_text/target_missing/host_missing/accel_missing/2635 deleted file mode 100644 index ac875080b..000000000 --- a/gitlab/issues_text/target_missing/host_missing/accel_missing/2635 +++ /dev/null @@ -1,12 +0,0 @@ -A use-after-free bug in pflash_cfi01 snapshot implementation -Description of problem: -The flash snapshot restore does not function correctly. Basically when you use “if=pflash,format=raw,unit=0,file=OVMF_VAR.fd", it crashes when trying to restore a snapshot. - -The root cause is: - -1. In system/runstate.c, function vm_state_notify loops through vm_change_state_head list and calls the callback function for each entry. -2. One of the callback function pointer points to function postload_update_cb in hw/block/pflash_cfi01.c. -3. In function postload_update_cb, it calls qemu_del_vm_change_state_handler in which the entry element memory is freed. -4. Note that, it is still running in the loop, the entry will be visited and get executed, the function pointer may point to a wide memory. -Additional information: - |