]> git.karo-electronics.de Git - karo-tx-linux.git/commit
Handle bogus %cs selector in single-step instruction decoding (CVE-2007-3731)
authorRoland McGrath <roland@redhat.com>
Tue, 13 Nov 2007 07:43:25 +0000 (08:43 +0100)
committerAdrian Bunk <bunk@kernel.org>
Tue, 13 Nov 2007 07:43:25 +0000 (08:43 +0100)
commit08cdcb569ebc93e60861931f113e59814d0f8ef7
treed4bfa8655884eafcf6c3d87edebfbd94eb84674f
parentd4f042f049e679559263a523219413889264aed4
Handle bogus %cs selector in single-step instruction decoding (CVE-2007-3731)

The code for LDT segment selectors was not robust in the face of a bogus
selector set in %cs via ptrace before the single-step was done.

Signed-off-by: Roland McGrath <roland@redhat.com>
Signed-off-by: Adrian Bunk <bunk@kernel.org>
arch/i386/kernel/ptrace.c
arch/x86_64/kernel/ptrace.c