Re: [PATCH] hvf: Fix OOB write in RDTSCP instruction decode

2022-02-08 Thread Cameron Esfahani
Ping Cameron > On Oct 29, 2021, at 5:02 PM, Cameron Esfahani wrote: > > A guest could craft a specific stream of instructions that will have QEMU > write 0xF9 to inappropriate locations in memory. Add additional asserts > to check for this. Generate a #UD if there are more than 14 prefix byt

[PATCH] hvf: Fix OOB write in RDTSCP instruction decode

2021-10-29 Thread Cameron Esfahani
A guest could craft a specific stream of instructions that will have QEMU write 0xF9 to inappropriate locations in memory. Add additional asserts to check for this. Generate a #UD if there are more than 14 prefix bytes. Found by Julian Stecklina Signed-off-by: Cameron Esfahani --- target/i38