[lkml]   [2018]   [Mar]   [26]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
Subject[PATCH 0/9] [v2] x86, pkeys: two protection keys bug fixes
Changes from v1:
* Added Fixes: and cc'd stable. No code changes.


This fixes two bugs, and adds selftests to make sure they stay fixed:

1. pkey 0 was not usable via mprotect_pkey() because it had never
been explicitly allocated.
2. mprotect(PROT_EXEC) memory could sometimes be left with the
implicit exec-only protection key assigned.

I already posted #1 previously. I'm including them both here because
I don't think it's been picked up in case folks want to pull these
all in a single bundle.

Cc: Ram Pai <>
Cc: Thomas Gleixner <>
Cc: Dave Hansen <>
Cc: Michael Ellermen <>
Cc: Ingo Molnar <>
Cc: Andrew Morton <>p
Cc: Shuah Khan <>
Cc: Shakeel Butt <>

 \ /
  Last update: 2018-03-26 19:30    [W:0.096 / U:8.012 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site