lkml.org 
[lkml]   [2023]   [Dec]   [21]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [PATCH -fixes 0/2] Fix WX mappings in the linear mapping after module unloading
From
Date
Hello:

This series was applied to riscv/linux.git (fixes)
by Palmer Dabbelt <palmer@rivosinc.com>:

On Wed, 13 Dec 2023 14:40:25 +0100 you wrote:
> I fell onto a bunch of WX mappings in the linear mapping after a module
> gets unloaded, this is because our module_alloc() does not set the
> VM_FLUSH_RESET_PERMS flag (patch 1) and that
> set_direct_map_default_noflush() must clean the X bit (patch 2).
>
> Note that the Fixes tags are correct but patch 2 will fail to apply
> since a change in this function just landed in 6.7.
>
> [...]

Here is the summary with links:
- [-fixes,1/2] riscv: Fix module_alloc() that did not reset the linear mapping permissions
https://git.kernel.org/riscv/c/2f748fa7b60a
- [-fixes,2/2] riscv: Fix set_direct_map_default_noflush() to reset _PAGE_EXEC
https://git.kernel.org/riscv/c/3b5c14361d61

You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html



\
 
 \ /
  Last update: 2023-12-21 04:01    [W:0.036 / U:1.848 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site