Kernel oops - unable to handle kernel NULL pointer dereference; IP: intel_ddi_post_disable+0x54/0x170 [i915]

Bug #1813752 reported by Henning Hoefer
20
This bug affects 4 people
Affects Status Importance Assigned to Milestone
linux (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

I use Ubuntu 18.04.1 LTS on a Lenovo Thinkpad T460p.

Today I upgraded to Kernel 4.15.0-44 – since then my system crashes when logging in (when the display resolution should switch). The previous Kernel 4.15.0-43 works fine, though.

Here's the crash:

Jan 29 11:08:05 hho-pc kernel: [ 20.127785] BUG: unable to handle kernel NULL pointer dereference at 0000000000000245
Jan 29 11:08:05 hho-pc kernel: [ 20.127868] IP: intel_ddi_post_disable+0x54/0x170 [i915]
Jan 29 11:08:05 hho-pc kernel: [ 20.127873] PGD 0 P4D 0
Jan 29 11:08:05 hho-pc kernel: [ 20.127882] Oops: 0000 [#1] SMP PTI
Jan 29 11:08:05 hho-pc kernel: [ 20.127887] Modules linked in: ipt_MASQUERADE nf_nat_masquerade_ipv4 nf_conntrack_netlink nfnetlink xfrm_user xfrm_algo iptable_nat nf_conntrack_ipv4 nf_defrag_ipv4 nf_nat_ipv4 xt_addrtype iptable_filter xt_conntrack nf_nat nf_conntrack libcrc32c br_netfilter bridge stp llc ccm aufs pci_stub vboxpci(OE) vboxnetadp(OE) vboxnetflt(OE) overlay vboxdrv(OE) bnep binfmt_misc nls_iso8859_1 uvcvideo btusb btrtl videobuf2_vmalloc btbcm videobuf2_memops intel_rapl btintel videobuf2_v4l2 snd_hda_codec_hdmi cdc_ether videobuf2_core usbnet bluetooth mii option usb_wwan videodev x86_pkg_temp_thermal usbserial intel_powerclamp media coretemp ecdh_generic arc4 kvm_intel snd_hda_codec_realtek snd_hda_codec_generic kvm snd_hda_intel irqbypass snd_hda_codec crct10dif_pclmul crc32_pclmul snd_hda_core thinkpad_acpi ghash_clmulni_intel
Jan 29 11:08:05 hho-pc kernel: [ 20.127985] snd_hwdep pcbc snd_pcm nvram snd_seq_midi aesni_intel snd_seq_midi_event snd_rawmidi aes_x86_64 crypto_simd glue_helper cryptd snd_seq input_leds iwlmvm mac80211 joydev iwlwifi rtsx_pci_ms intel_cstate snd_seq_device memstick intel_rapl_perf snd_timer serio_raw cfg80211 wmi_bmof snd mei_me soundcore mac_hid intel_pch_thermal mei shpchp sch_fq_codel parport_pc ppdev lp parport ip_tables x_tables autofs4 hid_generic usbhid hid rtsx_pci_sdmmc nouveau i915 mxm_wmi ttm i2c_algo_bit drm_kms_helper e1000e syscopyarea sysfillrect sysimgblt fb_sys_fops psmouse ptp pps_core drm ahci i2c_i801 rtsx_pci libahci wmi video
Jan 29 11:08:05 hho-pc kernel: [ 20.128082] CPU: 6 PID: 3769 Comm: Xorg Tainted: G OE 4.15.0-44-generic #47-Ubuntu
Jan 29 11:08:05 hho-pc kernel: [ 20.128086] Hardware name: LENOVO 20FW003NGE/20FW003NGE, BIOS R07ET87W (2.27 ) 09/27/2018
Jan 29 11:08:05 hho-pc kernel: [ 20.128150] RIP: 0010:intel_ddi_post_disable+0x54/0x170 [i915]
Jan 29 11:08:05 hho-pc kernel: [ 20.128155] RSP: 0018:ffffc01a89477a60 EFLAGS: 00010297
Jan 29 11:08:05 hho-pc kernel: [ 20.128161] RAX: 0000000000000007 RBX: ffff9cd490be9000 RCX: ffffffffc034d272
Jan 29 11:08:05 hho-pc kernel: [ 20.128165] RDX: 0000000000000000 RSI: 0000000000000000 RDI: ffff9cd490be9000
Jan 29 11:08:05 hho-pc kernel: [ 20.128170] RBP: ffffc01a89477a90 R08: 0000000000000007 R09: 0000000000000000
Jan 29 11:08:05 hho-pc kernel: [ 20.128174] R10: 0000000000000159 R11: 00000000000000c1 R12: 0000000000000000
Jan 29 11:08:05 hho-pc kernel: [ 20.128178] R13: ffff9cd490be9000 R14: ffff9cd48f7c8000 R15: ffff9cd4bcdc3000
Jan 29 11:08:05 hho-pc kernel: [ 20.128184] FS: 00007fdbc113e600(0000) GS:ffff9cd4c1580000(0000) knlGS:0000000000000000
Jan 29 11:08:05 hho-pc kernel: [ 20.128189] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
Jan 29 11:08:05 hho-pc kernel: [ 20.128193] CR2: 0000000000000245 CR3: 00000007cd49c002 CR4: 00000000003606e0
Jan 29 11:08:05 hho-pc kernel: [ 20.128198] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
Jan 29 11:08:05 hho-pc kernel: [ 20.128202] DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Jan 29 11:08:05 hho-pc kernel: [ 20.128205] Call Trace:
Jan 29 11:08:05 hho-pc kernel: [ 20.128267] ? intel_dp_sink_dpms+0xbb/0xf0 [i915]
Jan 29 11:08:05 hho-pc kernel: [ 20.128324] intel_mst_post_disable_dp+0x99/0xd0 [i915]
Jan 29 11:08:05 hho-pc kernel: [ 20.128384] intel_encoders_post_disable.isra.102+0x66/0x80 [i915]
Jan 29 11:08:05 hho-pc kernel: [ 20.128438] haswell_crtc_disable+0xe8/0x150 [i915]
Jan 29 11:08:05 hho-pc kernel: [ 20.128493] intel_atomic_commit_tail+0x7ea/0xd30 [i915]
Jan 29 11:08:05 hho-pc kernel: [ 20.128545] intel_atomic_commit+0x277/0x2b0 [i915]
Jan 29 11:08:05 hho-pc kernel: [ 20.128579] drm_atomic_commit+0x51/0x60 [drm]
Jan 29 11:08:05 hho-pc kernel: [ 20.128608] drm_atomic_connector_commit_dpms+0xef/0x100 [drm]
Jan 29 11:08:05 hho-pc kernel: [ 20.128635] drm_mode_obj_set_property_ioctl+0x176/0x280 [drm]
Jan 29 11:08:05 hho-pc kernel: [ 20.128663] ? drm_mode_connector_set_obj_prop+0x80/0x80 [drm]
Jan 29 11:08:05 hho-pc kernel: [ 20.128686] drm_mode_connector_property_set_ioctl+0x3f/0x60 [drm]
Jan 29 11:08:05 hho-pc kernel: [ 20.128710] drm_ioctl_kernel+0x5f/0xb0 [drm]
Jan 29 11:08:05 hho-pc kernel: [ 20.128733] drm_ioctl+0x31b/0x3d0 [drm]
Jan 29 11:08:05 hho-pc kernel: [ 20.128756] ? drm_mode_connector_set_obj_prop+0x80/0x80 [drm]
Jan 29 11:08:05 hho-pc kernel: [ 20.128764] ? vfs_writev+0xb9/0x110
Jan 29 11:08:05 hho-pc kernel: [ 20.128773] do_vfs_ioctl+0xa8/0x630
Jan 29 11:08:05 hho-pc kernel: [ 20.128782] ? __sys_recvmsg+0x80/0x90
Jan 29 11:08:05 hho-pc kernel: [ 20.128789] SyS_ioctl+0x79/0x90
Jan 29 11:08:05 hho-pc kernel: [ 20.128798] do_syscall_64+0x73/0x130
Jan 29 11:08:05 hho-pc kernel: [ 20.128807] entry_SYSCALL_64_after_hwframe+0x3d/0xa2
Jan 29 11:08:05 hho-pc kernel: [ 20.128812] RIP: 0033:0x7fdbbe5385d7
Jan 29 11:08:05 hho-pc kernel: [ 20.128816] RSP: 002b:00007ffcc64f40c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000010
Jan 29 11:08:05 hho-pc kernel: [ 20.128822] RAX: ffffffffffffffda RBX: 0000000000000003 RCX: 00007fdbbe5385d7
Jan 29 11:08:05 hho-pc kernel: [ 20.128827] RDX: 00007ffcc64f4100 RSI: 00000000c01064ab RDI: 000000000000000d
Jan 29 11:08:05 hho-pc kernel: [ 20.128831] RBP: 00007ffcc64f4100 R08: 000055c248e6c5a0 R09: 000000000000000a
Jan 29 11:08:05 hho-pc kernel: [ 20.128835] R10: 000055c24994eb40 R11: 0000000000000246 R12: 00000000c01064ab
Jan 29 11:08:05 hho-pc kernel: [ 20.128839] R13: 000000000000000d R14: 000055c2495546f0 R15: 000055c248e5acb0
Jan 29 11:08:05 hho-pc kernel: [ 20.128844] Code: 0d f6 86 44 02 00 00 40 0f 85 81 00 00 00 83 f8 06 72 77 83 f8 08 76 13 83 f8 0a 75 6d 41 f6 86 60 06 00 00 40 0f 84 dd 00 00 00 <41> f6 84 24 45 02 00 00 08 4d 8d bd 00 01 00 00 74 3e 48 89 df
Jan 29 11:08:05 hho-pc kernel: [ 20.128986] RIP: intel_ddi_post_disable+0x54/0x170 [i915] RSP: ffffc01a89477a60
Jan 29 11:08:05 hho-pc kernel: [ 20.128989] CR2: 0000000000000245
Jan 29 11:08:05 hho-pc kernel: [ 20.128995] ---[ end trace 8a95ed7827217c97 ]---

Tags: 4010
Revision history for this message
Henning Hoefer (hoeferh) wrote :
Revision history for this message
Henning Hoefer (hoeferh) wrote :
Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in linux (Ubuntu):
status: New → Confirmed
Revision history for this message
Kai-Heng Feng (kaihengfeng) wrote :
Revision history for this message
Henning Hoefer (hoeferh) wrote :

@kaihengfeng:

Thank you! I tested it and can confirm that the Kernel you linked to (Ubuntu 4.15.0-45.48~lp1813663-generic 4.15.18) works again.

Revision history for this message
Jonas Pedersen (jonasped) wrote :

I can also confirm that the fix in #4 works. Tested on Lenovo T480 with USB-C dock.

Revision history for this message
Kleber Sacilotto de Souza (kleber-souza) wrote :

Per previous comments, I'm going to duplicate this report against bug 1813663. Thank you!

Revision history for this message
Ionut Iosef (iiosef) wrote :
Download full text (5.9 KiB)

I also encountered this issue on Ubuntu 16.04.6 LTS, kernel 4.15.0-48-generic, on ThinkSystem SR650.

Jul 6 07:29:04 ic-defraf1-s4ahu919 kernel: [2837234.471731] BUG: unable to handle kernel NULL pointer dereference at 000000000000000c
Jul 6 07:29:04 ic-defraf1-s4ahu919 kernel: [2837234.480702] IP: __atime_needs_update+0x14/0x190
Jul 6 07:29:04 ic-defraf1-s4ahu919 kernel: [2837234.485975] PGD 8000002f64967067 P4D 8000002f64967067 PUD 2f8e4f3067 PMD 0
Jul 6 07:29:04 ic-defraf1-s4ahu919 kernel: [2837234.493982] Oops: 0000 [#1] SMP PTI
Jul 6 07:29:04 ic-defraf1-s4ahu919 kernel: [2837234.498082] Modules linked in: cfg80211 tcp_diag inet_diag cls_fw sch_sfq sch_prio ip6table_
filter ip6_tables iptable_filter xt_length xt_tcpudp xt_mark xt_DSCP xt_dscp iptable_mangle ip_tables x_tables xfs bonding nls_iso8859_1 inte
l_rapl skx_edac x86_pkg_temp_thermal coretemp kvm_intel kvm cdc_ether irqbypass ipmi_ssif usbnet mii ipmi_si intel_cstate intel_rapl_perf ioa
tdma shpchp ipmi_devintf mei_me dca lpc_ich mei acpi_power_meter ipmi_msghandler mac_hid ib_iser rdma_cm iw_cm ib_cm ib_core iscsi_tcp libisc
si_tcp libiscsi scsi_transport_iscsi autofs4 btrfs zstd_compress raid10 raid456 async_raid6_recov async_memcpy async_pq async_xor async_tx xo
r raid6_pq libcrc32c raid0 multipath linear raid1 ses enclosure bcache mgag200 i2c_algo_bit ttm crct10dif_pclmul drm_kms_helper crc32_pclmul
syscopyarea
Jul 6 07:29:04 ic-defraf1-s4ahu919 kernel: [2837234.577343] ghash_clmulni_intel sysfillrect pcbc sysimgblt aesni_intel fb_sys_fops aes_x86_
64 mpt3sas i40e crypto_simd glue_helper nvme raid_class ptp cryptd scsi_transport_sas nvme_core drm pps_core ahci libahci wmi
Jul 6 07:29:04 ic-defraf1-s4ahu919 kernel: [2837234.599139] CPU: 35 PID: 1576340 Comm: node_exporter Not tainted 4.15.0-48-generic #51~16.04
.1-Ubuntu
Jul 6 07:29:04 ic-defraf1-s4ahu919 kernel: [2837234.609647] Hardware name: Lenovo ThinkSystem SR650 -[7X06CTO1WW]-/-[7X06CTO1WW]-, BIOS -[IV
E116S-1.20]- 02/08/2018
Jul 6 07:29:04 ic-defraf1-s4ahu919 kernel: [2837234.621519] RIP: 0010:__atime_needs_update+0x14/0x190
Jul 6 07:29:04 ic-defraf1-s4ahu919 kernel: [2837234.627363] RSP: 0018:ffffb1b3cef1fbf8 EFLAGS: 00010202
Jul 6 07:29:04 ic-defraf1-s4ahu919 kernel: [2837234.633402] RAX: ffff8cb619b45200 RBX: ffff8ca4bb97d026 RCX: 0000000000000000
Jul 6 07:29:04 ic-defraf1-s4ahu919 kernel: [2837234.641578] RDX: 0000000000000001 RSI: 0000000000000000 RDI: ffffb1b3cef1fde8
Jul 6 07:29:04 ic-defraf1-s4ahu919 kernel: [2837234.649755] RBP: ffffb1b3cef1fc28 R08: fefefefefefefeff R09: ffffb1b3cef1fb8c
Jul 6 07:29:04 ic-defraf1-s4ahu919 kernel: [2837234.657923] R10: 2f2f2f2f2f2f2f2f R11: ffff8cb619b45238 R12: 8080808080808080
Jul 6 07:29:04 ic-defraf1-s4ahu919 kernel: [2837234.666099] R13: 0000000000000000 R14: ffffb1b3cef1fde8 R15: ffffb1b3cef1fd90
Jul 6 07:29:04 ic-defraf1-s4ahu919 kernel: [2837234.674276] FS: 00007fa6027fc700(0000) GS:ffff8ca99ff40000(0000) knlGS:0000000000000000
Jul 6 07:29:04 ic-defraf1-s4ahu919 kernel: [2837234.683521] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
Jul 6 07:29:04 ic-defraf1-s4ahu919 kernel: [2837234.690144] CR2: 000000000000000c CR3: 0000002f98d10005 CR4: 0000...

Read more...

tags: added: 4010
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.