BUG: unable to handle kernel NULL pointer dereference at 0000000000000008

Bug #1684103 reported by Cody A.W. Somerville on 2017-04-19
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
linux-lts-vivid (Ubuntu)
Undecided
Unassigned

Bug Description

This is for an older kernel. Posting for posterity. However, seems this section of code continues to be plagued with similar issues.

[160386.317128] WARNING: CPU: 1 PID: 5938 at /build/linux-lts-vivid-oEbVse/linux-lts-vivid-3.19.0/ubuntu/i915/i915_gem_gtt.c:523 gen8_ppgtt_clear_range+0x1e6/0x1f0 [i915_bpo]()
[160386.317129] WARN_ON(!pd->page_table[pde])
[160386.317130] Modules linked in: ctr ccm xt_conntrack ipt_REJECT nf_reject_ipv4 xt_multiport ip6table_filter ip6_tables ebtable_nat ebtables xt_CHECKSUM iptable_mangle ipt_MASQUERADE nf_nat_masquerade_ipv4 iptable_nat nf_conntrack_ipv4 nf_defrag_ipv4 nf_nat_ipv4 nf_nat nf_conntrack xt_tcpudp bridge stp llc iptable_filter ip_tables x_tables bnep rfcomm binfmt_misc nls_iso8859_1 arc4 iwlmvm mac80211 snd_hda_codec_hdmi snd_hda_codec_realtek uvcvideo videobuf2_vmalloc snd_hda_codec_generic iwlwifi cfg80211 videobuf2_memops videobuf2_core v4l2_common videodev media hid_multitouch intel_rapl iosf_mbi x86_pkg_temp_thermal intel_powerclamp coretemp kvm_intel kvm joydev serio_raw snd_hda_intel lpc_ich snd_hda_controller snd_hda_codec snd_hwdep shpchp mei_me mei btusb snd_pcm thinkpad_acpi i915_bpo nvram snd_seq_midi snd_seq_midi_event snd_rawmidi bluetooth snd_seq snd_seq_device intel_ips snd_timer drm_kms_helper drm i2c_algo_bit mac_hid snd soundcore parport_pc ppdev lp parport dm_crypt usbhid hid crct10dif_pclmul crc32_pclmul aesni_intel aes_x86_64 lrw gf128mul glue_helper ablk_helper cryptd psmouse ahci libahci e1000e ptp pps_core wmi video
[160386.317181] CPU: 1 PID: 5938 Comm: chrome Not tainted 3.19.0-77-generic #85~14.04.1-Ubuntu
[160386.317183] Hardware name: LENOVO 20BSCTO1WW/20BSCTO1WW, BIOS N14ET32W (1.10 ) 08/13/2015
[160386.317184] 0000000000000000 ffff88013db13378 ffffffff817b61f3 ffff88013db133c8
[160386.317187] ffffffffc07eebd8 ffff88013db133b8 ffffffff81075d6a 0000000000000080
[160386.317189] 00000000a616f083 0000000000000053 ffff880153bf4000 0000000000000000
[160386.317192] Call Trace:
[160386.317198] [<ffffffff817b61f3>] dump_stack+0x63/0x81
[160386.317203] [<ffffffff81075d6a>] warn_slowpath_common+0x8a/0xc0
[160386.317205] [<ffffffff81075de6>] warn_slowpath_fmt+0x46/0x50
[160386.317225] [<ffffffffc074ece3>] ? i915_gem_object_put_pages_gtt+0x153/0x1c0 [i915_bpo]
[160386.317242] [<ffffffffc0746066>] gen8_ppgtt_clear_range+0x1e6/0x1f0 [i915_bpo]
[160386.317256] [<ffffffffc074513a>] ppgtt_unbind_vma+0x2a/0x30 [i915_bpo]
[160386.317268] [<ffffffffc075167b>] i915_vma_unbind+0x9b/0x270 [i915_bpo]
[160386.317279] [<ffffffffc07547d5>] i915_gem_shrink+0x165/0x250 [i915_bpo]
[160386.317290] [<ffffffffc0754958>] i915_gem_shrinker_scan+0x98/0xa0 [i915_bpo]
[160386.317292] [<ffffffff8118a30e>] shrink_node_slabs+0x1de/0x3c0
[160386.317294] [<ffffffff8118cfea>] shrink_zone+0x20a/0x240
[160386.317297] [<ffffffff8118d395>] do_try_to_free_pages+0x165/0x460
[160386.317299] [<ffffffff81188ac8>] ? throttle_direct_reclaim+0x98/0x250
[160386.317300] [<ffffffff8118d74a>] try_to_free_pages+0xba/0x180
[160386.317302] [<ffffffff811810e7>] __alloc_pages_nodemask+0x607/0xac0
[160386.317305] [<ffffffff811c6411>] alloc_pages_current+0x91/0x100
[160386.317315] [<ffffffffc0746d01>] alloc_pt_single+0x81/0x1b0 [i915_bpo]
[160386.317324] [<ffffffffc074864c>] gen8_alloc_va_range+0x28c/0x8a0 [i915_bpo]
[160386.317335] [<ffffffffc074a376>] i915_vma_bind+0xb6/0x1b0 [i915_bpo]
[160386.317346] [<ffffffffc0751fd6>] i915_gem_object_do_pin+0x626/0xa90 [i915_bpo]
[160386.317356] [<ffffffffc0752478>] i915_gem_object_pin+0x38/0x40 [i915_bpo]
[160386.317366] [<ffffffffc074235c>] i915_gem_execbuffer_reserve_vma.isra.19+0x7c/0x150 [i915_bpo]
[160386.317376] [<ffffffffc074271c>] i915_gem_execbuffer_reserve+0x2ec/0x330 [i915_bpo]
[160386.317386] [<ffffffffc07431f6>] i915_gem_do_execbuffer.isra.25+0x5b6/0xfc0 [i915_bpo]
[160386.317388] [<ffffffff810db4b6>] ? current_fs_time+0x16/0x60
[160386.317390] [<ffffffff811a6345>] ? do_shared_fault.isra.56+0x185/0x1c0
[160386.317393] [<ffffffff811d181d>] ? __kmalloc+0x1ed/0x2b0
[160386.317405] [<ffffffffc0744e7c>] ? i915_gem_execbuffer2+0x6c/0x2c0 [i915_bpo]
[160386.317415] [<ffffffffc0744e7c>] ? i915_gem_execbuffer2+0x6c/0x2c0 [i915_bpo]
[160386.317424] [<ffffffffc0744ec1>] i915_gem_execbuffer2+0xb1/0x2c0 [i915_bpo]
[160386.317435] [<ffffffffc04f9adc>] drm_ioctl+0x1ec/0x660 [drm]
[160386.317438] [<ffffffff810a872d>] ? set_next_entity+0x9d/0xb0
[160386.317440] [<ffffffff810b0c7b>] ? pick_next_task_fair+0x61b/0x880
[160386.317442] [<ffffffff81202208>] do_vfs_ioctl+0x2f8/0x510
[160386.317444] [<ffffffff812024a1>] SyS_ioctl+0x81/0xa0
[160386.317447] [<ffffffff817bdd0d>] system_call_fastpath+0x16/0x1b
[160386.317449] ---[ end trace 0e2bbc78ca43d634 ]---
[160386.320100] BUG: unable to handle kernel NULL pointer dereference at 0000000000000008
[160386.320145] IP: [<ffffffffc07460b6>] gen8_ppgtt_insert_entries+0x46/0x1c0 [i915_bpo]
[160386.320204] PGD 0
[160386.320216] Oops: 0000 [#1] SMP
[160386.320234] Modules linked in: ctr ccm xt_conntrack ipt_REJECT nf_reject_ipv4 xt_multiport ip6table_filter ip6_tables ebtable_nat ebtables xt_CHECKSUM iptable_mangle ipt_MASQUERADE nf_nat_masquerade_ipv4 iptable_nat nf_conntrack_ipv4 nf_defrag_ipv4 nf_nat_ipv4 nf_nat nf_conntrack xt_tcpudp bridge stp llc iptable_filter ip_tables x_tables bnep rfcomm binfmt_misc nls_iso8859_1 arc4 iwlmvm mac80211 snd_hda_codec_hdmi snd_hda_codec_realtek uvcvideo videobuf2_vmalloc snd_hda_codec_generic iwlwifi cfg80211 videobuf2_memops videobuf2_core v4l2_common videodev media hid_multitouch intel_rapl iosf_mbi x86_pkg_temp_thermal intel_powerclamp coretemp kvm_intel kvm joydev serio_raw snd_hda_intel lpc_ich snd_hda_controller snd_hda_codec snd_hwdep shpchp mei_me mei btusb snd_pcm thinkpad_acpi i915_bpo nvram snd_seq_midi snd_seq_midi_event snd_rawmidi bluetooth snd_seq snd_seq_device intel_ips snd_timer drm_kms_helper drm i2c_algo_bit mac_hid snd soundcore parport_pc ppdev lp parport dm_crypt usbhid hid crct10dif_pclmul crc32_pclmul aesni_intel aes_x86_64 lrw gf128mul glue_helper ablk_helper cryptd psmouse ahci libahci e1000e ptp pps_core wmi video
[160386.320708] CPU: 1 PID: 5938 Comm: chrome Tainted: G W 3.19.0-77-generic #85~14.04.1-Ubuntu
[160386.320733] Hardware name: LENOVO 20BSCTO1WW/20BSCTO1WW, BIOS N14ET32W (1.10 ) 08/13/2015
[160386.320755] task: ffff8801f5fe13a0 ti: ffff88013db10000 task.ti: ffff88013db10000
[160386.320774] RIP: 0010:[<ffffffffc07460b6>] [<ffffffffc07460b6>] gen8_ppgtt_insert_entries+0x46/0x1c0 [i915_bpo]
[160386.320815] RSP: 0018:ffff88013db139f8 EFLAGS: 00010292
[160386.320830] RAX: 0000000000000052 RBX: 0000000000000001 RCX: 0000000000000000
[160386.320849] RDX: 000000000000a46a RSI: 0000000000000000 RDI: ffff88013db13a20
[160386.320867] RBP: ffff88013db13a68 R08: 0000000000000000 R09: ffff88016b9bfa80
[160386.320886] R10: ffffea00090fc3c0 R11: ffffffffc074587d R12: 0000000000000000
[160386.320905] R13: ffff880153bf4000 R14: ffff880026061500 R15: 000000000000006a
[160386.320924] FS: 00007fbf102a2a00(0000) GS:ffff88024dc40000(0000) knlGS:0000000000000000
[160386.320945] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[160386.320961] CR2: 0000000000000008 CR3: 00000001bbc9e000 CR4: 00000000003407e0
[160386.320980] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
[160386.320999] DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
[160386.321018] Stack:
[160386.321024] ffff880153bf40a8 ffff880153bf40d0 0000000000000001 ffff88007df79c80
[160386.321045] ffff880241f20800 ffff880153bf4190 0000000035b96000 ffff880153bf4000
[160386.321066] ffff88000d284000 0000000000000002 ffffffffc0800a7e ffff880026061500
[160386.321087] Call Trace:
[160386.321107] [<ffffffffc0745107>] ppgtt_bind_vma+0x37/0x40 [i915_bpo]
[160386.321134] [<ffffffffc074a38d>] i915_vma_bind+0xcd/0x1b0 [i915_bpo]
[160386.321163] [<ffffffffc0751fd6>] i915_gem_object_do_pin+0x626/0xa90 [i915_bpo]
[160386.321203] [<ffffffffc0752478>] i915_gem_object_pin+0x38/0x40 [i915_bpo]
[160386.321232] [<ffffffffc074235c>] i915_gem_execbuffer_reserve_vma.isra.19+0x7c/0x150 [i915_bpo]
[160386.321265] [<ffffffffc074271c>] i915_gem_execbuffer_reserve+0x2ec/0x330 [i915_bpo]
[160386.321295] [<ffffffffc07431f6>] i915_gem_do_execbuffer.isra.25+0x5b6/0xfc0 [i915_bpo]
[160386.321319] [<ffffffff810db4b6>] ? current_fs_time+0x16/0x60
[160386.321338] [<ffffffff811a6345>] ? do_shared_fault.isra.56+0x185/0x1c0
[160386.321358] [<ffffffff811d181d>] ? __kmalloc+0x1ed/0x2b0
[160386.321382] [<ffffffffc0744e7c>] ? i915_gem_execbuffer2+0x6c/0x2c0 [i915_bpo]
[160386.321411] [<ffffffffc0744e7c>] ? i915_gem_execbuffer2+0x6c/0x2c0 [i915_bpo]
[160386.321439] [<ffffffffc0744ec1>] i915_gem_execbuffer2+0xb1/0x2c0 [i915_bpo]
[160386.321469] [<ffffffffc04f9adc>] drm_ioctl+0x1ec/0x660 [drm]
[160386.321488] [<ffffffff810a872d>] ? set_next_entity+0x9d/0xb0
[160386.321506] [<ffffffff810b0c7b>] ? pick_next_task_fair+0x61b/0x880
[160386.321524] [<ffffffff81202208>] do_vfs_ioctl+0x2f8/0x510
[160386.321542] [<ffffffff812024a1>] SyS_ioctl+0x81/0xa0
[160386.321558] [<ffffffff817bdd0d>] system_call_fastpath+0x16/0x1b
[160386.321574] Code: 49 89 fd 48 8d 7d b8 41 54 49 89 d4 48 c1 ea 0c 41 89 d7 49 c1 ec 1e 53 89 cb 31 c9 41 83 e4 03 41 81 e7 ff 01 00 00 48 83 ec 48 <8b> 56 08 48 8b 36 89 45 9c e8 3c 58 c7 c0 44 89 e0 45 31 f6 48
[160386.321658] RIP [<ffffffffc07460b6>] gen8_ppgtt_insert_entries+0x46/0x1c0 [i915_bpo]
[160386.321688] RSP <ffff88013db139f8>
[160386.321698] CR2: 0000000000000008
[160386.339167] ---[ end trace 0e2bbc78ca43d635 ]---

ProblemType: Bug
DistroRelease: Ubuntu 14.04
Package: linux-image-3.19.0-77-generic 3.19.0-77.85~14.04.1
ProcVersionSignature: Ubuntu 3.19.0-77.85~14.04.1-generic 3.19.8-ckt22
Uname: Linux 3.19.0-77-generic x86_64
ApportVersion: 2.14.1-0ubuntu3.21
Architecture: amd64
CurrentDesktop: Unity
Date: Wed Apr 19 06:14:08 2017
InstallationDate: Installed on 2016-01-19 (456 days ago)
InstallationMedia: Ubuntu 14.04.3 LTS "Trusty Tahr" - Beta amd64 (20150805)
SourcePackage: linux-lts-vivid
UpgradeStatus: No upgrade log present (probably fresh install)

Interestingly, noticing a lot of the related bug reports I'm seeing seem to be all lenovo.

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers