I'm trying to load an out-of-tree module, exactly the same way I was doing it on past kernels with success. But with 5.15.27, it longer works:
$ insmod /lib/modules/5.15.27custom/extra/mymodule.ko
insmod: ERROR: could not insert module /lib/modules/5.15.27custom/extra/mymodule.ko: Invalid parameters
dmesg says:
[61204.361302] mymodule: disagrees about version of symbol __stack_chk_fail
[61204.361326] mymodule: Unknown symbol __stack_chk_fail (err -22)
CONFIG_STACKPROTECTOR
and CONFIG_STACKPROTECTOR_STRONG
are set in .config, if that matters.
Can anyone help me on how to make that module loadable (or rebuild so it can be loaded)?