Bug#901919: nvidia-driver: black screen with the latest Linux kernel

Vincent Lefevre vincent at vinc17.net
Wed Jun 20 12:41:33 BST 2018


Control: retitle -1 nvidia-driver: black screen with the latest Linux kernel - general protection fault

The kernel log was not included. It ends with:

Jun 20 11:46:59 zira kernel: [   17.930908] usercopy: Kernel memory exposure attempt detected from SLUB object 'nvidia_stack_cache' (offset 11440, size 3)!
Jun 20 11:46:59 zira kernel: [   17.930915] ------------[ cut here ]------------
Jun 20 11:46:59 zira kernel: [   17.930915] kernel BUG at /build/linux-s0lf2B/linux-4.16.16/mm/usercopy.c:100!
Jun 20 11:46:59 zira kernel: [   17.930919] invalid opcode: 0000 [#1] SMP PTI
Jun 20 11:46:59 zira kernel: [   17.930920] Modules linked in: appletalk ax25 ipx(C) p8023 p8022 psnap llc cmac bnep cpufreq_conservative cpufreq_userspace cpufreq_powersave snd_hda_codec_hdmi arc4 intel_rapl x86_pkg_temp_thermal intel_powerclamp binfmt_misc iTCO_wdt iTCO_vendor_support iwlmvm hp_wmi coretemp sparse_keymap wmi_bmof mxm_wmi mac80211 btusb btrtl btbcm btintel kvm bluetooth irqbypass iwlwifi intel_cstate joydev snd_hda_codec_realtek intel_uncore uvcvideo tpm_infineon intel_rapl_perf snd_hda_codec_generic pcspkr rtsx_pci_ms drbg serio_raw videobuf2_vmalloc memstick videobuf2_memops sg snd_hda_intel cfg80211 videobuf2_v4l2 ansi_cprng videobuf2_common snd_hda_codec evdev videodev snd_hda_core snd_hwdep media lpc_ich ecdh_generic snd_pcm snd_timer rfkill snd soundcore mei_me mei shpchp ie31200_edac battery tpm_tis hp_accel
Jun 20 11:46:59 zira kernel: [   17.930952]  tpm_tis_core lis3lv02d wmi input_polldev tpm video hp_wireless rng_core button ac nvidia_drm(PO) drm_kms_helper drm nvidia_modeset(PO) nvidia(PO) ipmi_devintf ipmi_msghandler parport_pc ppdev lp sunrpc parport ip_tables x_tables autofs4 ext4 crc16 mbcache jbd2 crc32c_generic fscrypto ecb algif_skcipher af_alg dm_crypt dm_mod sr_mod cdrom sd_mod hid_apple hid_generic usbhid hid crct10dif_pclmul crc32_pclmul crc32c_intel ghash_clmulni_intel pcbc rtsx_pci_sdmmc mmc_core ahci libahci aesni_intel ehci_pci aes_x86_64 xhci_pci ehci_hcd crypto_simd glue_helper libata cryptd xhci_hcd psmouse scsi_mod i2c_i801 rtsx_pci usbcore e1000e usb_common thermal
Jun 20 11:46:59 zira kernel: [   17.930981] CPU: 4 PID: 1098 Comm: Xorg Tainted: P         C O     4.16.0-2-amd64 #1 Debian 4.16.16-1
Jun 20 11:46:59 zira kernel: [   17.930982] Hardware name: Hewlett-Packard HP ZBook 15 G2/2253, BIOS M70 Ver. 01.08 03/16/2015
Jun 20 11:46:59 zira kernel: [   17.930987] RIP: 0010:usercopy_abort+0x69/0x80
Jun 20 11:46:59 zira kernel: [   17.930988] RSP: 0018:ffffbaef028f3b50 EFLAGS: 00010282
Jun 20 11:46:59 zira kernel: [   17.930989] RAX: 000000000000006f RBX: 0000000000000003 RCX: 0000000000000000
Jun 20 11:46:59 zira kernel: [   17.930990] RDX: 0000000000000000 RSI: ffff9ededdd16738 RDI: ffff9ededdd16738
Jun 20 11:46:59 zira kernel: [   17.930991] RBP: 0000000000000003 R08: 00000000000003a7 R09: 0000000000000004
Jun 20 11:46:59 zira kernel: [   17.930992] R10: ffffffff90077e48 R11: ffffffff907a8dcd R12: 0000000000000001
Jun 20 11:46:59 zira kernel: [   17.930993] R13: ffff9edeae9e2cb3 R14: 0000000000000000 R15: ffff9edeae9e2cf8
Jun 20 11:46:59 zira kernel: [   17.930994] FS:  00007f85040566c0(0000) GS:ffff9ededdd00000(0000) knlGS:0000000000000000
Jun 20 11:46:59 zira kernel: [   17.930995] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
Jun 20 11:46:59 zira kernel: [   17.930996] CR2: 00007f84fc13d010 CR3: 000000046ffd0005 CR4: 00000000001606e0
Jun 20 11:46:59 zira kernel: [   17.930997] Call Trace:
Jun 20 11:46:59 zira kernel: [   17.931003]  __check_heap_object+0xe7/0x120
Jun 20 11:46:59 zira kernel: [   17.931005]  __check_object_size+0x9c/0x1a0
Jun 20 11:46:59 zira kernel: [   17.931126]  os_memcpy_to_user+0x21/0x40 [nvidia]
Jun 20 11:46:59 zira kernel: [   17.931246]  _nv009377rm+0xbf/0xe0 [nvidia]
Jun 20 11:46:59 zira kernel: [   17.931342]  ? _nv028067rm+0x79/0x90 [nvidia]
Jun 20 11:46:59 zira kernel: [   17.931435]  ? _nv028067rm+0x55/0x90 [nvidia]
Jun 20 11:46:59 zira kernel: [   17.931522]  ? _nv013694rm+0xee/0x100 [nvidia]
Jun 20 11:46:59 zira kernel: [   17.931609]  ? _nv015342rm+0x154/0x270 [nvidia]
Jun 20 11:46:59 zira kernel: [   17.931725]  ? _nv008310rm+0x134/0x1a0 [nvidia]
Jun 20 11:46:59 zira kernel: [   17.931840]  ? _nv008289rm+0x29c/0x2b0 [nvidia]
Jun 20 11:46:59 zira kernel: [   17.931955]  ? _nv001072rm+0xe/0x20 [nvidia]
Jun 20 11:46:59 zira kernel: [   17.932070]  ? _nv007316rm+0xd8/0x100 [nvidia]
Jun 20 11:46:59 zira kernel: [   17.932185]  ? _nv001171rm+0x627/0x830 [nvidia]
Jun 20 11:46:59 zira kernel: [   17.932300]  ? rm_ioctl+0x73/0x100 [nvidia]
Jun 20 11:46:59 zira kernel: [   17.932355]  ? nvidia_ioctl+0xb0/0x720 [nvidia]
Jun 20 11:46:59 zira kernel: [   17.932410]  ? nvidia_ioctl+0x573/0x720 [nvidia]
Jun 20 11:46:59 zira kernel: [   17.932412]  ? kmem_cache_free+0x19c/0x1d0
Jun 20 11:46:59 zira kernel: [   17.932466]  ? nvidia_frontend_unlocked_ioctl+0x3e/0x50 [nvidia]
Jun 20 11:46:59 zira kernel: [   17.932468]  ? do_vfs_ioctl+0xa4/0x630
Jun 20 11:46:59 zira kernel: [   17.932469]  ? __fput+0x164/0x1e0
Jun 20 11:46:59 zira kernel: [   17.932471]  ? SyS_ioctl+0x74/0x80
Jun 20 11:46:59 zira kernel: [   17.932474]  ? do_syscall_64+0x6c/0x130
Jun 20 11:46:59 zira kernel: [   17.932477]  ? entry_SYSCALL_64_after_hwframe+0x3d/0xa2
Jun 20 11:46:59 zira kernel: [   17.932478] Code: 0f 44 d0 53 48 c7 c0 41 de 03 90 51 48 c7 c6 dd d3 02 90 41 53 48 89 f9 48 0f 45 f0 4c 89 d2 48 c7 c7 28 df 03 90 e8 f1 2e ea ff <0f> 0b 49 c7 c1 ac de 04 90 4d 89 cb 4d 89 c8 eb a5 66 0f 1f 44 
Jun 20 11:46:59 zira kernel: [   17.932497] RIP: usercopy_abort+0x69/0x80 RSP: ffffbaef028f3b50
Jun 20 11:46:59 zira kernel: [   17.932509] ---[ end trace e1b63cda1ecfa339 ]---
Jun 20 11:46:59 zira kernel: [   17.933683] general protection fault: 0000 [#2] SMP PTI
Jun 20 11:46:59 zira kernel: [   17.933686] Modules linked in: appletalk ax25 ipx(C) p8023 p8022 psnap llc cmac bnep cpufreq_conservative cpufreq_userspace cpufreq_powersave snd_hda_codec_hdmi arc4 intel_rapl x86_pkg_temp_thermal intel_powerclamp binfmt_misc iTCO_wdt iTCO_vendor_support iwlmvm hp_wmi coretemp sparse_keymap wmi_bmof mxm_wmi mac80211 btusb btrtl btbcm btintel kvm bluetooth irqbypass iwlwifi intel_cstate joydev snd_hda_codec_realtek intel_uncore uvcvideo tpm_infineon intel_rapl_perf snd_hda_codec_generic pcspkr rtsx_pci_ms drbg serio_raw videobuf2_vmalloc memstick videobuf2_memops sg snd_hda_intel cfg80211 videobuf2_v4l2 ansi_cprng videobuf2_common snd_hda_codec evdev videodev snd_hda_core snd_hwdep media lpc_ich ecdh_generic snd_pcm snd_timer rfkill snd soundcore mei_me mei shpchp ie31200_edac battery tpm_tis hp_accel
Jun 20 11:46:59 zira kernel: [   17.933729]  tpm_tis_core lis3lv02d wmi input_polldev tpm video hp_wireless rng_core button ac nvidia_drm(PO) drm_kms_helper drm nvidia_modeset(PO) nvidia(PO) ipmi_devintf ipmi_msghandler parport_pc ppdev lp sunrpc parport ip_tables x_tables autofs4 ext4 crc16 mbcache jbd2 crc32c_generic fscrypto ecb algif_skcipher af_alg dm_crypt dm_mod sr_mod cdrom sd_mod hid_apple hid_generic usbhid hid crct10dif_pclmul crc32_pclmul crc32c_intel ghash_clmulni_intel pcbc rtsx_pci_sdmmc mmc_core ahci libahci aesni_intel ehci_pci aes_x86_64 xhci_pci ehci_hcd crypto_simd glue_helper libata cryptd xhci_hcd psmouse scsi_mod i2c_i801 rtsx_pci usbcore e1000e usb_common thermal
Jun 20 11:46:59 zira kernel: [   17.933768] CPU: 4 PID: 1098 Comm: Xorg Tainted: P      D  C O     4.16.0-2-amd64 #1 Debian 4.16.16-1
Jun 20 11:46:59 zira kernel: [   17.933770] Hardware name: Hewlett-Packard HP ZBook 15 G2/2253, BIOS M70 Ver. 01.08 03/16/2015
Jun 20 11:46:59 zira kernel: [   17.933958] RIP: 0010:_nv007214rm+0x25/0x90 [nvidia]
Jun 20 11:46:59 zira kernel: [   17.933960] RSP: 0018:ffffbaef028f3d20 EFLAGS: 00010006
Jun 20 11:46:59 zira kernel: [   17.933962] RAX: 48e28944ffffff36 RBX: ffffffffc138a0f8 RCX: ffffbaef028f3db0
Jun 20 11:46:59 zira kernel: [   17.933964] RDX: ffffffffc072f515 RSI: 000000000000044a RDI: ffffffffc138a0f8
Jun 20 11:46:59 zira kernel: [   17.933965] RBP: ffff9ede9afaaff8 R08: 0000000000000000 R09: ffffbaef028f3dac
Jun 20 11:46:59 zira kernel: [   17.933966] R10: 0000000000000000 R11: 0000000000000000 R12: 000000000000044a
Jun 20 11:46:59 zira kernel: [   17.933968] R13: ffff9ede9bbcb200 R14: ffff9edec95c6b00 R15: ffff9edec39a2800
Jun 20 11:46:59 zira kernel: [   17.933970] FS:  0000000000000000(0000) GS:ffff9ededdd00000(0000) knlGS:0000000000000000
Jun 20 11:46:59 zira kernel: [   17.933971] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
Jun 20 11:46:59 zira kernel: [   17.933973] CR2: 00007f84fc13d010 CR3: 0000000117c0a006 CR4: 00000000001606e0
Jun 20 11:46:59 zira kernel: [   17.933974] Call Trace:
Jun 20 11:46:59 zira kernel: [   17.934143]  ? _nv025895rm+0x13/0x50 [nvidia]
Jun 20 11:46:59 zira kernel: [   17.934295]  ? _nv035609rm+0x144/0x1e0 [nvidia]
Jun 20 11:46:59 zira kernel: [   17.934431]  ? rm_free_unused_clients+0x4f/0xe0 [nvidia]
Jun 20 11:46:59 zira kernel: [   17.934535]  ? nv_check_pci_config_space+0x285/0x320 [nvidia]
Jun 20 11:46:59 zira kernel: [   17.934603]  ? nvidia_close+0xba/0x350 [nvidia]
Jun 20 11:46:59 zira kernel: [   17.934657]  ? nvidia_frontend_close+0x2a/0x40 [nvidia]
Jun 20 11:46:59 zira kernel: [   17.934660]  ? __fput+0xd0/0x1e0
Jun 20 11:46:59 zira kernel: [   17.934662]  ? task_work_run+0x8a/0xb0
Jun 20 11:46:59 zira kernel: [   17.934665]  ? do_exit+0x2e1/0xb40
Jun 20 11:46:59 zira kernel: [   17.934667]  ? SyS_ioctl+0x74/0x80
Jun 20 11:46:59 zira kernel: [   17.934671]  ? rewind_stack_do_exit+0x17/0x20
Jun 20 11:46:59 zira kernel: [   17.934672] Code: 84 00 00 00 00 00 31 c9 48 85 ff 53 48 89 fb 74 0d 48 85 d2 74 08 48 63 47 08 48 8d 0c 10 48 8b 03 31 d2 0f 1f 00 48 85 c0 74 11 <48> 39 30 48 89 c2 76 47 48 8b 40 10 48 85 c0 75 ef 48 85 d2 48 
Jun 20 11:46:59 zira kernel: [   17.934833] RIP: _nv007214rm+0x25/0x90 [nvidia] RSP: ffffbaef028f3d20
Jun 20 11:46:59 zira kernel: [   17.934835] ---[ end trace e1b63cda1ecfa33a ]---
Jun 20 11:46:59 zira kernel: [   17.934837] Fixing recursive fault but reboot is needed!

-- 
Vincent Lefèvre <vincent at vinc17.net> - Web: <https://www.vinc17.net/>
100% accessible validated (X)HTML - Blog: <https://www.vinc17.net/blog/>
Work: CR INRIA - computer arithmetic / AriC project (LIP, ENS-Lyon)



More information about the pkg-nvidia-devel mailing list