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:
Code:
$ 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:
Code:
[61204.361171] mymodule: loading out-of-tree module taints kernel.
[61204.361232] mymodule: module verification failed: signature and/or required key missing - tainting kernel
[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)?
Thanks in advance!