Public bug reported:
After upgrading to Ubuntu 26.04, my Lenovo Legion laptop crashes when
entering suspend, especially when closing the lid. The crash also
appears reproducible via systemd-sleep / suspend, so this does not seem
to be only a lid-switch issue.
The kernel log shows the crash happens immediately after suspend begins:
PM: suspend entry (deep)
Filesystems sync: 0.008 seconds
jump_label: Fatal kernel bug, unexpected op at
nvkms_kthread_q_callback+0x8e/0x1a0 [nvidia_modeset]
kernel BUG at arch/x86/kernel/jump_label.c:73!
Oops: invalid opcode: 0000 [#1] SMP NOPTI
Relevant system information from the log:
Kernel: 7.0.0-15-generic #15-Ubuntu PREEMPT(lazy)
Hardware: LENOVO 83DG/LNVNB161216
BIOS: NMCN29WW 12/18/2024
Process: systemd-sleep
Sleep mode: deep
NVIDIA modules loaded: nvidia, nvidia_modeset, nvidia_drm, nvidia_uvm
The crash occurs in the proprietary NVIDIA kernel module path:
nvkms_kthread_q_callback+0x8e/0x1a0 [nvidia_modeset]
__jump_label_patch.cold+0x24/0x26
arch_jump_label_transform_queue+0x37/0x90
__jump_label_update+0x47/0x100
jump_label_update+0x5c/0x110
static_key_slow_inc_cpuslocked+0x53/0xa0
freeze_processes+0xd1/0xe0
enter_state+0xe0/0x610
pm_suspend+0x49/0x90
state_store+0x2e/0x60
What I expected to happen:
The laptop should suspend normally when I close the lid or run systemctl
suspend, and should resume normally when opened or woken.
What happened instead:
The system crashes / becomes unusable during suspend. The kernel reports a BUG
in arch/x86/kernel/jump_label.c while inside nvidia_modeset.
Steps to reproduce:
1. Boot Ubuntu 26.04 on this Lenovo Legion laptop.
2. Use the proprietary NVIDIA driver.
3. Trigger suspend, either by closing the lid or running:
systemctl suspend
4. The system crashes during suspend entry.
Additional observations:
- The log contains AppArmor audit messages from snap/Discord and snap-confine,
but these appear unrelated.
- The kernel is tainted due to proprietary/out-of-tree NVIDIA modules:
Tainted: P W OE
Complete log:
May 18 22:08:39 [HOST] kernel: Filesystems sync: 0.008 seconds
May 18 22:08:39 [HOST] kernel: jump_label: Fatal kernel bug, unexpected op at
nvkms_kthread_q_callback+0x8e/0x1a0 [nvidia_modeset] [0000000088049e86] (e9 9b
00 00 00 != 0f 1f 44 00 00)) size:5 type:1
May 18 22:08:39 [HOST] kernel: fbcon: Taking over console
May 18 22:08:39 [HOST] kernel: ------------[ cut here ]------------
May 18 22:08:39 [HOST] kernel: kernel BUG at arch/x86/kernel/jump_label.c:73!
May 18 22:08:39 [HOST] kernel: Oops: invalid opcode: 0000 [#1] SMP NOPTI
May 18 22:08:39 [HOST] kernel: CPU: 2 UID: 0 PID: 8570 Comm: systemd-sleep
Tainted: P W OE 7.0.0-15-generic #15-Ubuntu PREEMPT(lazy)
May 18 22:08:39 [HOST] kernel: Tainted: [P]=PROPRIETARY_MODULE, [W]=WARN,
[O]=OOT_MODULE, [E]=UNSIGNED_MODULE
May 18 22:08:39 [HOST] kernel: Hardware name: LENOVO 83DG/LNVNB161216, BIOS
NMCN29WW 12/18/2024
May 18 22:08:39 [HOST] kernel: RIP: 0010:__jump_label_patch.cold+0x24/0x26
May 18 22:08:39 [HOST] kernel: Code: f8 e9 44 f7 19 00 48 c7 c3 b8 89 45 94 41
56 45 89 e1 49 89 d8 4c 89 e9 4c 89 ea 4c 89 ee 48 c7 c7 58 9e ed 92 e8 64 90
01 00 <0f> 0b 0f b6 f0 48 c7 c7 20 02 a5 93 88 45 f7 e8 10 9f bc 00 0f b6
May 18 22:08:39 [HOST] kernel: RSP: 0018:ffffd18b4fcd7ba0 EFLAGS: 00010246
May 18 22:08:39 [HOST] kernel: RAX: 00000000000000a8 RBX: ffffffff928068ca
RCX: 0000000000000000
May 18 22:08:39 [HOST] kernel: RDX: 0000000000000000 RSI: 0000000000000000
RDI: 0000000000000000
May 18 22:08:39 [HOST] kernel: RBP: ffffd18b4fcd7bd0 R08: 0000000000000000
R09: 0000000000000000
May 18 22:08:39 [HOST] kernel: R10: 0000000000000000 R11: 0000000000000000
R12: 0000000000000005
May 18 22:08:39 [HOST] kernel: R13: ffffffffc8a009ae R14: 0000000000000001
R15: 0000000000000000
May 18 22:08:39 [HOST] kernel: FS: 00007ac3916e6c80(0000)
GS:ffff8e066a900000(0000) knlGS:0000000000000000
May 18 22:08:39 [HOST] kernel: CS: 0010 DS: 0000 ES: 0000 CR0:
0000000080050033
May 18 22:08:39 [HOST] kernel: CR2: 0000624f69d86780 CR3: 00000001122f0001
CR4: 0000000000f72ef0
May 18 22:08:39 [HOST] kernel: PKRU: 55555554
May 18 22:08:39 [HOST] kernel: Call Trace:
May 18 22:08:39 [HOST] kernel: <TASK>
May 18 22:08:39 [HOST] kernel: arch_jump_label_transform_queue+0x37/0x90
May 18 22:08:39 [HOST] kernel: __jump_label_update+0x47/0x100
May 18 22:08:39 [HOST] kernel: jump_label_update+0x5c/0x110
May 18 22:08:39 [HOST] kernel: static_key_slow_inc_cpuslocked+0x53/0xa0
May 18 22:08:39 [HOST] kernel: static_key_slow_inc+0x1f/0x40
May 18 22:08:39 [HOST] kernel: freeze_processes+0xd1/0xe0
May 18 22:08:39 [HOST] kernel: enter_state+0xe0/0x610
May 18 22:08:39 [HOST] kernel: pm_suspend+0x49/0x90
May 18 22:08:39 [HOST] kernel: state_store+0x2e/0x60
May 18 22:08:39 [HOST] kernel: kobj_attr_store+0x12/0x40
May 18 22:08:39 [HOST] kernel: sysfs_kf_write+0x74/0x90
May 18 22:08:39 [HOST] kernel: kernfs_fop_write_iter+0x161/0x210
May 18 22:08:39 [HOST] kernel: vfs_write+0x25b/0x490
May 18 22:08:39 [HOST] kernel: ksys_write+0x71/0xf0
May 18 22:08:39 [HOST] kernel: __x64_sys_write+0x19/0x30
May 18 22:08:39 [HOST] kernel: x64_sys_call+0x22f/0x2390
May 18 22:08:39 [HOST] kernel: do_syscall_64+0x115/0x5a0
May 18 22:08:39 [HOST] kernel: ?
arch_exit_to_user_mode_prepare.isra.0+0xd/0x100
May 18 22:08:39 [HOST] kernel: ? irqentry_exit+0x97/0x5a0
May 18 22:08:39 [HOST] kernel: ? exc_page_fault+0x94/0x1e0
May 18 22:08:39 [HOST] kernel: entry_SYSCALL_64_after_hwframe+0x76/0x7e
May 18 22:08:39 [HOST] kernel: RIP: 0033:0x7ac390ea06c6
May 18 22:08:39 [HOST] kernel: Code: 47 ba 04 00 00 00 48 8b 05 3f 17 17 00 64
89 10 48 c7 c2 ff ff ff ff c9 48 89 d0 c3 0f 1f 84 00 00 00 00 00 48 8b 45 10
0f 05 <48> 89 c2 48 3d 00 f0 ff ff 77 0f c9 48 89 d0 c3 66 2e 0f 1f 84 00
May 18 22:08:39 [HOST] kernel: RSP: 002b:00007ffd907f5850 EFLAGS: 00000202
ORIG_RAX: 0000000000000001
May 18 22:08:39 [HOST] kernel: RAX: ffffffffffffffda RBX: 0000624f69d81010
RCX: 00007ac390ea06c6
May 18 22:08:39 [HOST] kernel: RDX: 0000000000000004 RSI: 0000624f69d85770
RDI: 0000000000000005
May 18 22:08:39 [HOST] kernel: RBP: 00007ffd907f5860 R08: 0000000000000000
R09: 0000000000000000
May 18 22:08:39 [HOST] kernel: R10: 0000000000000000 R11: 0000000000000202
R12: 0000000000000004
May 18 22:08:39 [HOST] kernel: R13: 0000000000000004 R14: 0000624f69d85770
R15: 0000000000000000
May 18 22:08:39 [HOST] kernel: </TASK>
May 18 22:08:39 [HOST] kernel: Modules linked in: rfcomm snd_seq_dummy
snd_hrtimer xt_CHECKSUM xt_MASQUERADE xt_conntrack ipt_REJECT nf_reject_ipv4
xt_tcpudp nft_chain_nat nf_nat nf_conntrack nf_defrag_ipv6 nf_defrag_ipv4
bridge stp llc ccm xt_comment nft_compat x_tables nvidia_uvm(POE) qrtr
snd_hda_codec_intelhdmi cmac algif_hash algif_skcipher af_alg snd_ctl_led
overlay nf_tables bnep snd_hda_codec_alc269 snd_hda_codec_realtek_lib
snd_hda_scodec_component snd_hda_codec_generic xe binfmt_misc drm_gpusvm_helper
gpu_sched drm_gpuvm drm_exec drm_suballoc_helper nls_iso8859_1 nvidia_drm(POE)
nvidia_modeset(POE) nvidia(POE) intel_uncore_frequency
intel_uncore_frequency_common intel_tcc_cooling lenovo_wmi_gamezone
x86_pkg_temp_thermal lenovo_wmi_other intel_powerclamp lenovo_wmi_helpers
coretemp snd_sof_pci_intel_tgl snd_sof_pci_intel_cnl snd_sof_intel_hda_generic
soundwire_intel snd_sof_intel_hda_sdw_bpt snd_sof_intel_hda_common
snd_soc_hdac_hda snd_sof_intel_hda_mlink snd_sof_intel_hda soundwire_cadence
snd_sof_pci snd_sof_xtensa_dsp
May 18 22:08:39 [HOST] kernel: snd_sof snd_sof_utils snd_soc_acpi_intel_match
snd_soc_acpi_intel_sdca_quirks soundwire_generic_allocation snd_soc_sdw_utils
snd_soc_acpi soundwire_bus snd_hda_codec_nvhdmi snd_soc_sdca snd_hda_codec_hdmi
crc8 snd_soc_avs snd_soc_hda_codec rtw89_8852ce snd_hda_intel snd_hda_ext_core
rtw89_8852c snd_hda_codec snd_soc_core snd_hda_core rtw89_pci snd_intel_dspcfg
snd_compress snd_intel_sdw_acpi ac97_bus snd_pcm_dmaengine snd_hwdep snd_pcm
rtw89_core kvm_intel uvcvideo snd_seq_midi snd_seq_midi_event videobuf2_vmalloc
kvm snd_rawmidi uvc btusb videobuf2_memops btmtk videobuf2_v4l2 irqbypass
mac80211 snd_seq btrtl ghash_clmulni_intel videobuf2_common cmdlinepart
aesni_intel btbcm videodev spi_nor btintel snd_seq_device rapl intel_cstate mtd
mei_hdcp mei_pxp intel_rapl_msr i915 bluetooth lenovo_wmi_events mc snd_timer
firmware_attributes_class lenovo_wmi_capdata cfg80211 i2c_i801 snd
spi_intel_pci processor_thermal_device_pci wmi_bmof i2c_smbus
processor_thermal_device lenovo_wmi_hotkey_utilities
May 18 22:08:39 [HOST] kernel: nvidia_wmi_ec_backlight spi_intel libarc4
i2c_mux drm_ttm_helper soundcore drm_buddy ideapad_laptop
processor_thermal_wt_hint ttm platform_temperature_control sparse_keymap
processor_thermal_soc_slider drm_display_helper intel_pmc_core
processor_thermal_rfim processor_thermal_rapl pmt_telemetry cec
intel_rapl_common pmt_discovery processor_thermal_wt_req pmt_class
processor_thermal_power_floor rc_core processor_thermal_mbox int3400_thermal
intel_pmc_ssram_telemetry platform_profile i2c_algo_bit int3403_thermal
intel_vsec acpi_thermal_rel int340x_thermal_zone acpi_pad joydev input_leds
mei_me mac_hid mei sch_fq_codel parport_pc lp ppdev parport msr efi_pstore
nfnetlink dmi_sysfs autofs4 btrfs libblake2b raid10 raid456 async_raid6_recov
async_memcpy async_pq async_xor async_tx xor raid6_pq raid1 raid0 linear
hid_multitouch hid_generic usbhid i2c_hid_acpi ucsi_acpi i2c_hid serio_raw hid
nvme typec_ucsi nvme_core r8169 typec nvme_keyring video ahci intel_lpss_pci
thunderbolt realtek nvme_auth intel_lpss hkdf
May 18 22:08:39 [HOST] kernel: libahci pinctrl_alderlake idma64 wmi
May 18 22:08:39 [HOST] kernel: ---[ end trace 0000000000000000 ]---
May 18 22:08:41 [HOST] kernel: RIP: 0010:__jump_label_patch.cold+0x24/0x26
May 18 22:08:41 [HOST] kernel: Code: f8 e9 44 f7 19 00 48 c7 c3 b8 89 45 94 41
56 45 89 e1 49 89 d8 4c 89 e9 4c 89 ea 4c 89 ee 48 c7 c7 58 9e ed 92 e8 64 90
01 00 <0f> 0b 0f b6 f0 48 c7 c7 20 02 a5 93 88 45 f7 e8 10 9f bc 00 0f b6
May 18 22:08:41 [HOST] kernel: RSP: 0018:ffffd18b4fcd7ba0 EFLAGS: 00010246
May 18 22:08:41 [HOST] kernel: RAX: 00000000000000a8 RBX: ffffffff928068ca
RCX: 0000000000000000
May 18 22:08:41 [HOST] kernel: RDX: 0000000000000000 RSI: 0000000000000000
RDI: 0000000000000000
May 18 22:08:41 [HOST] kernel: RBP: ffffd18b4fcd7bd0 R08: 0000000000000000
R09: 0000000000000000
May 18 22:08:41 [HOST] kernel: R10: 0000000000000000 R11: 0000000000000000
R12: 0000000000000005
May 18 22:08:41 [HOST] kernel: R13: ffffffffc8a009ae R14: 0000000000000001
R15: 0000000000000000
May 18 22:08:41 [HOST] kernel: FS: 00007ac3916e6c80(0000)
GS:ffff8e066af00000(0000) knlGS:0000000000000000
May 18 22:08:41 [HOST] kernel: CS: 0010 DS: 0000 ES: 0000 CR0:
0000000080050033
May 18 22:08:41 [HOST] kernel: CR2: 00005608d72752e0 CR3: 00000001122f0004
CR4: 0000000000f72ef0
May 18 22:08:41 [HOST] kernel: PKRU: 55555554
ProblemType: Bug
DistroRelease: Ubuntu 26.04
Package: linux-image-7.0.0-15-generic 7.0.0-15.15
ProcVersionSignature: Ubuntu 7.0.0-15.15-generic 7.0.0
Uname: Linux 7.0.0-15-generic x86_64
NonfreeKernelModules: nvidia_modeset nvidia
ApportVersion: 2.34.0-0ubuntu2
Architecture: amd64
AudioDevicesInUse:
USER PID ACCESS COMMAND
/dev/snd/controlC1: pavel 7833 F.... wireplumber
/dev/snd/controlC0: pavel 7833 F.... wireplumber
/dev/snd/seq: pavel 7797 F.... pipewire
CasperMD5CheckResult: pass
CurrentDesktop: ubuntu:GNOME
Date: Tue May 19 08:00:57 2026
InstallationDate: Installed on 2025-02-22 (451 days ago)
InstallationMedia: Ubuntu 24.04.2 LTS "Noble Numbat" - Release amd64 (20250215)
Lsusb:
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 001 Device 002: ID 04f2:b7b6 Chicony Electronics Co., Ltd Integrated Camera
Bus 001 Device 003: ID 048d:c992 Integrated Technology Express, Inc. ITE
Device(8176)
Bus 001 Device 004: ID 0bda:5852 Realtek Semiconductor Corp. Bluetooth Radio
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
MachineType: LENOVO 83DG
ProcEnviron:
LANG=en_US.UTF-8
PATH=(custom, no user)
SHELL=/bin/bash
TERM=xterm-256color
ProcFB: 0 i915drmfb
ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-7.0.0-15-generic
root=UUID=197794af-2d92-46dc-9acf-5ff51af5a2c7 ro quiet splash
crashkernel=2G-4G:320M,4G-32G:512M,32G-64G:1024M,64G-128G:2048M,128G-:4096M
SourcePackage: linux
UpgradeStatus: Upgraded to resolute on 2026-05-16 (2 days ago)
dmi.bios.date: 12/18/2024
dmi.bios.release: 1.29
dmi.bios.vendor: LENOVO
dmi.bios.version: NMCN29WW
dmi.board.asset.tag: NO Asset Tag
dmi.board.name: LNVNB161216
dmi.board.vendor: LENOVO
dmi.board.version: SDK0T76461 WIN
dmi.chassis.asset.tag: NO Asset Tag
dmi.chassis.type: 10
dmi.chassis.vendor: LENOVO
dmi.chassis.version: Legion 5 16IRX9
dmi.ec.firmware.release: 1.29
dmi.modalias:
dmi:bvnLENOVO:bvrNMCN29WW:bd12/18/2024:br1.29:efr1.29:svnLENOVO:pn83DG:pvrLegion516IRX9:rvnLENOVO:rnLNVNB161216:rvrSDK0T76461WIN:cvnLENOVO:ct10:cvrLegion516IRX9:skuLENOVO_MT_83DG_BU_idea_FM_Legion516IRX9:pfaLegion516IRX9:
dmi.product.family: Legion 5 16IRX9
dmi.product.name: 83DG
dmi.product.sku: LENOVO_MT_83DG_BU_idea_FM_Legion 5 16IRX9
dmi.product.version: Legion 5 16IRX9
dmi.sys.vendor: LENOVO
** Affects: linux (Ubuntu)
Importance: Undecided
Status: New
** Tags: amd64 apport-bug resolute
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2153112
Title:
Suspend crash on Lenovo Legion with NVIDIA: kernel BUG in
nvidia_modeset nvkms_kthread_q_callback on 7.0.0-15-generic
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/2153112/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs