qemu-e2k/tests
Philippe Mathieu-Daudé cc20926e9b tests/qtest/fdc-test: Add a regression test for CVE-2021-20196
Without the previous commit, when running 'make check-qtest-i386'
with QEMU configured with '--enable-sanitizers' we get:

  AddressSanitizer:DEADLYSIGNAL
  =================================================================
  ==287878==ERROR: AddressSanitizer: SEGV on unknown address 0x000000000344
  ==287878==The signal is caused by a WRITE memory access.
  ==287878==Hint: address points to the zero page.
      #0 0x564b2e5bac27 in blk_inc_in_flight block/block-backend.c:1346:5
      #1 0x564b2e5bb228 in blk_pwritev_part block/block-backend.c:1317:5
      #2 0x564b2e5bcd57 in blk_pwrite block/block-backend.c:1498:11
      #3 0x564b2ca1cdd3 in fdctrl_write_data hw/block/fdc.c:2221:17
      #4 0x564b2ca1b2f7 in fdctrl_write hw/block/fdc.c:829:9
      #5 0x564b2dc49503 in portio_write softmmu/ioport.c:201:9

Add the reproducer for CVE-2021-20196.

Suggested-by: Alexander Bulekov <alxndr@bu.edu>
Reviewed-by: Darren Kenny <darren.kenny@oracle.com>
Signed-off-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Message-id: 20211124161536.631563-4-philmd@redhat.com
Signed-off-by: John Snow <jsnow@redhat.com>
2021-12-02 01:09:38 -05:00
..
avocado tests/avocado: fix tcg_plugin mem access count test 2021-11-29 15:12:56 +00:00
bench
data
decode
docker nbd patches for 2021-11-16 2021-11-16 18:55:36 +01:00
fp
guest-debug
image-fuzzer
include
keys
migration
multiboot
perf/block/qcow2
plugin tests/plugin/syscall.c: fix compiler warnings 2021-11-29 15:13:22 +00:00
qapi-schema
qemu-iotests iotests/149: Skip on unsupported ciphers 2021-11-23 15:39:12 +01:00
qtest tests/qtest/fdc-test: Add a regression test for CVE-2021-20196 2021-12-02 01:09:38 -05:00
rocker
tcg tests/tcg/ppc64le: Fix compile flags for byte_reverse 2021-11-17 19:10:44 +01:00
tsan
uefi-test-tools
unit tests/unit/test-smp-parse: Explicit MachineClass name 2021-11-15 21:49:16 +01:00
vm tests/vm: don't build using TCG by default 2021-11-16 16:19:53 +00:00
vmstate-static-checker-data
check-block.sh
dbus-vmstate-daemon.sh
Makefile.include
meson.build
requirements.txt
test-qht-par.c
vhost-user-bridge.c