summary refs log tree commit diff stats
path: root/results/classifier/zero-shot/118/none/1890159
blob: 76e754d5680a34b265fd6f88296acc3a10231f84 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
graphic: 0.564
device: 0.312
semantic: 0.229
network: 0.164
i386: 0.137
architecture: 0.125
PID: 0.113
user-level: 0.110
performance: 0.110
debug: 0.101
permissions: 0.099
assembly: 0.092
mistranslation: 0.088
peripherals: 0.072
boot: 0.056
register: 0.052
risc-v: 0.052
ppc: 0.050
arm: 0.047
files: 0.037
socket: 0.036
vnc: 0.035
x86: 0.030
TCG: 0.029
kernel: 0.026
hypervisor: 0.026
VMM: 0.019
virtual: 0.018
KVM: 0.002

Assertion failure in net_tx_pkt_add_raw_fragment through vmxnet3

Hello,
Reproducer:

cat << EOF | ./i386-softmmu/qemu-system-i386 \
-device vmxnet3 -m 64 -nodefaults -qtest stdio -nographic
outl 0xcf8 0x80001010
outl 0xcfc 0xe0000000
outl 0xcf8 0x80001014
outl 0xcfc 0xe0001000
outl 0xcf8 0x80001018
outl 0xcf8 0x80001001
outl 0xcfc 0x3fff3fff
outl 0xcf8 0x80001016
outl 0xcfc 0x5c84ff00
outl 0xcf8 0x800010ff
write 0x0 0x1 0xe1
write 0x1 0x1 0xfe
write 0x2 0x1 0xbe
write 0x3 0x1 0xba
writeq 0xff001020 0xef0bff5ecafe0000
writel 0xe0000605 0xa7ff845e
EOF

==============================================================
qemu-system-i386: hw/net/net_tx_pkt.c:382: _Bool net_tx_pkt_add_raw_fragment(struct NetTxPkt *, hwaddr, size_t): Assertion `pkt->max_raw_frags > pkt->raw_frags' failed.
Aborted


#9 0x5607db7efdc0 in net_tx_pkt_add_raw_fragment /home/alxndr/Development/qemu/general-fuzz/hw/net/net_tx_pkt.c:382:5
#10 0x5607db902ef0 in vmxnet3_process_tx_queue /home/alxndr/Development/qemu/general-fuzz/hw/net/vmxnet3.c:653:18
#11 0x5607db9021db in vmxnet3_io_bar0_write /home/alxndr/Development/qemu/general-fuzz/hw/net/vmxnet3.c:1097:9
#12 0x5607da41f193 in memory_region_write_accessor /home/alxndr/Development/qemu/general-fuzz/softmmu/memory.c:483:5
#13 0x5607da41e637 in access_with_adjusted_size /home/alxndr/Development/qemu/general-fuzz/softmmu/memory.c:544:18
#14 0x5607da41c256 in memory_region_dispatch_write /home/alxndr/Development/qemu/general-fuzz/softmmu/memory.c:1466:16
#15 0x5607d97cd4a6 in flatview_write_continue /home/alxndr/Development/qemu/general-fuzz/exec.c:3176:23

-Alex

This still triggers with the current version of QEMU. Marking as "Confirmed"

Looks like this was fixed by 283f0a05e2 ("hw/net/net_tx_pkt: Fix crash detected by fuzzer")