All of lore.kernel.org
 help / color / mirror / Atom feed
* [Bug 1917184] [NEW] qemu-user vm86() segfaults handling interrupt with ss:sp in same page as cs:ip
@ 2021-02-27 23:59 Jeffrey
  2021-05-13 11:59 ` [Bug 1917184] " Thomas Huth
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Jeffrey @ 2021-02-27 23:59 UTC (permalink / raw)
  To: qemu-devel

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


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2021-05-15 11:02 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-02-27 23:59 [Bug 1917184] [NEW] qemu-user vm86() segfaults handling interrupt with ss:sp in same page as cs:ip Jeffrey
2021-05-13 11:59 ` [Bug 1917184] " Thomas Huth
2021-05-14  4:06 ` Jeffrey
2021-05-15 10:53 ` Thomas Huth

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.