commit | c8502eb2d43b6b9b1dc382299a4d37031be63876 | [log] [tgz] |
---|---|---|
author | Arvind Sankar <nivedita@alum.mit.edu> | Fri Jul 17 15:45:26 2020 -0400 |
committer | Ard Biesheuvel <ardb@kernel.org> | Thu Aug 20 11:18:36 2020 +0200 |
tree | e3c61984672bb8fa25d4026e228be29cd99ec66c | |
parent | 9123e3a74ec7b934a4a099e98af6a61c2f80bbf5 [diff] |
efi/x86: Mark kernel rodata non-executable for mixed mode When remapping the kernel rodata section RO in the EFI pagetables, the protection flags that were used for the text section are being reused, but the rodata section should not be marked executable. Cc: <stable@vger.kernel.org> Signed-off-by: Arvind Sankar <nivedita@alum.mit.edu> Link: https://lore.kernel.org/r/20200717194526.3452089-1-nivedita@alum.mit.edu Signed-off-by: Ard Biesheuvel <ardb@kernel.org>