qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug 1917184] [NEW] qemu-user vm86() segfaults handling interrupt with s


From: Jeffrey
Subject: [Bug 1917184] [NEW] qemu-user vm86() segfaults handling interrupt with ss:sp in same page as cs:ip
Date: Sat, 27 Feb 2021 23:59:20 -0000

Public bug reported:

When using qemu-i386 to run a program that uses vm86(), if the vm86 code
calls an interrupt while cs:ip and ss:sp both point within the same
page, do_int tries to write to the page while it is not writable,
causing a segfault.

qemu version 5.2.0, x86-64 host.

** Affects: qemu
     Importance: Undecided
         Status: New

** Attachment added: "Example program"
   https://bugs.launchpad.net/bugs/1917184/+attachment/5469910/+files/vm86bug.c

-- 
You received this bug notification because you are a member of qemu-
devel-ml, which is subscribed to QEMU.
https://bugs.launchpad.net/bugs/1917184

Title:
  qemu-user vm86() segfaults handling interrupt with ss:sp in same page
  as cs:ip

Status in QEMU:
  New

Bug description:
  When using qemu-i386 to run a program that uses vm86(), if the vm86
  code calls an interrupt while cs:ip and ss:sp both point within the
  same page, do_int tries to write to the page while it is not writable,
  causing a segfault.

  qemu version 5.2.0, x86-64 host.

To manage notifications about this bug go to:
https://bugs.launchpad.net/qemu/+bug/1917184/+subscriptions



reply via email to

[Prev in Thread] Current Thread [Next in Thread]