On Tue, Jun 25, 2019 at 09:39:45AM +0200, Sebastian Andrzej Siewior wrote:
Please backport commit e74deb11931ff682b59d5b9d387f7115f689698e to stable _or_ revert the backport of commit 4a6c91fbdef84 ("x86/uaccess, ftrace: Fix ftrace_likely_update() vs. SMAP"). It uses user_access_{save|restore}() which has been introduced in the following commit.
I stumbled upon it in latest v5.0 tree and verified that v5.1.15 is also affected. For reference, the commit I'm asking to backport.
Sasha, I think the commit should just be reverted, can you do it?
thanks,
greg k-h