Re: OS stopping stack buffer overflow exploits

From: Matthew Dharm (mdharm-kernel@one-eyed-alien.net)
Date: Sat Jun 03 2000 - 22:48:17 EDT

  • Next message: Jason: "PPro Bug Fix"

    On Sat, Jun 03, 2000 at 09:06:46PM -0500, Robert Redelmeier wrote:
    > 2) On syscall entry, the kernel could check the page tables
    > to be sure that the return address is from code pages (read-only),
    > and not from data pages (read-write). The kernel would log and
    > terminate any such process. Kill some nasty bugs this way too.
    > This assumes an exploit can do limited damage without syscalls.

    Hrm... this could cause some problems for applications which use
    self-modifying code (i.e. trampoline handlers, etc.)

    Matt

    -- 
    Matthew Dharm                              Home: mdharm@one-eyed-alien.net 
    Senior Engineer, QCP Inc.                            Work: mdharm@qcpi.com
    

    We can customize our colonels. -- Tux User Friendly, 12/1/1998

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



    This archive was generated by hypermail 2b29 : Sat Jun 03 2000 - 22:55:43 EDT