lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <53833944.6030605@redhat.com>
Date:	Mon, 26 May 2014 14:53:24 +0200
From:	Paolo Bonzini <pbonzini@...hat.com>
To:	Wei Huang <huangwei.virt@...il.com>, kvm@...r.kernel.org
CC:	linux-kernel@...r.kernel.org, jan.kiszka@...mens.com,
	gleb@...nel.org, avi.kivity@...il.com
Subject: Re: [PATCH v2 0/4] KVM: x86: get CPL from SS.DPL

Il 26/05/2014 00:58, Wei Huang ha scritto:
> If so , my question: is there other special cases similar to task switch
> which can break patch 4?

I don't think so.  CPL can only change when SS is loaded, i.e. for 
inter-privilege transfers that aren't far calls or far jumps to a 
conforming code segment.

I count only three such cases (protected mode int, protected mode iret, 
call gate), none of which is implemented in the KVM emulator.  In fact, 
the emulator doesn't implement task gates either---luckily all 
information about the destination task is provided by the processor in 
the VMCB or VMCS.

Paolo
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ