Hello. CONFIG_TRAP_BAD_SYSCALL_EXITS forgets to do GET_THREAD_INFO(%ebp) before accessing the TI_preempt_count(%ebp). This leads to an accesses to the random addresses and kills the machine. Also "int $3" does nothing good by itself (it would just Oops AFAICS). And it is misplaced, too. Obviously it never worked. The attached patch moves the check to the right place (to the syscall_exit path) and replaces the "int $3" by the call to the helper function that only prints some debug info and doesn't crash the system. This fully solves the reported problem. Signed-off-by: Stas Sergeev