* [Bug 204175] New: Segmentation: incorrect base calculation in VMX
@ 2019-07-14 15:42 bugzilla-daemon
2026-01-10 19:20 ` [Bug 204175] nVMX: incorrect segment " bugzilla-daemon
0 siblings, 1 reply; 2+ messages in thread
From: bugzilla-daemon @ 2019-07-14 15:42 UTC (permalink / raw)
To: kvm
https://bugzilla.kernel.org/show_bug.cgi?id=204175
Bug ID: 204175
Summary: Segmentation: incorrect base calculation in VMX
Product: Virtualization
Version: unspecified
Kernel Version: 5.*
Hardware: Intel
OS: Linux
Tree: Mainline
Status: NEW
Severity: normal
Priority: P1
Component: kvm
Assignee: virtualization_kvm@kernel-bugs.osdl.org
Reporter: max@m00nbsd.net
Regression: No
In vmx/nested.c::get_vmx_mem_address(), when the guest runs in long mode, the
base address of the memory operand is computed with a simple:
*ret = s.base + off;
This is incorrect, the base applies only to FS and GS, not to the others.
Because of that, if the guest uses a VMX instruction based on DS and has a
DS.base that is non-zero, KVM wrongfully adds the base to the resulting
address.
--
You are receiving this mail because:
You are watching the assignee of the bug.
^ permalink raw reply [flat|nested] 2+ messages in thread
* [Bug 204175] nVMX: incorrect segment base calculation in VMX
2019-07-14 15:42 [Bug 204175] New: Segmentation: incorrect base calculation in VMX bugzilla-daemon
@ 2026-01-10 19:20 ` bugzilla-daemon
0 siblings, 0 replies; 2+ messages in thread
From: bugzilla-daemon @ 2026-01-10 19:20 UTC (permalink / raw)
To: kvm
https://bugzilla.kernel.org/show_bug.cgi?id=204175
Maxime Villard (max@m00nbsd.net) changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution|--- |CODE_FIX
Summary|Segmentation: incorrect |nVMX: incorrect segment
|base calculation in VMX |base calculation in VMX
--- Comment #1 from Maxime Villard (max@m00nbsd.net) ---
This commit fixed the bug: 6694e48012826351036fd10fc506ca880023e25f.
--
You may reply to this email to add a comment.
You are receiving this mail because:
You are watching the assignee of the bug.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2026-01-10 19:20 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-07-14 15:42 [Bug 204175] New: Segmentation: incorrect base calculation in VMX bugzilla-daemon
2026-01-10 19:20 ` [Bug 204175] nVMX: incorrect segment " bugzilla-daemon
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox