Messages in this thread | | | Subject | Re: [PATCH -fixes 0/2] Fix WX mappings in the linear mapping after module unloading | From | patchwork-bot+linux-riscv@kernel ... | Date | Thu, 21 Dec 2023 03:00:24 +0000 |
| |
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
| |