Hang/crash due to general protection fault kmem_cache_alloc, i915_active_ref
With Debian Sid/unstable and Linux 5.5.13-2 today the Dell LATITUDE E7250 (Broadwell) hung/crashed while I was working in GNOME Shell with Firefox, GNOME Terminal and mpv playing a video. After forcefully powering it off by pressing the power button, it started fine, and pstore saved the messages below.
<4>[10802.674465] general protection fault: 0000 [#1] SMP PTI
<4>[10802.674478] CPU: 0 PID: 12338 Comm: mpv/vo Tainted: G W E 5.5.0-1-amd64 #1 Debian 5.5.13-2
<4>[10802.674482] Hardware name: Dell Inc. Latitude E7250/0TVD2T, BIOS A19 01/23/2018
<4>[10802.674492] RIP: 0010:kmem_cache_alloc+0x7a/0x210
<4>[10802.674497] Code: 65 49 8b 50 08 65 4c 03 05 03 bd da 74 4d 8b 20 4d 85 e4 0f 84 7c 01 00 00 41 8b 5e 20 49 8b 3e 48 8d 4a 01 4c 89 e0 4c 01 e3 <48> 33 1b 49 33 9e 70 01 00 00 65 48 0f c7 0f 0f 94 c0 84 c0 74 bd
<4>[10802.674501] RSP: 0018:ffffb0be43f43a28 EFLAGS: 00010282
<4>[10802.674505] RAX: a763e03e683fa8df RBX: a763e03e683fa8df RCX: 000000000014d38b
<4>[10802.674507] RDX: 000000000014d38a RSI: 0000000000000cc0 RDI: 0000000000031440
<4>[10802.674509] RBP: 0000000000000cc0 R08: ffff8f028dc31440 R09: ffff8f0255b7b190
<4>[10802.674511] R10: 0000000000000cc0 R11: 0000000000000001 R12: a763e03e683fa8df
<4>[10802.674513] R13: ffffffffc077f182 R14: ffff8f028c17cc40 R15: ffff8f028c17cc40
<4>[10802.674516] FS: 00007f4fa1ec7700(0000) GS:ffff8f028dc00000(0000) knlGS:0000000000000000
<4>[10802.674518] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
<4>[10802.674520] CR2: 00007f4f880d6000 CR3: 0000000398600002 CR4: 00000000003606f0
<4>[10802.674522] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
<4>[10802.674524] DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
<4>[10802.674526] Call Trace:
<4>[10802.674593] i915_active_ref+0x62/0x180 [i915]
<4>[10802.674650] i915_vma_move_to_active+0x24/0x150 [i915]
<4>[10802.674704] i915_gem_do_execbuffer+0xd75/0x18f0 [i915]
<4>[10802.674711] ? update_load_avg+0x78/0x5f0
<4>[10802.674716] ? account_entity_enqueue+0x9c/0xd0
<4>[10802.674720] ? enqueue_entity+0x10e/0x610
<4>[10802.674724] ? record_times+0x15/0x90
<4>[10802.674730] ? _cond_resched+0x15/0x30
<4>[10802.674734] ? __kmalloc+0x174/0x260
<4>[10802.674764] ? drm_syncobj_array_wait_timeout+0xb6/0x5f0 [drm]
<4>[10802.674769] ? xas_load+0x9/0x80
<4>[10802.674774] ? find_get_entry+0xb3/0x170
<4>[10802.674779] ? _cond_resched+0x15/0x30
<4>[10802.674784] ? __kmalloc_node+0x1f5/0x300
<4>[10802.674836] i915_gem_execbuffer2_ioctl+0x2bb/0x3d0 [i915]
<4>[10802.674888] ? i915_gem_execbuffer_ioctl+0x2e0/0x2e0 [i915]
<4>[10802.674910] drm_ioctl_kernel+0xaa/0xf0 [drm]
<4>[10802.674932] drm_ioctl+0x208/0x390 [drm]
<4>[10802.674985] ? i915_gem_execbuffer_ioctl+0x2e0/0x2e0 [i915]
<4>[10802.674991] do_vfs_ioctl+0x461/0x6d0
<4>[10802.674996] ksys_ioctl+0x5e/0x90
<4>[10802.675001] __x64_sys_ioctl+0x16/0x20
<4>[10802.675006] do_syscall_64+0x52/0x180
<4>[10802.675011] entry_SYSCALL_64_after_hwframe+0x44/0xa9
<4>[10802.675015] RIP: 0033:0x7f4fb1241427
<4>[10802.675019] Code: 00 00 90 48 8b 05 69 7a 0c 00 64 c7 00 26 00 00 00 48 c7 c0 ff ff ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 b8 10 00 00 00 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 8b 0d 39 7a 0c 00 f7 d8 64 89 01 48
<4>[10802.675021] RSP: 002b:00007f4fa1ec43e8 EFLAGS: 00000246 ORIG_RAX: 0000000000000010
<4>[10802.675025] RAX: ffffffffffffffda RBX: 00007f4f84178360 RCX: 00007f4fb1241427
<4>[10802.675027] RDX: 00007f4fa1ec4400 RSI: 0000000040406469 RDI: 000000000000000c
<4>[10802.675029] RBP: 00007f4fa1ec4490 R08: 00007f4f84177df0 R09: 0000000000000010
<4>[10802.675031] R10: 00007f4fa1ec44b0 R11: 0000000000000246 R12: 00007f4f8bef8ae8
<4>[10802.675033] R13: 0000000000000000 R14: 00007f4fa1ec4400 R15: 000000000000000c
<4>[10802.675037] Modules linked in: ctr(E) ccm(E) fuse(E) binfmt_misc(E) nls_ascii(E) nls_cp437(E) vfat(E) fat(E) snd_hda_codec_hdmi(E) uvcvideo(E) videobuf2_vmalloc(E) videobuf2_memops(E) videobuf2_v4l2(E) videobuf2_common(E) videodev(E) mc(E) btusb(E) btrtl(E) btbcm(E) btintel(E) bluetooth(E) ecdh_generic(E) ecc(E) x86_pkg_temp_thermal(E) intel_powerclamp(E) coretemp(E) kvm_intel(E) kvm(E) iwlmvm(E) irqbypass(E) dell_laptop(E) dell_wmi(E) snd_hda_codec_realtek(E) dell_smbios(E) iTCO_wdt(E) iTCO_vendor_support(E) dcdbas(E) mei_wdt(E) snd_hda_codec_generic(E) wmi_bmof(E) crct10dif_pclmul(E) watchdog(E) intel_rapl_msr(E) sparse_keymap(E) ledtrig_audio(E) dell_smm_hwmon(E) dell_wmi_descriptor(E) ppdev(E) mac80211(E) crc32_pclmul(E) libarc4(E) ghash_clmulni_intel(E) snd_hda_intel(E) snd_intel_dspcfg(E) intel_cstate(E) sdhci_pci(E) tpm_tis(E) snd_hda_codec(E) intel_uncore(E) iwlwifi(E) intel_rapl_perf(E) cqhci(E) tpm_tis_core(E) snd_hda_core(E) sdhci(E) joydev(E) efi_pstore(E) tpm(E) snd_hwdep(E)
<4>[10802.675078] pcspkr(E) ehci_pci(E) xhci_pci(E) mmc_core(E) efivars(E) cfg80211(E) sg(E) i2c_i801(E) rng_core(E) wmi(E) battery(E) snd_pcm(E) i915(E) parport_pc(E) ehci_hcd(E) xhci_hcd(E) parport(E) int3403_thermal(E) e1000e(E) snd_timer(E) processor_thermal_device(E) usbcore(E) drm_kms_helper(E) snd(E) mei_me(E) ptp(E) intel_rapl_common(E) video(E) soundcore(E) usb_common(E) mei(E) pps_core(E) lpc_ich(E) dell_rbtn(E) intel_soc_dts_iosf(E) i2c_algo_bit(E) mfd_core(E) int3400_thermal(E) acpi_thermal_rel(E) int3402_thermal(E) rfkill(E) int340x_thermal_zone(E) acpi_pad(E) ac(E) button(E) pkcs8_key_parser(E) drm(E) efivarfs(E) ip_tables(E) x_tables(E) autofs4(E) ext4(E) crc16(E) mbcache(E) jbd2(E) crc32c_generic(E) dm_crypt(E) dm_mod(E) sd_mod(E) crc32c_intel(E) ahci(E) libahci(E) aesni_intel(E) glue_helper(E) crypto_simd(E) cryptd(E) evdev(E) libata(E) psmouse(E) serio_raw(E) scsi_mod(E) fan(E)
<4>[10802.675125] ---[ end trace 90c182372dfa3f52 ]---