NULL pointer dereference on RocketLake-S GT1 [UHD Graphics 730]
My Dell XPS 8940 desktop fails to boot on kernel 6.7.2 due to this i915 driver error. It may be a regression as it's not happening in kernel 6.5.12. Seems to have been introduced somewhere in 6.6.x.
Jan 30 22:41:04 kernel: BUG: kernel NULL pointer dereference, address: 000000000000007c
Jan 30 22:41:04 kernel: fbcon: Taking over console
Jan 30 22:41:04 kernel: #PF: supervisor read access in kernel mode
Jan 30 22:41:04 kernel: #PF: error_code(0x0000) - not-present page
Jan 30 22:41:04 kernel: PGD 0 P4D 0
Jan 30 22:41:04 kernel: Oops: 0000 [#1] PREEMPT SMP NOPTI
Jan 30 22:41:04 kernel: CPU: 8 PID: 463 Comm: (udev-worker) Not tainted 6.7.2-250.vanilla.fc39.x86_64 #1
Jan 30 22:41:04 kernel: Hardware name: Dell Inc. XPS 8940/0K3CM7, BIOS 2.16.0 11/02/2023
Jan 30 22:41:04 kernel: RIP: 0010:icl_aux_pw_to_phy.isra.0+0x35/0x40 [i915]
Jan 30 22:41:04 kernel: Code: 76 08 0f b6 d2 48 8d 04 52 f6 41 11 01 48 89 fb 48 8b 16 48 8d 04 c2 0f b6 70 14 8d 46 fa 0f 45 f0 e8 7f ed ff ff 48 89 df 5b <8b> 70 7c e9 e3 93 fe ff 0f 1f 00 90 90 90 90 90 90 90 90 90 90 90
Jan 30 22:41:04 kernel: RSP: 0018:ffffa96381a37a40 EFLAGS: 00010246
Jan 30 22:41:04 kernel: RAX: 0000000000000000 RBX: ffff989bc1940000 RCX: ffffffffc0800e98
Jan 30 22:41:04 kernel: RDX: 0000000000000000 RSI: 0000000000000003 RDI: ffff989bc1940000
Jan 30 22:41:04 kernel: RBP: ffff989bc279c760 R08: ffffffffc086ffb1 R09: 0000000000000000
Jan 30 22:41:04 kernel: R10: 0000000000000001 R11: 0000000000000100 R12: ffff989bc1940b08
Jan 30 22:41:04 kernel: R13: 0000000000000001 R14: ffff989bc269d0c0 R15: ffff989bc269d000
Jan 30 22:41:04 kernel: FS: 00007fd3316a9980(0000) GS:ffff989f11400000(0000) knlGS:0000000000000000
Jan 30 22:41:04 kernel: CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
Jan 30 22:41:04 kernel: CR2: 000000000000007c CR3: 0000000101a0c001 CR4: 0000000000770ef0
Jan 30 22:41:04 kernel: PKRU: 55555554
Jan 30 22:41:04 kernel: Call Trace:
Jan 30 22:41:04 kernel: <TASK>
Jan 30 22:41:04 kernel: ? __die+0x23/0x70
Jan 30 22:41:04 kernel: ? page_fault_oops+0x171/0x4e0
Jan 30 22:41:04 kernel: ? __intel_display_power_get_domain.part.0+0x52/0x70 [i915]
Jan 30 22:41:04 kernel: ? ktime_get+0x3c/0xa0
Jan 30 22:41:04 kernel: ? exc_page_fault+0x7f/0x180
Jan 30 22:41:04 kernel: ? asm_exc_page_fault+0x26/0x30
Jan 30 22:41:04 kernel: ? icl_aux_pw_to_phy.isra.0+0x35/0x40 [i915]
Jan 30 22:41:04 kernel: icl_aux_power_well_disable+0x39/0x1d0 [i915]
Jan 30 22:41:04 kernel: intel_power_domains_sanitize_state+0x91/0xb0 [i915]
Jan 30 22:41:04 kernel: intel_display_driver_probe_nogem+0x163/0x210 [i915]
Jan 30 22:41:04 kernel: i915_driver_probe+0x707/0xbe0 [i915]
Jan 30 22:41:04 kernel: local_pci_probe+0x42/0xa0
Jan 30 22:41:04 kernel: pci_device_probe+0xc7/0x240
Jan 30 22:41:04 kernel: really_probe+0x19b/0x3e0
Jan 30 22:41:04 kernel: ? __pfx___driver_attach+0x10/0x10
Jan 30 22:41:04 kernel: __driver_probe_device+0x78/0x160
Jan 30 22:41:04 kernel: driver_probe_device+0x1f/0x90
Jan 30 22:41:04 kernel: __driver_attach+0xd2/0x1c0
Jan 30 22:41:04 kernel: bus_for_each_dev+0x85/0xd0
Jan 30 22:41:04 kernel: bus_add_driver+0x116/0x220
Jan 30 22:41:04 kernel: driver_register+0x59/0x100
Jan 30 22:41:04 kernel: i915_init+0x22/0xc0 [i915]
Jan 30 22:41:04 kernel: ? __pfx_i915_init+0x10/0x10 [i915]
Jan 30 22:41:04 kernel: do_one_initcall+0x58/0x320
Jan 30 22:41:04 kernel: do_init_module+0x60/0x240
Jan 30 22:41:04 kernel: __do_sys_init_module+0x17f/0x1b0
Jan 30 22:41:04 kernel: ? __seccomp_filter+0x32c/0x4f0
Jan 30 22:41:04 kernel: do_syscall_64+0x61/0xe0
an 30 22:41:04 kernel: ? __count_memcg_events+0x42/0x90
Jan 30 22:41:04 kernel: ? count_memcg_events.constprop.0+0x1a/0x30
Jan 30 22:41:04 kernel: ? handle_mm_fault+0xa2/0x360
Jan 30 22:41:04 kernel: ? do_user_addr_fault+0x304/0x670
Jan 30 22:41:04 kernel: ? exc_page_fault+0x7f/0x180
Jan 30 22:41:04 kernel: entry_SYSCALL_64_after_hwframe+0x6e/0x76
Jan 30 22:41:04 kernel: RIP: 0033:0x7fd33209483e
Jan 30 22:41:04 kernel: Code: 48 8b 0d f5 15 0c 00 f7 d8 64 89 01 48 83 c8 ff c3 66 2e 0f 1f 84 00 00 00 00 00 90 f3 0f 1e fa 49 89 ca b8 af 00 00 00 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 8b 0d c2 15 0c 00 f7 d8 64 89 01 48
Jan 30 22:41:04 kernel: RSP: 002b:00007ffc63f64988 EFLAGS: 00000246 ORIG_RAX: 00000000000000af
Jan 30 22:41:04 kernel: RAX: ffffffffffffffda RBX: 00005587334eb1c0 RCX: 00007fd33209483e
Jan 30 22:41:04 kernel: RDX: 00007fd33219a07d RSI: 00000000008adf1e RDI: 0000558733ddb220
Jan 30 22:41:04 kernel: RBP: 00007ffc63f64a40 R08: 00005587334c1010 R09: 0000000000000007
Jan 30 22:41:04 kernel: R10: 0000000000000001 R11: 0000000000000246 R12: 00007fd33219a07d
Jan 30 22:41:04 kernel: R13: 0000000000020000 R14: 00005587334e8ad0 R15: 00005587334ec400
Jan 30 22:41:04 kernel: </TASK>
Jan 30 22:41:04 kernel: Modules linked in: i915(+) crct10dif_pclmul crc32_pclmul crc32c_intel polyval_clmulni i2c_algo_bit polyval_generic drm_buddy ttm ghash_clmulni_intel sha512_ssse3 drm_display_helper r8169 sha256_ssse3 sha1_ssse3 realtek cec video wmi pinctrl_cannonlake scsi_dh_rdac scsi_dh_emc scsi_dh_alua dm_multipath fuse
Jan 30 22:41:04 kernel: CR2: 000000000000007c
Jan 30 22:41:04 kernel: ---[ end trace 0000000000000000 ]---
$ sudo lspci -vnn -d :*:0300
00:02.0 VGA compatible controller [0300]: Intel Corporation RocketLake-S GT1 [UHD Graphics 730] [8086:4c8b] (rev 04) (prog-if 00 [VGA controller])
DeviceName: Onboard - Video
Subsystem: Dell Device [1028:09c5]
Flags: bus master, fast devsel, latency 0, IRQ 125
Memory at b0000000 (64-bit, non-prefetchable) [size=16M]
Memory at a0000000 (64-bit, prefetchable) [size=256M]
I/O ports at 4000 [size=64]
Expansion ROM at 000c0000 [virtual] [disabled] [size=128K]
Capabilities: [40] Vendor Specific Information: Len=0c <?>
Capabilities: [70] Express Root Complex Integrated Endpoint, MSI 00
Capabilities: [ac] MSI: Enable+ Count=1/1 Maskable+ 64bit-
Capabilities: [d0] Power Management version 2
Capabilities: [100] Process Address Space ID (PASID)
Capabilities: [200] Address Translation Service (ATS)
Capabilities: [300] Page Request Interface (PRI)
Kernel driver in use: i915
Kernel modules: i915
Edited by Nikolas Nyby