Re: [RFC][PATCH] timer: Add function-change canary

2017-08-08 Thread Kees Cook
On Mon, Aug 7, 2017 at 5:33 PM, Kees Cook wrote: > This introduces canaries to struct timer_list in an effort to protect the > function callback pointer from getting rewritten during stack or heap > overflow attacks. The struct timer_list has become a recent target for > security flaw exploitation

[RFC][PATCH] timer: Add function-change canary

2017-08-07 Thread Kees Cook
This introduces canaries to struct timer_list in an effort to protect the function callback pointer from getting rewritten during stack or heap overflow attacks. The struct timer_list has become a recent target for security flaw exploitation because it includes the "data" argument in the structure,