Re: [patch 01/14] x86/irq/64: Limit IST stack overflow check to #DB stack

2019-04-02 Thread Sean Christopherson
On Sun, Mar 31, 2019 at 11:40:21PM +0200, Thomas Gleixner wrote: > 37fe6a42b343 ("x86: Check stack overflow in detail") added a broad check > for the full exception stack area, i.e. it considers the full exception > stack are as valid. ^^^ area > > That's wrong in two aspects: >

Re: [patch 01/14] x86/irq/64: Limit IST stack overflow check to #DB stack

2019-04-01 Thread Borislav Petkov
On Sun, Mar 31, 2019 at 11:40:21PM +0200, Thomas Gleixner wrote: > 37fe6a42b343 ("x86: Check stack overflow in detail") added a broad check > for the full exception stack area, i.e. it considers the full exception > stack are as valid. > > That's wrong in two aspects: > > 1) It does not check th

[patch 01/14] x86/irq/64: Limit IST stack overflow check to #DB stack

2019-03-31 Thread Thomas Gleixner
37fe6a42b343 ("x86: Check stack overflow in detail") added a broad check for the full exception stack area, i.e. it considers the full exception stack are as valid. That's wrong in two aspects: 1) It does not check the individual areas one by one 2) #DF, NMI and #MCE are not enabling interrupt