BUG: unable to handle kernel NULL pointer dereference at 0000000000000018

Bug #1689918 reported by Benjamin
12
This bug affects 2 people
Affects Status Importance Assigned to Milestone
linux (Ubuntu)
Expired
Medium
Unassigned

Bug Description

I ran K3B with a DVD-RW inserted while extracting an archive.

My desktop froze and I found this in dmesg:

[ 3293.518501] sr 4:0:0:0: [sr0] tag#5 CDB: Read(10) 28 00 00 23 04 00 00 00 02 00
[ 3293.518502] blk_update_request: I/O error, dev sr0, sector 9179136
[ 3293.518506] Buffer I/O error on dev sr0, logical block 1147392, async page read
[ 3293.606203] sr 4:0:0:0: [sr0] tag#7 FAILED Result: hostbyte=DID_OK driverbyte=DRIVER_SENSE
[ 3293.606208] sr 4:0:0:0: [sr0] tag#7 Sense Key : Illegal Request [current]
[ 3293.606212] sr 4:0:0:0: [sr0] tag#7 Add. Sense: Logical block address out of range
[ 3293.606216] sr 4:0:0:0: [sr0] tag#7 CDB: Read(10) 28 00 00 23 05 3a 00 00 02 00
[ 3293.606219] blk_update_request: I/O error, dev sr0, sector 9180392
[ 3293.617985] sr 4:0:0:0: [sr0] tag#8 FAILED Result: hostbyte=DID_OK driverbyte=DRIVER_SENSE
[ 3293.617990] sr 4:0:0:0: [sr0] tag#8 Sense Key : Illegal Request [current]
[ 3293.617994] sr 4:0:0:0: [sr0] tag#8 Add. Sense: Logical block address out of range
[ 3293.617998] sr 4:0:0:0: [sr0] tag#8 CDB: Read(10) 28 00 00 23 05 3a 00 00 02 00
[ 3293.618001] blk_update_request: I/O error, dev sr0, sector 9180392
[ 3293.618009] Buffer I/O error on dev sr0, logical block 1147549, async page read
[ 3302.607388] isofs_fill_super: root inode is not a directory. Corrupted media?
[ 3328.320211] BUG: unable to handle kernel NULL pointer dereference at 0000000000000018
[ 3328.320257] IP: gen8_ppgtt_alloc_page_directories.isra.38+0x115/0x250 [i915]
[ 3328.320274] PGD 0

[ 3328.320287] Oops: 0002 [#1] SMP
[ 3328.320296] Modules linked in: isofs bnep pci_stub vboxpci(OE) vboxnetadp(OE) vboxnetflt(OE) vboxdrv(OE) xt_multiport iptable_filter binfmt_misc intel_rapl x86_pkg_temp_thermal intel_powerclamp coretemp kvm_intel kvm irqbypass crct10dif_pclmul crc32_pclmul ghash_clmulni_intel pcbc snd_hda_codec_hdmi snd_hda_codec_realtek snd_hda_codec_generic aesni_intel crypto_simd intel_cstate glue_helper cryptd intel_rapl_perf aes_x86_64 nls_iso8859_1 dm_crypt snd_hda_intel snd_hda_codec snd_hda_core snd_usb_audio snd_usbmidi_lib snd_hwdep input_leds snd_seq_midi snd_seq_midi_event snd_rawmidi uvcvideo videobuf2_vmalloc snd_seq videobuf2_memops videobuf2_v4l2 videobuf2_core snd_pcm snd_seq_device videodev media joydev snd_timer snd soundcore serio_raw mei_me shpchp mei intel_pch_thermal hci_uart mac_hid btbcm
[ 3328.320453] btqca btintel acpi_als bluetooth intel_lpss_acpi intel_lpss kfifo_buf acpi_pad industrialio parport_pc ppdev lp parport ip_tables x_tables autofs4 btrfs xor raid6_pq hid_generic usbhid mxm_wmi i915 i2c_algo_bit drm_kms_helper e1000e syscopyarea sysfillrect sysimgblt ptp fb_sys_fops pps_core drm ahci libahci wmi video pinctrl_sunrisepoint pinctrl_intel i2c_hid hid fjes
[ 3328.320533] CPU: 1 PID: 1371 Comm: Xorg Tainted: G OE 4.10.0-20-generic #22-Ubuntu
[ 3328.320553] Hardware name: To Be Filled By O.E.M. To Be Filled By O.E.M./B150M Pro4S/D3, BIOS P7.00 12/06/2016
[ 3328.320575] task: ffff9c01613d2b00 task.stack: ffffb72801ca4000
[ 3328.320600] RIP: 0010:gen8_ppgtt_alloc_page_directories.isra.38+0x115/0x250 [i915]
[ 3328.320617] RSP: 0000:ffffb72801ca7898 EFLAGS: 00010246
[ 3328.320629] RAX: ffff9c00b2bf2040 RBX: 0000000000000003 RCX: 0000000000000003
[ 3328.320645] RDX: 0000000000000000 RSI: ffff9c015bc82000 RDI: ffff9c015d3b0000
[ 3328.320670] RBP: ffffb72801ca78f0 R08: 0000000000000000 R09: 0000000000000000
[ 3328.320692] R10: 0000000000000000 R11: ffff9c016dfd5dc0 R12: ffff9c00c9aee000
[ 3328.320709] R13: ffff9c00eb435110 R14: 00000000fffd5000 R15: 0000000000001000
[ 3328.320726] FS: 00007f34ee1eba40(0000) GS:ffff9c016dd00000(0000) knlGS:0000000000000000
[ 3328.320744] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[ 3328.320757] CR2: 0000000000000018 CR3: 00000001dcce6000 CR4: 00000000002406e0
[ 3328.320774] Call Trace:
[ 3328.320792] gen8_alloc_va_range_3lvl+0xfb/0x9e0 [i915]
[ 3328.320807] ? swiotlb_map_sg_attrs+0x49/0x110
[ 3328.320827] gen8_alloc_va_range+0x23d/0x470 [i915]
[ 3328.320849] i915_vma_bind+0x7e/0x170 [i915]
[ 3328.320870] __i915_vma_do_pin+0x2a5/0x450 [i915]
[ 3328.320891] i915_gem_execbuffer_reserve_vma.isra.31+0x144/0x1b0 [i915]
[ 3328.320915] i915_gem_execbuffer_reserve.isra.32+0x39e/0x3d0 [i915]
[ 3328.320938] i915_gem_do_execbuffer.isra.38+0x4a2/0x1750 [i915]
[ 3328.320954] ? kmem_cache_alloc_trace+0x142/0x190
[ 3328.320973] ? drm_gem_handle_create_tail+0xaf/0x190 [drm]
[ 3328.320995] i915_gem_execbuffer2+0xa1/0x1e0 [i915]
[ 3328.321010] drm_ioctl+0x21b/0x4c0 [drm]
[ 3328.321030] ? i915_gem_execbuffer+0x310/0x310 [i915]
[ 3328.321043] do_vfs_ioctl+0xa3/0x610
[ 3328.321053] ? do_munmap+0x338/0x460
[ 3328.321063] SyS_ioctl+0x79/0x90
[ 3328.321072] entry_SYSCALL_64_fastpath+0x1e/0xad
[ 3328.321084] RIP: 0033:0x7f34ebbff987
[ 3328.321093] RSP: 002b:00007ffec8a5dba8 EFLAGS: 00003246 ORIG_RAX: 0000000000000010
[ 3328.321111] RAX: ffffffffffffffda RBX: 00007f34e7af8040 RCX: 00007f34ebbff987
[ 3328.321127] RDX: 00007ffec8a5dbf0 RSI: 00000000c0406469 RDI: 000000000000000e
[ 3328.321143] RBP: 000000000000000f R08: 0000000000000000 R09: 0000000000000000
[ 3328.321159] R10: 0000000000000040 R11: 0000000000003246 R12: 0000000000000001
[ 3328.321175] R13: 000000000000000d R14: 00007f34db50b800 R15: 0000000000000040
[ 3328.321192] Code: e6 48 8b 90 20 03 00 00 48 8b b8 d8 02 00 00 48 8b 52 08 48 83 ca 03 e8 ca cd ff ff 48 8b 45 b0 48 8b 4d c8 48 8b 10 48 8b 45 d0 <4c> 89 24 ca 48 0f ab 08 0f 1f 44 00 00 e9 53 ff ff ff 65 8b 05
[ 3328.321255] RIP: gen8_ppgtt_alloc_page_directories.isra.38+0x115/0x250 [i915] RSP: ffffb72801ca7898
[ 3328.321274] CR2: 0000000000000018
[ 3328.327336] ---[ end trace 84b638c3e0520a3b ]---
[ 3360.601434] usb 2-6: USB disconnect, device number 4
[ 3361.357395] usb 2-6: new SuperSpeed USB device number 5 using xhci_hcd

I was still able to log in via ssh to retrive this information, couldn't switch to VT, display/keyboard are completely unresponsive.

ProblemType: Bug
DistroRelease: Ubuntu 17.04
Package: linux-image-4.10.0-20-generic 4.10.0-20.22
ProcVersionSignature: Ubuntu 4.10.0-20.22-generic 4.10.8
Uname: Linux 4.10.0-20-generic x86_64
ApportVersion: 2.20.4-0ubuntu4
Architecture: amd64
AudioDevicesInUse:
 USER PID ACCESS COMMAND
 /dev/snd/pcmC0D0p: benpicco 2461 F...m pulseaudio
 /dev/snd/controlC0: benpicco 2461 F.... pulseaudio
 /dev/snd/controlC1: benpicco 2461 F.... pulseaudio
Date: Wed May 10 21:49:41 2017
EcryptfsInUse: Yes
HibernationDevice: RESUME=UUID=ef400a46-b237-4272-b4a7-f866e92d00a0
InstallationDate: Installed on 2016-08-06 (276 days ago)
InstallationMedia: Ubuntu 16.04.1 LTS "Xenial Xerus" - Release amd64 (20160719)
IwConfig:
 lo no wireless extensions.

 enp0s31f6 no wireless extensions.
Lsusb:
 Bus 002 Device 006: ID 1d5c:2000
 Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
 Bus 001 Device 002: ID 046d:c07d Logitech, Inc. G502 Mouse
 Bus 001 Device 003: ID 145f:0167 Trust Widescreen 3MP Webcam
 Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
MachineType: To Be Filled By O.E.M. To Be Filled By O.E.M.
ProcFB: 0 inteldrmfb
ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-4.10.0-20-generic.efi.signed root=UUID=8e6b0d6a-eb87-44cf-8fc3-b13bd97b71d2 ro quiet splash vt.handoff=7
RelatedPackageVersions:
 linux-restricted-modules-4.10.0-20-generic N/A
 linux-backports-modules-4.10.0-20-generic N/A
 linux-firmware 1.164
RfKill:

SourcePackage: linux
UpgradeStatus: Upgraded to zesty on 2017-04-13 (27 days ago)
dmi.bios.date: 12/06/2016
dmi.bios.vendor: American Megatrends Inc.
dmi.bios.version: P7.00
dmi.board.name: B150M Pro4S/D3
dmi.board.vendor: ASRock
dmi.chassis.asset.tag: To Be Filled By O.E.M.
dmi.chassis.type: 3
dmi.chassis.vendor: To Be Filled By O.E.M.
dmi.chassis.version: To Be Filled By O.E.M.
dmi.modalias: dmi:bvnAmericanMegatrendsInc.:bvrP7.00:bd12/06/2016:svnToBeFilledByO.E.M.:pnToBeFilledByO.E.M.:pvrToBeFilledByO.E.M.:rvnASRock:rnB150MPro4S/D3:rvr:cvnToBeFilledByO.E.M.:ct3:cvrToBeFilledByO.E.M.:
dmi.product.name: To Be Filled By O.E.M.
dmi.product.version: To Be Filled By O.E.M.
dmi.sys.vendor: To Be Filled By O.E.M.

Revision history for this message
Benjamin (pantalaimon) wrote :
Revision history for this message
Brad Figg (brad-figg) wrote : Status changed to Confirmed

This change was made by a bot.

Changed in linux (Ubuntu):
status: New → Confirmed
Revision history for this message
Joseph Salisbury (jsalisbury) wrote :

Did this issue start happening after an update/upgrade? Was there a prior kernel version where you were not having this particular problem?

Would it be possible for you to test the latest upstream kernel? Refer to https://wiki.ubuntu.com/KernelMainlineBuilds . Please test the latest v4.12 kernel[0].

If this bug is fixed in the mainline kernel, please add the following tag 'kernel-fixed-upstream'.

If the mainline kernel does not fix this bug, please add the tag: 'kernel-bug-exists-upstream'.

Once testing of the upstream kernel is complete, please mark this bug as "Confirmed".

Thanks in advance.

[0] http://kernel.ubuntu.com/~kernel-ppa/mainline/v4.12-rc1/

Changed in linux (Ubuntu):
importance: Undecided → Medium
status: Confirmed → Incomplete
Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for linux (Ubuntu) because there has been no activity for 60 days.]

Changed in linux (Ubuntu):
status: Incomplete → Expired
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.