IBT tracking not possible for nvidia module

Bug #1981610 reported by Dimitri John Ledkov
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
nvidia-graphics-drivers-515 (Ubuntu)
New
Undecided
Unassigned

Bug Description

After compiling kernel with IBT, compling nvidia dkms, fails to load with this:

dmesg.log:

Jul 13 17:23:05 ottawa kernel:
Jul 13 17:23:05 ottawa kernel: traps: Missing ENDBR: _nv011433rm+0x0/0x10 [nvidia]
Jul 13 17:23:05 ottawa kernel: ------------[ cut here ]------------
Jul 13 17:23:05 ottawa kernel: kernel BUG at arch/x86/kernel/traps.c:253!

also note lots of warnings from objtool in make.log:

/var/lib/dkms/nvidia/515.48.07/build/nvidia-modeset.o: warning: objtool: _nv000093kms+0x1d: call without frame pointer save/setup
/var/lib/dkms/nvidia/515.48.07/build/nvidia-modeset.o: warning: objtool: _nv000098kms+0x2f: call without frame pointer save/setup
/var/lib/dkms/nvidia/515.48.07/build/nvidia-modeset.o: warning: objtool: _nv000094kms+0x50: call without frame pointer save/setup
/var/lib/dkms/nvidia/515.48.07/build/nvidia-modeset.o: warning: objtool: _nv000677kms+0x9: call without frame pointer save/setup
/var/lib/dkms/nvidia/515.48.07/build/nvidia-modeset.o: warning: objtool: _nv000680kms+0x38: call without frame pointer save/setup
/var/lib/dkms/nvidia/515.48.07/build/nvidia-modeset.o: warning: objtool: _nv000024kms+0x16: call without frame pointer save/setup
/var/lib/dkms/nvidia/515.48.07/build/nvidia-modeset.o: warning: objtool: _nv000643kms+0xcc: BP used as a scratch register
...

If this cannot be fixed, we should consider to make nvidia drivers by default ship grub kernel commandline chanes to be "ibt=warn" or "ibt=off" by default.

Tags: cet ibt
Revision history for this message
Dimitri John Ledkov (xnox) wrote :
Revision history for this message
Dimitri John Ledkov (xnox) wrote :
tags: added: cet ibt
description: updated
description: updated
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.