[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <04b26880-202e-428d-8aa2-cf83210ae72a@gmail.com>
Date: Tue, 8 Jul 2025 22:13:20 +0200
From: Jacek Ćuczak <difrost.kernel@...il.com>
To: LKML <linux-kernel@...r.kernel.org>, tzimmermann@...e.de,
christian.koenig@....com
Subject: WARNING at drm_gem_object_handle_put_unlocked+0xaa/0xe0
Hi,
On 6.16-rc5 my laptops graphics[1] crashes on boot and the only issue I
can find in logs (full dmesg attached) is bellow warning:
WARNING: CPU: 12 PID: 1360 at drivers/gpu/drm/drm_gem.c:286
drm_gem_object_handle_put_unlocked+0xaa/0xe0
Modules linked in: amd_atl intel_rapl_msr intel_rapl_common iosf_mbi
mousedev snd_acp70 snd_acp_i2s snd_acp_pdm snd_acp_pcm snd_sof_amd_acp70
snd_sof_amd_acp63 snd_sof_amd_vangogh snd_sof_amd_rembrandt
snd_sof_amd_renoir snd_sof_amd_acp snd_sof_pci ccm snd_sof snd_sof_utils
algif_aead snd_sof_xtensa_dsp snd_pci_ps snd_soc_acpi_amd_match
snd_hda_codec_realtek snd_amd_sdw_acpi des3_ede_x86_64 soundwire_amd
snd_hda_codec_generic soundwire_generic_allocation
snd_hda_scodec_component soundwire_bus cbc snd_soc_sdca
snd_hda_codec_hdmi snd_soc_core des_generic mt7921e libdes snd_hda_intel
snd_compress bnep mt7921_common snd_pcm_dmaengine snd_intel_dspcfg
ac97_bus algif_skcipher kvm_amd mt792x_lib snd_intel_sdw_acpi
snd_rpl_pci_acp6x snd_hda_codec uvcvideo snd_acp_pci snd_ctl_led
snd_amd_acpi_mach mt76_connac_lib snd_hwdep videobuf2_vmalloc kvm
snd_acp_legacy_common uvc snd_hda_core snd_pci_acp6x mt76 btusb
videobuf2_memops irqbypass cmac btrtl ucsi_acpi snd_pcm polyval_clmulni
snd_pci_acp5x videobuf2_v4l2
sp5100_tco mac80211 btintel typec_ucsi ghash_clmulni_intel md4
snd_rn_pci_acp3x amd_pmf snd_timer videobuf2_common asus_nb_wmi btbcm
sha512_ssse3 typec asus_wmi snd_acp_config sha1_ssse3 amdtee snd
i2c_piix4 btmtk algif_hash joydev videodev aesni_intel roles
sparse_keymap hid_multitouch snd_soc_acpi amd_sfh libarc4 bluetooth mc
af_alg hid_generic cfg80211 wmi_bmof rapl pcspkr platform_profile
k10temp rfkill thunderbolt i2c_smbus amdxdna ccp snd_pci_acp3x soundcore
thermal tee i2c_hid_acpi amd_pmc rtc_cmos i2c_hid pkcs8_key_parser
i2c_dev crypto_user loop dm_mod nfnetlink zram 842_decompress
842_compress lz4hc_compress lz4_compress ip_tables x_tables amdgpu crc16
i2c_algo_bit drm_ttm_helper ttm drm_panel_backlight_quirks drm_exec
drm_suballoc_helper amdxcp serio_raw drm_buddy atkbd nvme gpu_sched
libps2 nvme_core drm_display_helper vivaldi_fmap cec nvme_keyring
rc_core i8042 nvme_auth video serio
CPU: 12 UID: 970 PID: 1360 Comm: Xorg Not tainted 6.16.0-rc5 #6
PREEMPTLAZY 55478344329a1623271c61b7ff9b4263c0de9bf7
Hardware name: ASUSTeK COMPUTER INC. ASUS Vivobook S 16
M5606WA_M5606WA/M5606WA, BIOS M5606WA.314 04/17/2025
RIP: 0010:drm_gem_object_handle_put_unlocked+0xaa/0xe0
Code: 42 5b 5d c3 48 89 ef e8 54 05 46 00 eb dc 48 8b 43 08 48 8d b8 e8
05 00 00 e8 92 a3 42 00 c7 83 e0 00 00 00 00 00 00 00 eb 9c <0f> 0b c3
48 8b 83 40 01 00 00 48 8b 00 48 85 c0 74 16 48 89 df 5b
RSP: 0018:ffffcf02c4cbfbd8 EFLAGS: 00010246
RAX: 0000000000000000 RBX: ffff8c5544d48448 RCX: 0000000000400030
RDX: 0000000000400031 RSI: ffff8c5554cc6a00 RDI: ffff8c5544d48448
RBP: ffff8c55687b8e00 R08: ffff8c5554cc6a00 R09: ffffffffa525f400
R10: 0000000000400030 R11: 0000000000000000 R12: 0000000000000010
R13: ffff8c55687b8e50 R14: ffff8c5554bb0c08 R15: ffff8c5555580010
FS: 0000000000000000(0000) GS:ffff8c5bfb78a000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f826c2ae070 CR3: 0000000702c1e000 CR4: 0000000000f50ef0
PKRU: 55555554
Call Trace:
<TASK>
drm_gem_object_release_handle+0x51/0x60
? drm_gem_object_handle_put_unlocked+0xe0/0xe0
idr_for_each+0x6a/0xe0
drm_gem_release+0x20/0x30
drm_file_free+0x205/0x280
drm_release+0xc3/0x130
__fput+0xd9/0x290
task_work_run+0x5a/0x80
do_exit+0x28d/0xa60
do_group_exit+0x2d/0xc0
__x64_sys_exit_group+0x18/0x20
x64_sys_call+0xfdb/0x14f0
do_syscall_64+0x7c/0xc00
? __handle_mm_fault+0x393/0x8b0
? count_memcg_events+0x145/0x190
? handle_mm_fault+0x1de/0x310
? do_user_addr_fault+0x20d/0x680
? exc_page_fault+0x77/0x160
entry_SYSCALL_64_after_hwframe+0x4b/0x53
RIP: 0033:0x7f826c9b6f68
Code: Unable to access opcode bytes at 0x7f826c9b6f3e.
RSP: 002b:00007ffe5753e468 EFLAGS: 00000202 ORIG_RAX: 00000000000000e7
RAX: ffffffffffffffda RBX: 00007f826cabafe8 RCX: 00007f826c9b6f68
RDX: 00007f826c229d08 RSI: fffffffffffffcf8 RDI: 0000000000000000
RBP: 00007ffe5753e4c0 R08: 00007ffe5753e3f8 R09: 0000000000000000
R10: 0000000000000006 R11: 0000000000000202 R12: 0000000000000a13
R13: 0000000000000000 R14: 00007f826cab9680 R15: 00007f826cabb000
</TASK>
While checking on this issue I've found[2] and applied the patch posted
by Thomes which fixed the issue.
Regards,
-Jacek
[1] AMD Ryzen AI 9 HX 370 with 890M
[2]
https://lore.kernel.org/lkml/c17428b3-6f04-4eb7-9140-92c7f27eae4f@suse.de/
View attachment "rc5-crash.log" of type "text/x-log" (103300 bytes)
Powered by blists - more mailing lists