You are not logged in.
Hi,
I'm randomly getting such panics when my laptop wakes from hibernate. The panic seems to be related to connected external monitor, but I cannot reproduce it reliably. It happens "sometimes", but after last upgrade I got it twice in a row.
Panic Report
Arch: x86_64
Version: 6.18.9-arch1-2
[516737.020672] Restarting tasks: Done
[516737.020698] efivarfs: resyncing variable state
[516737.020745] kernel tried to execute NX-protected page - exploit attempt? (uid: 0)
[516737.020765] BUG: unable to handle page fault for address: fffffffed5db7468
[516737.020777] #PF: supervisor instruction fetch in kernel mode
[516737.020788] #PF: error_code(0x0011) - permissions violation
[516737.020798] PGD 1002cc067 P4D 1002cc067 PUD 1002d0063 PMD 800000001f0000e3
[516737.020825] Oops: Oops: 0011 [#1] SMP NOPTI
[516737.020843] CPU: 10 UID: 0 PID: 864151 Comm: kworker/u64:68 Tainted: G U W OE 6.18.9-arch1-2 #1 PREEMPT(full) acc0345693780c55f83aaf9a0c9efd10d8da358f
[516737.020869] Tainted: [U]=USER, [W]=WARN, [O]=OOT_MODULE, [E]=UNSIGNED_MODULE
[516737.020878] Hardware name: LENOVO 21MC001RCK/21MC001RCK, BIOS R2LET30W (1.11 ) 11/11/2024
[516737.020889] Workqueue: efi_rts_wq efi_call_rts
[516737.020914] RIP: 0010:0xfffffffed5db7468
[516737.020990] Code: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff <ff> ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
[516737.021003] RSP: 0018:ffffd1a20c35fde8 EFLAGS: 00010286
[516737.021017] RAX: ffff8aa250061bc0 RBX: ffffd1a20d6c7c10 RCX: ffff8aa3e5375800
[516737.021026] RDX: ffff8aa3e5375c00 RSI: ffff8aa3e5375800 RDI: fffffffed5db7468
[516737.021035] RBP: ffffd1a20c35fe28 R08: 0000000000000000 R09: ffffd1a20d6c7ca0
[516737.021045] R10: ffff8aa1c2118ec0 R11: fefefefefefefeff R12: ffff8aa1c0059c00
[516737.021053] R13: ffff8aa1c212a205 R14: 0000000000000000 R15: ffffffff960d3b50
[516737.021063] FS: 0000000000000000(0000) GS:ffff8aa968f6f000(0000) knlGS:0000000000000000
[516737.021074] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[516737.021084] CR2: fffffffed5db7468 CR3: 00000001002cb000 CR4: 0000000000f50ef0
[516737.021095] PKRU: 55555554
[516737.021103] Call Trace:
[516737.021113] <TASK>
[516737.021122] ? __efi_call+0x28/0x30
[516737.021139] ? srso_alias_return_thunk+0x5/0xfbef5
[516737.021156] ? use_temporary_mm+0x4c/0x100
[516737.021177] efi_call_rts+0x124/0x370
[516737.021196] process_one_work+0x193/0x350
[516737.021220] worker_thread+0x2d7/0x410
[516737.021241] ? __pfx_worker_thread+0x10/0x10
[516737.021258] kthread+0xfc/0x240
[516737.021273] ? __pfx_kthread+0x10/0x10
[516737.021287] ? __pfx_kthread+0x10/0x10
[516737.021303] ret_from_fork+0x1c2/0x1f0
[516737.021319] ? __pfx_kthread+0x10/0x10
[516737.021333] ret_from_fork_asm+0x1a/0x30
[516737.021365] </TASK>
[516737.021373] Modules linked in: usbmon nfnetlink_queue nfnetlink_log nft_reject_ipv4 nf_reject_ipv4 nft_reject nft_masq nft_chain_nat nf_nat_h323 nf_conntrack_h323 nf_nat_pptp nf_conntrack_pptp nf_nat_tftp nf_conntrack_tftp nf_nat_sip nf_conntrack_sip nf_nat_irc nf_conntrack_irc nf_nat_ftp nf_conntrack_ftp nf_nat rndis_host cp210x snd_usb_audio snd_usbmidi_lib snd_ump snd_rawmidi r8153_ecm cdc_ether usbnet hid_apple apple_mfi_fastcharge r8152 mii tun nft_ct nf_conntrack nf_defrag_ipv6 nf_defrag_ipv4 nft_fib_ipv4 nft_fib nf_tables wireguard libcurve25519 ip6_udp_tunnel udp_tunnel uinput exfat snd_seq_dummy rfcomm snd_hrtimer snd_seq snd_seq_device ccm michael_mic cmac algif_hash algif_skcipher af_alg bnep btusb btmtk btrtl btbcm btintel bluetooth qrtr_mhi uvcvideo videobuf2_vmalloc uvc videobuf2_memops videobuf2_v4l2 videobuf2_common videodev mc ucsi_acpi typec_ucsi typec roles vfat fat snd_ps_pdm_dma snd_soc_ps_mach snd_soc_dmic snd_sof_amd_acp70 snd_sof_amd_acp63 snd_sof_amd_vangogh snd_sof_amd_rembrandt
[516737.021653] snd_sof_amd_renoir snd_sof_amd_acp snd_sof_pci snd_sof_xtensa_dsp snd_sof snd_sof_utils snd_pci_ps snd_soc_acpi_amd_match snd_amd_sdw_acpi soundwire_amd qrtr soundwire_generic_allocation snd_ctl_led soundwire_bus ath11k_pci snd_soc_sdca ath11k snd_hda_codec_alc269 snd_soc_core snd_hda_scodec_component qmi_helpers snd_hda_codec_realtek_lib snd_hda_codec_atihdmi snd_compress ac97_bus snd_hda_codec_generic snd_hda_codec_hdmi snd_hda_intel joydev snd_pcm_dmaengine mac80211 snd_rpl_pci_acp6x mousedev snd_hda_codec snd_acp_pci snd_amd_acpi_mach snd_hda_core snd_acp_legacy_common r8169 snd_pci_acp6x snd_intel_dspcfg spd5118 amd_atl intel_rapl_msr realtek snd_pci_acp5x snd_intel_sdw_acpi cfg80211 intel_rapl_common hid_multitouch snd_hwdep mdio_devres snd_rn_pci_acp3x sp5100_tco think_lmi snd_acp_config snd_pcm mhi libphy snd_soc_acpi i2c_piix4 psmouse rapl wmi_bmof firmware_attributes_class amdxdna snd_timer mdio_bus k10temp snd_pci_acp3x libarc4 i2c_smbus thunderbolt amd_pmf i2c_hid_acpi amdtee i2c_hid amd_sfh
[516737.021881] amd_pmc mac_hid vboxnetflt(OE) vboxnetadp(OE) vboxdrv(OE) kvm_amd kvm i2c_dev irqbypass pkcs8_key_parser ntsync crypto_user nfnetlink zram 842_decompress 842_compress lz4hc_compress lz4_compress dm_crypt encrypted_keys trusted asn1_encoder tee uas usb_storage amdgpu dm_mod amdxcp i2c_algo_bit drm_ttm_helper ttm drm_exec drm_panel_backlight_quirks gpu_sched thinkpad_acpi nvme drm_suballoc_helper sparse_keymap drm_buddy nvme_core platform_profile polyval_clmulni drm_display_helper ghash_clmulni_intel nvme_keyring snd aesni_intel cec nvme_auth ccp soundcore hkdf rfkill video wmi serio_raw
[516737.022055] CR2: fffffffed5db7468
[516737.022064] ---[ end trace 0000000000000000 ]---
[516737.022072] RIP: 0010:0xfffffffed5db7468
[516737.022088] Code: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff <ff> ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
[516737.022095] RSP: 0018:ffffd1a20c35fde8 EFLAGS: 00010286
[516737.022104] RAX: ffff8aa250061bc0 RBX: ffffd1a20d6c7c10 RCX: ffff8aa3e5375800
[516737.022111] RDX: ffff8aa3e5375c00 RSI: ffff8aa3e5375800 RDI: fffffffed5db7468
[516737.022116] RBP: ffffd1a20c35fe28 R08: 0000000000000000 R09: ffffd1a20d6c7ca0
[516737.022122] R10: ffff8aa1c2118ec0 R11: fefefefefefefeff R12: ffff8aa1c0059c00
[516737.022128] R13: ffff8aa1c212a205 R14: 0000000000000000 R15: ffffffff960d3b50
[516737.022134] FS: 0000000000000000(0000) GS:ffff8aa968f6f000(0000) knlGS:0000000000000000
[516737.022141] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[516737.022147] CR2: fffffffed5db7468 CR3: 00000001002cb000 CR4: 0000000000f50ef0
[516737.022154] PKRU: 55555554
[516737.022160] Kernel panic - not syncing: Fatal exception in interrupt
[516737.022579] Kernel Offset: 0x11e00000 from 0xffffffff81000000 (relocation range: 0xffffffff80000000-0xffffffffbfffffff)best regards
Jan
Offline
The panic seems to be related to connected external monitor
Is the "external monitor" connected to a dock?
The immediate trigger is the efivarfs module, https://wiki.archlinux.org/title/Unifie … _Interface
Are you dual booting windows?
Offline
Is the "external monitor" connected to a dock?
HDMI or dock, I use both variants. I have encountered the panic with laptop on its own or with monitor connected. Maybe the trigger is to suspend with monitor and wake up without or vice versa, but definitely not in 100%
Are you dual booting windows?
No
Offline
The most likely cause would be attaching/detaching the dock during the hibernation (so you could see whether you can somewhat reliably trigger it this way)
If the efivarfs remains the only trigger you could use a hibernation hook to un-/remount /sys/firmware/efi/efivars around the hibernation and possibly unloading efivarfs
(Testing the approach manually and then leveraging https://wiki.archlinux.org/title/Power_ … leep_hooks )
Offline