Public bug reported:

With the latest 7.0.0-7-generic kernel, I get the following (NVIDIA-
related) error messages during boot:

[    5.636132] nvidia: loading out-of-tree module taints kernel.
[    5.636143] nvidia: module license 'NVIDIA' taints kernel.
[    5.636144] Disabling lock debugging due to kernel taint
[    5.636149] nvidia: module license taints kernel.
[    5.811651] ------------[ cut here ]------------
[    5.811656] Unpatched return thunk in use. This should not happen!
[    5.811658] WARNING: arch/x86/kernel/cpu/bugs.c:3736 at 
__warn_thunk+0x10/0x20, CPU#7: (udev-worker)/424
[    5.811667] Modules linked in: nls_iso8859_1 intel_rapl_msr nvidia(POE+) 
intel_rapl_common platform_profile x86_pkg_temp_thermal intel_powerclamp 
spi_intel_platform lis3lv02d_i2c spi_intel mei_pxp coretemp lis3lv02d 
dell_laptop mei_hdcp at24 snd_hda_codec_alc269 snd_hda_codec_realtek_lib 
snd_hda_scodec_component snd_hda_codec_generic dell_smm_hwmon 
snd_hda_codec_nvhdmi kvm_intel snd_hda_codec_hdmi uvcvideo videobuf2_vmalloc 
kvm btusb uvc videobuf2_memops dell_wmi btmtk videobuf2_v4l2 btrtl irqbypass 
snd_hda_intel videobuf2_common btbcm iwlmvm dell_smbios snd_hda_codec btintel 
rapl i2c_i801 dcdbas videodev snd_hda_core bluetooth dell_wmi_descriptor 
wmi_bmof intel_cstate sparse_keymap mc snd_intel_dspcfg i2c_smbus 
snd_intel_sdw_acpi mac80211 snd_soc_rt5640 i2c_mux snd_soc_rl6231 snd_hwdep 
libarc4 snd_seq_midi snd_soc_core snd_seq_midi_event snd_compress snd_rawmidi 
ac97_bus snd_pcm_dmaengine iwlwifi snd_seq snd_pcm lpc_ich snd_seq_device 
dell_lis3lv02d snd_timer dell_smo8800 cfg80211 drm_ttm_helper dell_rbtn ttm 
mei_me
[    5.811745]  snd soundcore mei joydev input_leds mac_hid sch_fq_codel 
nvme_fabrics ppdev parport_pc lp parport nvme_core msr nvme_keyring nvme_auth 
hkdf efi_pstore nfnetlink dmi_sysfs autofs4 mmc_block rpmb_core btrfs 
libblake2b xor raid6_pq sdhci_pci ghash_clmulni_intel psmouse sdhci_uhs2 video 
sdhci serio_raw cqhci ahci libahci e1000e wmi aesni_intel
[    5.811786] CPU: 7 UID: 0 PID: 424 Comm: (udev-worker) Tainted: P           
OE       7.0.0-7-generic #7-Ubuntu PREEMPT(lazy)
[    5.811791] Tainted: [P]=PROPRIETARY_MODULE, [O]=OOT_MODULE, 
[E]=UNSIGNED_MODULE
[    5.811792] Hardware name: Dell Inc. Precision M4800/077KCT, BIOS A26 
06/13/2019
[    5.811794] RIP: 0010:__warn_thunk+0x10/0x20
[    5.811798] Code: 66 2e 0f 1f 84 00 00 00 00 00 90 90 90 90 90 90 90 90 90 
90 90 90 90 90 90 90 0f 1f 44 00 00 55 48 89 e5 48 8d 3d 30 6c b2 02 <67> 48 0f 
b9 3a 5d 31 ff c3 cc cc cc cc 0f 1f 00 90 90 90 90 90 90
[    5.811801] RSP: 0018:ffffd3e7827d3858 EFLAGS: 00010246
[    5.811804] RAX: 0000000000000000 RBX: 0000000000000000 RCX: 0000000000000000
[    5.811806] RDX: 0000000000000000 RSI: 0000000000000000 RDI: ffffffff894d7660
[    5.811808] RBP: ffffd3e7827d3858 R08: 0000000000000000 R09: 0000000000000000
[    5.811809] R10: 0000000000000000 R11: 0000000000000000 R12: ffff8be1c1426ce0
[    5.811811] R13: ffffffffc2ba1ec0 R14: ffffffffc0bde010 R15: 000059e757e18e80
[    5.811813] FS:  00007c2135518c80(0000) GS:ffff8be954388000(0000) 
knlGS:0000000000000000
[    5.811816] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[    5.811818] CR2: 000059e757c76650 CR3: 0000000114a00005 CR4: 00000000001726f0
[    5.811820] Call Trace:
[    5.811823]  <TASK>
[    5.811826]  warn_thunk_thunk+0x16/0x30
[    5.811833]  nvidia_init_module+0x29/0x6a0 [nvidia]
[    5.812321]  ? ____versions+0x2c182d901ec8/0x2c182d901ec8 [nvidia]
[    5.812841]  do_one_initcall+0x59/0x350
[    5.812873]  do_init_module+0x8b/0x290
[    5.812879]  load_module+0x817/0x920
[    5.812885]  init_module_from_file+0xfb/0x180
[    5.812892]  idempotent_init_module+0x10e/0x300
[    5.812897]  __x64_sys_finit_module+0x73/0xf0
[    5.812903]  x64_sys_call+0xe2e/0x2390
[    5.812908]  do_syscall_64+0x115/0x5c0
[    5.812916]  ? vfs_read+0x179/0x3a0
[    5.812924]  ? vfs_read+0x179/0x3a0
[    5.812929]  ? restore_fpregs_from_fpstate+0x46/0xe0
[    5.812936]  ? switch_fpu_return+0x64/0x110
[    5.812941]  ? exit_to_user_mode_loop+0x346/0x500
[    5.812947]  ? arch_exit_to_user_mode_prepare.isra.0+0xc5/0xe0
[    5.812952]  ? do_syscall_64+0x150/0x5c0
[    5.812957]  ? putname+0x41/0x90
[    5.812962]  ? restore_fpregs_from_fpstate+0x46/0xe0
[    5.812968]  ? switch_fpu_return+0x64/0x110
[    5.812972]  ? __x64_sys_openat+0x5f/0xa0
[    5.812978]  ? arch_exit_to_user_mode_prepare.isra.0+0xc5/0xe0
[    5.812981]  ? do_syscall_64+0x150/0x5c0
[    5.812985]  ? arch_exit_to_user_mode_prepare.isra.0+0xc5/0xe0
[    5.812989]  ? do_syscall_64+0x150/0x5c0
[    5.812992]  ? arch_exit_to_user_mode_prepare.isra.0+0xc5/0xe0
[    5.812996]  ? do_syscall_64+0x150/0x5c0
[    5.813000]  ? exc_page_fault+0x94/0x1e0
[    5.813006]  entry_SYSCALL_64_after_hwframe+0x76/0x7e
[    5.813010] RIP: 0033:0x7c2134d34d0d
[    5.813017] Code: ff c3 66 2e 0f 1f 84 00 00 00 00 00 90 f3 0f 1e fa 48 89 
f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 
f0 ff ff 73 01 c3 48 8b 0d cb d0 0d 00 f7 d8 64 89 01 48
[    5.813020] RSP: 002b:00007ffc3681a1a8 EFLAGS: 00000246 ORIG_RAX: 
0000000000000139
[    5.813026] RAX: ffffffffffffffda RBX: 000059e757e25250 RCX: 00007c2134d34d0d
[    5.813029] RDX: 0000000000000004 RSI: 000059e757e18e80 RDI: 000000000000003d
[    5.813032] RBP: 00007ffc3681a240 R08: 0000000000000000 R09: 000059e757e1bf50
[    5.813034] R10: 0000000000000000 R11: 0000000000000246 R12: 000059e757e18e80
[    5.813035] R13: 000059e757e2d420 R14: 0000000000020000 R15: 0000000000000000
[    5.813040]  </TASK>
[    5.813042] ---[ end trace 0000000000000000 ]---

[    6.053413] NVRM: loading NVIDIA UNIX x86_64 Kernel Module
580.126.09  Wed Jan  7 22:59:56 UTC 2026

The system is a Dell Precision M4800 with the following graphics
hardware:

Graphics:
  Device-1: NVIDIA GM206GLM [Quadro M2200 Mobile] vendor: Dell driver: nvidia
    v: 580.126.09 arch: Maxwell pcie: speed: 8 GT/s lanes: 16 ports:
    active: eDP-1 empty: DP-1, DP-2, DP-3, VGA-1 bus-ID: 01:00.0
    chip-ID: 10de:1436
  Display: unspecified server: X.Org v: 24.1.9 with: Xwayland v: 24.1.9
    compositor: kwin_wayland driver: gpu: nvidia,nvidia-nvswitch display-ID: :0
    screens: 1
  Screen-1: 0 s-res: 3200x1800 s-dpi: 96
  Monitor-1: eDP-1 model: Sharp 0x13f9 res: 3200x1800 hz: 60 dpi: 235
    diag: 397mm (15.6")

running Ubuntu resolute.

** Affects: nvidia-graphics-drivers-580 (Ubuntu)
     Importance: Undecided
         Status: New

** Description changed:

  With the latest 7.0.0-7-generic kernel, I get the following (NVIDIA-
  related) error messages during boot:
  
  [    5.636132] nvidia: loading out-of-tree module taints kernel.
  [    5.636143] nvidia: module license 'NVIDIA' taints kernel.
  [    5.636144] Disabling lock debugging due to kernel taint
  [    5.636149] nvidia: module license taints kernel.
  [    5.811651] ------------[ cut here ]------------
  [    5.811656] Unpatched return thunk in use. This should not happen!
  [    5.811658] WARNING: arch/x86/kernel/cpu/bugs.c:3736 at 
__warn_thunk+0x10/0x20, CPU#7: (udev-worker)/424
  [    5.811667] Modules linked in: nls_iso8859_1 intel_rapl_msr nvidia(POE+) 
intel_rapl_common platform_profile x86_pkg_temp_thermal intel_powerclamp 
spi_intel_platform lis3lv02d_i2c spi_intel mei_pxp coretemp lis3lv02d 
dell_laptop mei_hdcp at24 snd_hda_codec_alc269 snd_hda_codec_realtek_lib 
snd_hda_scodec_component snd_hda_codec_generic dell_smm_hwmon 
snd_hda_codec_nvhdmi kvm_intel snd_hda_codec_hdmi uvcvideo videobuf2_vmalloc 
kvm btusb uvc videobuf2_memops dell_wmi btmtk videobuf2_v4l2 btrtl irqbypass 
snd_hda_intel videobuf2_common btbcm iwlmvm dell_smbios snd_hda_codec btintel 
rapl i2c_i801 dcdbas videodev snd_hda_core bluetooth dell_wmi_descriptor 
wmi_bmof intel_cstate sparse_keymap mc snd_intel_dspcfg i2c_smbus 
snd_intel_sdw_acpi mac80211 snd_soc_rt5640 i2c_mux snd_soc_rl6231 snd_hwdep 
libarc4 snd_seq_midi snd_soc_core snd_seq_midi_event snd_compress snd_rawmidi 
ac97_bus snd_pcm_dmaengine iwlwifi snd_seq snd_pcm lpc_ich snd_seq_device 
dell_lis3lv02d snd_timer dell_smo8800 cfg80211 drm_ttm_helper dell_rbtn ttm 
mei_me
  [    5.811745]  snd soundcore mei joydev input_leds mac_hid sch_fq_codel 
nvme_fabrics ppdev parport_pc lp parport nvme_core msr nvme_keyring nvme_auth 
hkdf efi_pstore nfnetlink dmi_sysfs autofs4 mmc_block rpmb_core btrfs 
libblake2b xor raid6_pq sdhci_pci ghash_clmulni_intel psmouse sdhci_uhs2 video 
sdhci serio_raw cqhci ahci libahci e1000e wmi aesni_intel
- [    5.811786] CPU: 7 UID: 0 PID: 424 Comm: (udev-worker) Tainted: P          
 OE       7.0.0-7-generic #7-Ubuntu PREEMPT(lazy) 
+ [    5.811786] CPU: 7 UID: 0 PID: 424 Comm: (udev-worker) Tainted: P          
 OE       7.0.0-7-generic #7-Ubuntu PREEMPT(lazy)
  [    5.811791] Tainted: [P]=PROPRIETARY_MODULE, [O]=OOT_MODULE, 
[E]=UNSIGNED_MODULE
  [    5.811792] Hardware name: Dell Inc. Precision M4800/077KCT, BIOS A26 
06/13/2019
  [    5.811794] RIP: 0010:__warn_thunk+0x10/0x20
  [    5.811798] Code: 66 2e 0f 1f 84 00 00 00 00 00 90 90 90 90 90 90 90 90 90 
90 90 90 90 90 90 90 0f 1f 44 00 00 55 48 89 e5 48 8d 3d 30 6c b2 02 <67> 48 0f 
b9 3a 5d 31 ff c3 cc cc cc cc 0f 1f 00 90 90 90 90 90 90
  [    5.811801] RSP: 0018:ffffd3e7827d3858 EFLAGS: 00010246
  [    5.811804] RAX: 0000000000000000 RBX: 0000000000000000 RCX: 
0000000000000000
  [    5.811806] RDX: 0000000000000000 RSI: 0000000000000000 RDI: 
ffffffff894d7660
  [    5.811808] RBP: ffffd3e7827d3858 R08: 0000000000000000 R09: 
0000000000000000
  [    5.811809] R10: 0000000000000000 R11: 0000000000000000 R12: 
ffff8be1c1426ce0
  [    5.811811] R13: ffffffffc2ba1ec0 R14: ffffffffc0bde010 R15: 
000059e757e18e80
  [    5.811813] FS:  00007c2135518c80(0000) GS:ffff8be954388000(0000) 
knlGS:0000000000000000
  [    5.811816] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
  [    5.811818] CR2: 000059e757c76650 CR3: 0000000114a00005 CR4: 
00000000001726f0
  [    5.811820] Call Trace:
  [    5.811823]  <TASK>
  [    5.811826]  warn_thunk_thunk+0x16/0x30
  [    5.811833]  nvidia_init_module+0x29/0x6a0 [nvidia]
  [    5.812321]  ? ____versions+0x2c182d901ec8/0x2c182d901ec8 [nvidia]
  [    5.812841]  do_one_initcall+0x59/0x350
  [    5.812873]  do_init_module+0x8b/0x290
  [    5.812879]  load_module+0x817/0x920
  [    5.812885]  init_module_from_file+0xfb/0x180
  [    5.812892]  idempotent_init_module+0x10e/0x300
  [    5.812897]  __x64_sys_finit_module+0x73/0xf0
  [    5.812903]  x64_sys_call+0xe2e/0x2390
  [    5.812908]  do_syscall_64+0x115/0x5c0
  [    5.812916]  ? vfs_read+0x179/0x3a0
  [    5.812924]  ? vfs_read+0x179/0x3a0
  [    5.812929]  ? restore_fpregs_from_fpstate+0x46/0xe0
  [    5.812936]  ? switch_fpu_return+0x64/0x110
  [    5.812941]  ? exit_to_user_mode_loop+0x346/0x500
  [    5.812947]  ? arch_exit_to_user_mode_prepare.isra.0+0xc5/0xe0
  [    5.812952]  ? do_syscall_64+0x150/0x5c0
  [    5.812957]  ? putname+0x41/0x90
  [    5.812962]  ? restore_fpregs_from_fpstate+0x46/0xe0
  [    5.812968]  ? switch_fpu_return+0x64/0x110
  [    5.812972]  ? __x64_sys_openat+0x5f/0xa0
  [    5.812978]  ? arch_exit_to_user_mode_prepare.isra.0+0xc5/0xe0
  [    5.812981]  ? do_syscall_64+0x150/0x5c0
  [    5.812985]  ? arch_exit_to_user_mode_prepare.isra.0+0xc5/0xe0
  [    5.812989]  ? do_syscall_64+0x150/0x5c0
  [    5.812992]  ? arch_exit_to_user_mode_prepare.isra.0+0xc5/0xe0
  [    5.812996]  ? do_syscall_64+0x150/0x5c0
  [    5.813000]  ? exc_page_fault+0x94/0x1e0
  [    5.813006]  entry_SYSCALL_64_after_hwframe+0x76/0x7e
  [    5.813010] RIP: 0033:0x7c2134d34d0d
  [    5.813017] Code: ff c3 66 2e 0f 1f 84 00 00 00 00 00 90 f3 0f 1e fa 48 89 
f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 
f0 ff ff 73 01 c3 48 8b 0d cb d0 0d 00 f7 d8 64 89 01 48
  [    5.813020] RSP: 002b:00007ffc3681a1a8 EFLAGS: 00000246 ORIG_RAX: 
0000000000000139
  [    5.813026] RAX: ffffffffffffffda RBX: 000059e757e25250 RCX: 
00007c2134d34d0d
  [    5.813029] RDX: 0000000000000004 RSI: 000059e757e18e80 RDI: 
000000000000003d
  [    5.813032] RBP: 00007ffc3681a240 R08: 0000000000000000 R09: 
000059e757e1bf50
  [    5.813034] R10: 0000000000000000 R11: 0000000000000246 R12: 
000059e757e18e80
  [    5.813035] R13: 000059e757e2d420 R14: 0000000000020000 R15: 
0000000000000000
  [    5.813040]  </TASK>
  [    5.813042] ---[ end trace 0000000000000000 ]---
  
  [    6.053413] NVRM: loading NVIDIA UNIX x86_64 Kernel Module
  580.126.09  Wed Jan  7 22:59:56 UTC 2026
  
- The system is a Dell M4800 with the following graphics hardware:
+ The system is a Dell Precision M4800 with the following graphics
+ hardware:
  
  Graphics:
-   Device-1: NVIDIA GM206GLM [Quadro M2200 Mobile] vendor: Dell driver: nvidia
-     v: 580.126.09 arch: Maxwell pcie: speed: 8 GT/s lanes: 16 ports:
-     active: eDP-1 empty: DP-1, DP-2, DP-3, VGA-1 bus-ID: 01:00.0
-     chip-ID: 10de:1436
-   Display: unspecified server: X.Org v: 24.1.9 with: Xwayland v: 24.1.9
-     compositor: kwin_wayland driver: gpu: nvidia,nvidia-nvswitch display-ID: 
:0
-     screens: 1
-   Screen-1: 0 s-res: 3200x1800 s-dpi: 96
-   Monitor-1: eDP-1 model: Sharp 0x13f9 res: 3200x1800 hz: 60 dpi: 235
-     diag: 397mm (15.6")
+   Device-1: NVIDIA GM206GLM [Quadro M2200 Mobile] vendor: Dell driver: nvidia
+     v: 580.126.09 arch: Maxwell pcie: speed: 8 GT/s lanes: 16 ports:
+     active: eDP-1 empty: DP-1, DP-2, DP-3, VGA-1 bus-ID: 01:00.0
+     chip-ID: 10de:1436
+   Display: unspecified server: X.Org v: 24.1.9 with: Xwayland v: 24.1.9
+     compositor: kwin_wayland driver: gpu: nvidia,nvidia-nvswitch display-ID: 
:0
+     screens: 1
+   Screen-1: 0 s-res: 3200x1800 s-dpi: 96
+   Monitor-1: eDP-1 model: Sharp 0x13f9 res: 3200x1800 hz: 60 dpi: 235
+     diag: 397mm (15.6")
  
  running Ubuntu resolute.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2144741

Title:
  drivers generates 'unpatched return thunk in use' message during boot

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/nvidia-graphics-drivers-580/+bug/2144741/+subscriptions


-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to