FPE in npcm7xx_pwm_calculate_freq
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
QEMU |
Expired
|
Undecided
|
Unassigned |
Bug Description
Reproducer:
cat << EOF | ./qemu-
-accel qtest -qtest stdio
write 0xf0103008 0x4 0x09000000
write 0xf010300c 0x4 0xffffffff
EOF
Trace:
../hw/misc/
SUMMARY: UndefinedBehavi
AddressSanitize
=======
==717868==ERROR: AddressSanitizer: FPE on unknown address 0x5597c7190150 (pc 0x5597c7190150 bp 0x7fffcb17c5d0 sp 0x7fffcb17c4e0 T0)
#0 0x5597c7190150 in npcm7xx_
#1 0x5597c7190150 in npcm7xx_
#2 0x5597c718f06d in npcm7xx_pwm_write /hw/misc/
#3 0x5597c8d241fe in memory_
#4 0x5597c8d23bfb in access_
#5 0x5597c8d23467 in memory_
#6 0x5597c90b3ffb in flatview_
#7 0x5597c90a971b in flatview_write /softmmu/
#8 0x5597c90a971b in address_space_write /softmmu/
#9 0x5597c8d11eee in qtest_process_
#10 0x5597c8d0eb97 in qtest_process_inbuf /softmmu/
#11 0x5597c955f286 in fd_chr_read /chardev/
#12 0x7f994c124aae in g_main_
#13 0x5597c9bba363 in glib_pollfds_poll /util/main-
#14 0x5597c9bba363 in os_host_
#15 0x5597c9bba363 in main_loop_wait /util/main-
#16 0x5597c8c75599 in qemu_main_loop /softmmu/
#17 0x5597c6f021fd in main /softmmu/
#18 0x7f994bbc9cc9 in __libc_start_main csu/../
#19 0x5597c6e55bc9 in _start (/home/
tags: | added: fuzzer |
tags: | added: arm |
Changed in qemu: | |
status: | New → Confirmed |
This no longer reproduces for me.