Re: [PATCH] x86/uaccess: restore get_user exception type to EX_TYPE_UACCESS

From: Peter Zijlstra
Date: Thu Mar 31 2022 - 13:51:36 EST


On Thu, Mar 31, 2022 at 07:31:25PM +0800, Youquan Song wrote:
> > Did you do your testing on RHEL or something daft like that?
> Tested on RHEL8.x

Right; the home of obsolete software.. :-)

> > Something like the below can also work, I suppose. But please, add
> > coherent comments to the extable code with useful references to the MCE
> > code that does this abuse.
> Here is the full fix patch depending on your suggestion. Thanks a lot!

Did you verify this was indeed the only UACCESS I lost?

I'm also failing to spot a comment making extable users aware of this
abuse.