From 9260319e7411ff8281700a532caa436f40120ec4 Mon Sep 17 00:00:00 2001 From: Christian Krinitsin Date: Fri, 30 May 2025 16:52:07 +0200 Subject: gitlab scraper: download in toml and text format --- .../target_missing/host_missing/accel_missing/2758 | 23 ++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 gitlab/issues_text/target_missing/host_missing/accel_missing/2758 (limited to 'gitlab/issues_text/target_missing/host_missing/accel_missing/2758') diff --git a/gitlab/issues_text/target_missing/host_missing/accel_missing/2758 b/gitlab/issues_text/target_missing/host_missing/accel_missing/2758 new file mode 100644 index 000000000..85598563b --- /dev/null +++ b/gitlab/issues_text/target_missing/host_missing/accel_missing/2758 @@ -0,0 +1,23 @@ +Out-of-bounds access smc91c111_readb() +Description of problem: +An out-of-bounds bug was triggered by my fuzzer. + +It looks like the code doesn't have boundary checks for `data`'s access. + +The error is `hw/net/smc91c111.c:605:24: runtime error: index 2048 out of bounds for type 'uint8_t[2048]' (aka 'unsigned char[2048]')` + +It's likely that the line 457 also needs a check. +Steps to reproduce: +``` +export QEMU_ARGS="-display none -machine accel=qtest, -m 512M -machine realview-eb" +cat << EOF | ./qemu-system-arm $QEMU_ARGS -qtest /dev/null -qtest stdio +writew 0x4e00000c 0x46084a4a +writel 0x4e00000c 0x5c022fcc +clock_step +writel 0x4e000004 0x2fffa1b1 +clock_step +readl 0x4e000008 +EOF +``` +Additional information: + -- cgit 1.4.1