Hi,
this mainline patch 33121347fb1c359bd6e3e680b9f2c6ced5734a8 should be applied to 5.15 as well. Without loading of some modules fails, if 1. MODULE_UNLOAD=n 2. Architecture is aarch64 (maybe others as well) 3. KASLR is active
Without this patch the symbol .exit.text is not relocated and when the linker generated a relative 32 bit relocation(PREL32) and the module is loaded far enough away from the default loading address, it will trigger a relocation overflow like this:
module algif_hash: overflow in relocation type 261 val ffff800010051c20
This happens to all modules, that use BUG in the exit section or if the compiler generates a jump table in the exit section.
Thanks, Joerg