https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93654
--- Comment #3 from H.J. Lu <hjl.tools at gmail dot com> --- Please DO disable -fcf-protection in the kernel build. We are enabling CET for the user space first. The kernel CET will be the next. I am enclosing a proposal to make -fcf-protection compatible with retpoline. It targets user space. It can be made compatible with kernel.