[lvc-project] [PATCH 6.1 1/1] x86/modules: Set VM_FLUSH_RESET_PERMS in module_alloc()
Jack Wang
jinpu.wang at ionos.com
Thu May 22 15:17:06 MSK 2025
From: Fedor Pchelkin <pchelkin at ispras.ru>
From: Thomas Gleixner <tglx at linutronix.de>
commit 4c4eb3ecc91f4fee6d6bf7cfbc1e21f2e38d19ff upstream.
Instead of resetting permissions all over the place when freeing module
memory tell the vmalloc code to do so. Avoids the exercise for the next
upcoming user.
Signed-off-by: Thomas Gleixner <tglx at linutronix.de>
Signed-off-by: Peter Zijlstra (Intel) <peterz at infradead.org>
Link: https://lore.kernel.org/r/20220915111143.406703869@infradead.org
Signed-off-by: Fedor Pchelkin <pchelkin at ispras.ru>
I confirm this patch fixed the random crashing ontop of 6.1.139 I've experienced
on our Icelake and Cascadelake servers, servers are working fine after appling
the fix, thx!
Tested-by: Jack Wang <jinpu.wang at ionos.com>
More information about the lvc-project
mailing list