x86/uaccess: Don’t leak the AC flag into __put_user() value evaluation [Linux 5.0]

This Linux kernel change "x86/uaccess: Don’t leak the AC flag into __put_user() value evaluation" is included in the Linux 5.0 release. This change is authored by Andy Lutomirski <luto [at] kernel.org> on Fri Feb 22 17:17:04 2019 -0800. The commit for this change in Linux stable tree is 2a418cf (patch). x86/uaccess: Don’t leak the AC […]

x86 uaccess: Introduce __put_user_goto [Linux 5.0]

This Linux kernel change "x86 uaccess: Introduce __put_user_goto" is included in the Linux 5.0 release. This change is authored by Linus Torvalds <torvalds [at] linux-foundation.org> on Sat May 21 21:44:51 2016 -0700. The commit for this change in Linux stable tree is 4a78921 (patch). x86 uaccess: Introduce __put_user_goto This is finally the actual reason for […]

x86/uaccess: Don’t leak the AC flag into __put_user() value evaluation [Linux 4.9.162]

This Linux kernel change "x86/uaccess: Don’t leak the AC flag into __put_user() value evaluation" is included in the Linux 4.9.162 release. This change is authored by Andy Lutomirski <luto [at] kernel.org> on Fri Feb 22 17:17:04 2019 -0800. The commit for this change in Linux stable tree is dd15ae3 (patch) which is from upstream commit […]

x86/uaccess: Don’t leak the AC flag into __put_user() value evaluation [Linux 4.19.27]

This Linux kernel change "x86/uaccess: Don’t leak the AC flag into __put_user() value evaluation" is included in the Linux 4.19.27 release. This change is authored by Andy Lutomirski <luto [at] kernel.org> on Fri Feb 22 17:17:04 2019 -0800. The commit for this change in Linux stable tree is 7371994 (patch) which is from upstream commit […]

x86/uaccess: Don’t leak the AC flag into __put_user() value evaluation [Linux 4.14.105]

This Linux kernel change "x86/uaccess: Don’t leak the AC flag into __put_user() value evaluation" is included in the Linux 4.14.105 release. This change is authored by Andy Lutomirski <luto [at] kernel.org> on Fri Feb 22 17:17:04 2019 -0800. The commit for this change in Linux stable tree is 24e988f (patch) which is from upstream commit […]

x86/uaccess, sched/preempt: Verify access_ok() context [Linux 4.10]

This Linux kernel change "x86/uaccess, sched/preempt: Verify access_ok() context" is included in the Linux 4.10 release. This change is authored by Peter Zijlstra <peterz [at] infradead.org> on Tue Nov 22 10:57:15 2016 +0100. The commit for this change in Linux stable tree is 7c47889 (patch). x86/uaccess, sched/preempt: Verify access_ok() context I recently encountered wreckage because […]

x86/uaccess: force copy_*_user() to be inlined [Linux 4.8]

This Linux kernel change "x86/uaccess: force copy_*_user() to be inlined" is included in the Linux 4.8 release. This change is authored by Kees Cook <keescook [at] chromium.org> on Tue Sep 6 11:56:01 2016 -0700. The commit for this change in Linux stable tree is e697100 (patch). x86/uaccess: force copy_*_user() to be inlined As already done […]

x86/uaccess: Enable hardened usercopy [Linux 4.8]

This Linux kernel change "x86/uaccess: Enable hardened usercopy" is included in the Linux 4.8 release. This change is authored by Kees Cook <keescook [at] chromium.org> on Thu Jun 23 15:04:01 2016 -0700. The commit for this change in Linux stable tree is 5b710f3 (patch). x86/uaccess: Enable hardened usercopy Enables CONFIG_HARDENED_USERCOPY checks on x86. This is […]

x86/uaccess: Move thread_info::addr_limit to thread_struct [Linux 4.8]

This Linux kernel change "x86/uaccess: Move thread_info::addr_limit to thread_struct" is included in the Linux 4.8 release. This change is authored by Andy Lutomirski <luto [at] kernel.org> on Thu Jul 14 13:22:57 2016 -0700. The commit for this change in Linux stable tree is 13d4ea0 (patch). x86/uaccess: Move thread_info::addr_limit to thread_struct struct thread_info is a legacy […]

x86/uaccess: Move thread_info::uaccess_err and thread_info::sig_on_uaccess_err to thread_struct [Linux 4.8]

This Linux kernel change "x86/uaccess: Move thread_info::uaccess_err and thread_info::sig_on_uaccess_err to thread_struct" is included in the Linux 4.8 release. This change is authored by Andy Lutomirski <luto [at] kernel.org> on Thu Jul 14 13:22:56 2016 -0700. The commit for this change in Linux stable tree is dfa9a94 (patch). x86/uaccess: Move thread_info::uaccess_err and thread_info::sig_on_uaccess_err to thread_struct struct […]

x86/uaccess: Add stack frame output operand in get_user() inline asm [Linux 4.6]

This Linux kernel change "x86/uaccess: Add stack frame output operand in get_user() inline asm" is included in the Linux 4.6 release. This change is authored by Chris J Arges <chris.j.arges [at] canonical.com> on Thu Jan 21 16:49:25 2016 -0600. The commit for this change in Linux stable tree is f05058c (patch). x86/uaccess: Add stack frame […]

x86/uaccess: Add unlikely() to __chk_range_not_ok() failure paths [Linux 4.4]

This Linux kernel change "x86/uaccess: Add unlikely() to __chk_range_not_ok() failure paths" is included in the Linux 4.4 release. This change is authored by Andy Lutomirski <luto [at] kernel.org> on Mon Oct 5 17:47:50 2015 -0700. The commit for this change in Linux stable tree is 7e0f51c (patch). x86/uaccess: Add unlikely() to __chk_range_not_ok() failure paths This […]

x86/uaccess: Tell the compiler that uaccess is unlikely to fault [Linux 4.4]

This Linux kernel change "x86/uaccess: Tell the compiler that uaccess is unlikely to fault" is included in the Linux 4.4 release. This change is authored by Andy Lutomirski <luto [at] kernel.org> on Mon Oct 5 17:47:49 2015 -0700. The commit for this change in Linux stable tree is a76cf66 (patch). x86/uaccess: Tell the compiler that […]

x86/uaccess: Use __uaccess_begin_nospec() and uaccess_try_nospec [Linux 3.2.101]

This Linux kernel change "x86/uaccess: Use __uaccess_begin_nospec() and uaccess_try_nospec" is included in the Linux 3.2.101 release. This change is authored by Dan Williams <dan.j.williams [at] intel.com> on Mon Jan 29 17:02:49 2018 -0800. The commit for this change in Linux stable tree is 68f7d99 (patch) which is from upstream commit 304ec1b. The same Linux upstream […]

x86/uaccess: Use __uaccess_begin_nospec() and uaccess_try_nospec [Linux 3.16.56]

This Linux kernel change "x86/uaccess: Use __uaccess_begin_nospec() and uaccess_try_nospec" is included in the Linux 3.16.56 release. This change is authored by Dan Williams <dan.j.williams [at] intel.com> on Mon Jan 29 17:02:49 2018 -0800. The commit for this change in Linux stable tree is 98ce99a (patch) which is from upstream commit 304ec1b. The same Linux upstream […]

x86/uaccess: Optimize copy_user_enhanced_fast_string() for short strings [Linux 4.9.37]

This Linux kernel change "x86/uaccess: Optimize copy_user_enhanced_fast_string() for short strings" is included in the Linux 4.9.37 release. This change is authored by Paolo Abeni <pabeni [at] redhat.com> on Thu Jun 29 15:55:58 2017 +0200. The commit for this change in Linux stable tree is afbf565 (patch) which is from upstream commit 236222d. The same Linux […]

x86/uaccess, sched/preempt: Verify access_ok() context [Linux 4.4.98]

This Linux kernel change "x86/uaccess, sched/preempt: Verify access_ok() context" is included in the Linux 4.4.98 release. This change is authored by Peter Zijlstra <peterz [at] infradead.org> on Tue Nov 22 10:57:15 2016 +0100. The commit for this change in Linux stable tree is ad8c619 (patch) which is from upstream commit 7c47889. The same Linux upstream […]

x86/uaccess: Optimize copy_user_enhanced_fast_string() for short strings [Linux 4.4.77]

This Linux kernel change "x86/uaccess: Optimize copy_user_enhanced_fast_string() for short strings" is included in the Linux 4.4.77 release. This change is authored by Paolo Abeni <pabeni [at] redhat.com> on Thu Jun 29 15:55:58 2017 +0200. The commit for this change in Linux stable tree is e47e717 (patch) which is from upstream commit 236222d. The same Linux […]

x86/uaccess: Optimize copy_user_enhanced_fast_string() for short strings [Linux 4.1.43]

This Linux kernel change "x86/uaccess: Optimize copy_user_enhanced_fast_string() for short strings" is included in the Linux 4.1.43 release. This change is authored by Paolo Abeni <pabeni [at] redhat.com> on Thu Jun 29 15:55:58 2017 +0200. The commit for this change in Linux stable tree is b260fee (patch) which is from upstream commit 236222d. The same Linux […]