summary refs log tree commit diff stats
path: root/results/classifier/zero-shot/105/graphic/786211
blob: 9f8c302c7d51209cfed24f6dce6056be7274fd56 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
graphic: 0.951
semantic: 0.932
instruction: 0.824
device: 0.778
socket: 0.728
network: 0.666
vnc: 0.616
boot: 0.475
mistranslation: 0.444
assembly: 0.376
other: 0.355
KVM: 0.160

Missing checks for valid, writable, firmware in fw_cfg_write

The `fw_cfg_write` function in the firmware emulation is missing checks to ensure that the firmware being written is (a) a valid index, and (b) writable. This can lead to a segmentation fault and potentially (in the case of writing to FW_CFG_INVALID), memory corruption, although the attacker has fairly limited control over whether and what corruption is possible.



fw_cfg_write() support has been removed since QEMU 2.4, so I think we can treat this as fixed now: http://git.qemu.org/?p=qemu.git;a=commitdiff;h=023e3148567ac898c725813