• Andi Kleen's avatar
    [PATCH] Fix ugly hole in x86-64 interrupt gates · 2e2aa4ce
    Andi Kleen authored
    There was a quite nasty long standing bug in the x86-64 port.  The
    interrupt gates had a DPL of 3, allowing user space to trigger any
    interrupt.  I have not found a way to exploit it this to crash the
    kernel, but it definitely shouldn't happen.  It could e.g.  cause
    problems with drivers that do not handle shared interrupt properly.
    
    This also broke some programs who assumed that int <random number>
    causes a signal.
    2e2aa4ce
desc.h 5.03 KB