Modules that do not use any of the init.h or module.h macros to generate init_module / cleanup_module symbols:
# objdump -x /lib/modules/5.19.0-9-generic/updates/dkms/v4l2loopback.ko | grep -e init_module -e cleanup_module 0000000000000000 g F .exit.text 000000000000004d cleanup_module 0000000000000000 g F .init.text 0000000000000979 init_module 0000000000000138 R_X86_64_64 init_module 0000000000000338 R_X86_64_64 cleanup_module Modules that do use any of the init.h or module.h macros to generate init_module / cleanup_module symbols: # objdump -x /lib/modules/5.19.0-9-generic/updates/dkms/v4l2loopback.ko | grep -e init_module -e cleanup_module 0000000000000810 l F .text 0000000000000030 v4l2loopback_cleanup_module 0000000000000149 l F .text.unlikely 0000000000000035 v4l2loopback_cleanup_module.cold 0000000000000000 l F .init.text 0000000000000979 v4l2loopback_init_module 0000000000000810 g F .text 0000000000000030 cleanup_module 0000000000000000 g O .exit.data 0000000000000008 __cfi_jt_cleanup_module 0000000000000000 g F .init.text 0000000000000979 init_module 0000000000000000 g O .init.data 0000000000000008 __cfi_jt_init_module 0000000000000000 R_X86_64_64 cleanup_module 0000000000000000 R_X86_64_64 init_module 0000000000000138 R_X86_64_64 init_module 0000000000000338 R_X86_64_64 cleanup_module Specifically addition of __cfi_jt_init_module & __cfi_jt_cleanup_module is important for correctly functioning Control Flow Integrity, aka on intel IBT. The fix is to use macros from init.h / module.h to declare entry and exit functions of the module. ** Also affects: v4l2loopback (Ubuntu) Importance: Undecided Status: New -- You received this bug notification because you are a member of Kernel Packages, which is subscribed to linux in Ubuntu. https://bugs.launchpad.net/bugs/1980484 Title: temporarily disable CONFIG_X86_KERNEL_IBT Status in backport-iwlwifi-dkms package in Ubuntu: Confirmed Status in linux package in Ubuntu: Incomplete Status in v4l2loopback package in Ubuntu: Confirmed Status in backport-iwlwifi-dkms source package in Kinetic: Confirmed Status in linux source package in Kinetic: Incomplete Status in v4l2loopback source package in Kinetic: Confirmed Bug description: Enabling IBT in the kernel is going to be problematic at the moment, because dkms' that have a precompiled binary need to be linked against non-IBT kernels and IBT kernels (see nvidia drivers for example). For this reason it's safer to keep IBT disabled at the moment, until all the kernels will have IBT enabled and the kernel modules / binaries will use the proper flags to generate IBT-compliant binaries. To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/backport-iwlwifi-dkms/+bug/1980484/+subscriptions -- Mailing list: https://launchpad.net/~kernel-packages Post to : kernel-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~kernel-packages More help : https://help.launchpad.net/ListHelp