OSV-2022-581 Heap-buffer-overflow in megasas_map_sgl
A heap buffer overflow in QEMU's megasas device emulation allows local attackers to cause denial of service or potentially execute arbitrary code.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Local or same network only
- Victim action needed
- Not needed
- Fix
- None listed
What is OSV-2022-581?
OSV-2022-581 is a memory corruption vulnerability in qemu, published on 14 Jul 2022. It can only be exploited from the same machine or local network, with no action from the victim.
Official description
OSS-Fuzz report: https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=49086
Crash type: Heap-buffer-overflow READ 4
Crash state:
megasas_map_sgl
megasas_mmio_write
megasas_port_write
Which versions are affected by OSV-2022-581?
1 open source package ship an affected version, including qemu.
| Package | Affected | Fixed in |
|---|---|---|
qemu OSS-Fuzz | All versions | None |
How do I fix OSV-2022-581?
No fix has been published for OSV-2022-581 yet. Limit exposure of the affected software until one is available.
Upgrade to the fixed version. Memory-safe languages, compiler hardening and fuzzing prevent most new cases. More about Memory corruption.
Is OSV-2022-581 being exploited?
There is no known exploitation of OSV-2022-581 in the wild and no public exploit code.