NVIDIA driver crashes with kernel NULL pointer dereference

Bug #1968077 reported by Simon Fels
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
nvidia-graphics-drivers-510 (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

After leaving the system for a while and it turning the screen off the kernel crashes in the NVIDIA driver with the following:

Apr 06 17:24:56 kore kernel: BUG: kernel NULL pointer dereference, address: 0000000000000070
Apr 06 17:24:56 kore kernel: #PF: supervisor read access in kernel mode
Apr 06 17:24:56 kore kernel: #PF: error_code(0x0000) - not-present page
Apr 06 17:24:56 kore kernel: PGD 0 P4D 0
Apr 06 17:24:56 kore kernel: Oops: 0000 [#1] SMP PTI
Apr 06 17:24:56 kore kernel: CPU: 3 PID: 286160 Comm: Xorg Tainted: P C O 5.15.0-25-generic #25-Ubuntu
Apr 06 17:24:56 kore kernel: Hardware name: Dell Inc. XPS 8930/0H0P0M, BIOS 1.1.15 07/01/2020
Apr 06 17:24:56 kore kernel: RIP: 0010:_nv002531kms+0x18/0x70 [nvidia_modeset]
Apr 06 17:24:56 kore kernel: Code: ff c6 44 24 2f 01 eb af 66 2e 0f 1f 84 00 00 00 00 00 41 54 55 49 89 fc 53 89 d5 41 b8 04 00 00 00 ba 02 01 02 00 48 83 ec 10 <8b> 46 70 8b 3d 6f bb 0b 00 48 8d 4c 24 0c 89 ee 89
 44 24 0c e8 6f
Apr 06 17:24:56 kore kernel: RSP: 0018:ffffbb9412827c90 EFLAGS: 00010286
Apr 06 17:24:56 kore kernel: RAX: 0000000000000000 RBX: 0000000020020000 RCX: ffff9ec1417f3980
Apr 06 17:24:56 kore kernel: RDX: 0000000000020102 RSI: 0000000000000000 RDI: ffff9ec163d33008
Apr 06 17:24:56 kore kernel: RBP: 0000000000010009 R08: 0000000000000004 R09: 0000000000000000
Apr 06 17:24:56 kore kernel: R10: ffff9ec5f1bd3000 R11: 0000000000000000 R12: ffff9ec163d33008
Apr 06 17:24:56 kore kernel: R13: ffff9ec163d330a0 R14: 0000000000000fff R15: 0000000000010008
Apr 06 17:24:56 kore kernel: FS: 00007f560151ea80(0000) GS:ffff9ec8a0ac0000(0000) knlGS:0000000000000000
Apr 06 17:24:56 kore kernel: CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
Apr 06 17:24:56 kore kernel: CR2: 0000000000000070 CR3: 00000001ed208001 CR4: 00000000003726e0
Apr 06 17:24:56 kore kernel: Call Trace:
Apr 06 17:24:56 kore kernel: <TASK>
Apr 06 17:24:56 kore kernel: ? _nv002530kms+0xb3/0x150 [nvidia_modeset]
Apr 06 17:24:56 kore kernel: ? _nv002308kms+0x499/0x680 [nvidia_modeset]
Apr 06 17:24:56 kore kernel: ? _nv000453kms+0xa0/0xa0 [nvidia_modeset]
Apr 06 17:24:56 kore kernel: ? _copy_from_user+0x2e/0x60
Apr 06 17:24:56 kore kernel: ? _nv000453kms+0xa0/0xa0 [nvidia_modeset]
Apr 06 17:24:56 kore kernel: ? _nv000639kms+0x34/0x50 [nvidia_modeset]
Apr 06 17:24:56 kore kernel: ? nvKmsIoctl+0x96/0x1d0 [nvidia_modeset]
Apr 06 17:24:56 kore kernel: ? nvkms_ioctl+0x104/0x170 [nvidia_modeset]
Apr 06 17:24:56 kore kernel: ? nvidia_frontend_unlocked_ioctl+0x58/0x90 [nvidia]
Apr 06 17:24:56 kore kernel: ? __x64_sys_ioctl+0x91/0xc0
Apr 06 17:24:56 kore kernel: ? do_syscall_64+0x5c/0xc0
Apr 06 17:24:56 kore kernel: ? do_syscall_64+0x69/0xc0
Apr 06 17:24:56 kore kernel: ? syscall_exit_to_user_mode+0x27/0x50
Apr 06 17:24:56 kore kernel: ? do_syscall_64+0x69/0xc0
Apr 06 17:24:56 kore kernel: ? do_syscall_64+0x69/0xc0
Apr 06 17:24:56 kore kernel: ? entry_SYSCALL_64_after_hwframe+0x44/0xae

I can reliable reproduce this on my current jammy system (proposed enabled, no pending updates)

ProblemType: Bug
DistroRelease: Ubuntu 22.04
Package: nvidia-dkms-510 510.60.02-0ubuntu1
ProcVersionSignature: Ubuntu 5.15.0-25.25-generic 5.15.30
Uname: Linux 5.15.0-25-generic x86_64
NonfreeKernelModules: zfs zunicode zavl icp zcommon znvpair nvidia_modeset nvidia
ApportVersion: 2.20.11-0ubuntu80
Architecture: amd64
CasperMD5CheckResult: pass
Date: Wed Apr 6 19:47:32 2022
InstallationDate: Installed on 2022-01-02 (94 days ago)
InstallationMedia: Ubuntu 21.10 "Impish Indri" - Release amd64 (20211012)
SourcePackage: nvidia-graphics-drivers-510
UpgradeStatus: Upgraded to jammy on 2022-03-23 (13 days ago)

Revision history for this message
Simon Fels (morphis) wrote :
Revision history for this message
Launchpad Janitor (janitor) wrote :

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

Changed in nvidia-graphics-drivers-510 (Ubuntu):
status: New → Confirmed
Revision history for this message
dhenry (tfc-duke) wrote :

It just happened to me today on 22.04 and the 510 driver (after an automatic upgrade?).

No way to boot my computer, even in recovery mode I got this issue... I'm currently running from a live USB to write this post.

Revision history for this message
dhenry (tfc-duke) wrote :

I confirm I got an upgrade of the nvidia driver today, and it broke after rebooting.

/var/log/apt/history.log:

Start-Date: 2022-05-18 06:24:01
Commandline: /usr/bin/unattended-upgrade
Upgrade: libnvidia-fbc1-510:amd64 (510.60.02-0ubuntu1, 510.73.05-0ubuntu0.22.04.1), libnvidia-fbc1-510:i386 (510.60.02-0ubuntu1, 510.73.05-0ubuntu0.22.04.1), libnvidia-gl-510:amd64 (510.60.02-0ubuntu1, 510.73.05-0ubuntu0.22.04.1), libnvidia-gl-510:i386 (510.60.02-0ubuntu1, 510.73.05-0ubuntu0.22.04.1), libnvidia-extra-510:amd64 (510.60.02-0ubuntu1, 510.73.05-0ubuntu0.22.04.1), nvidia-compute-utils-510:amd64 (510.60.02-0ubuntu1, 510.73.05-0ubuntu0.22.04.1), nvidia-dkms-510:amd64 (510.60.02-0ubuntu1, 510.73.05-0ubuntu0.22.04.1), nvidia-driver-510:amd64 (510.60.02-0ubuntu1, 510.73.05-0ubuntu0.22.04.1), libnvidia-encode-510:amd64 (510.60.02-0ubuntu1, 510.73.05-0ubuntu0.22.04.1), libnvidia-encode-510:i386 (510.60.02-0ubuntu1, 510.73.05-0ubuntu0.22.04.1), nvidia-utils-510:amd64 (510.60.02-0ubuntu1, 510.73.05-0ubuntu0.22.04.1), xserver-xorg-video-nvidia-510:amd64 (510.60.02-0ubuntu1, 510.73.05-0ubuntu0.22.04.1), libnvidia-decode-510:amd64 (510.60.02-0ubuntu1, 510.73.05-0ubuntu0.22.04.1), libnvidia-decode-510:i386 (510.60.02-0ubuntu1, 510.73.05-0ubuntu0.22.04.1), nvidia-kernel-common-510:amd64 (510.60.02-0ubuntu1, 510.73.05-0ubuntu0.22.04.1), libnvidia-cfg1-510:amd64 (510.60.02-0ubuntu1, 510.73.05-0ubuntu0.22.04.1), nvidia-kernel-source-510:amd64 (510.60.02-0ubuntu1, 510.73.05-0ubuntu0.22.04.1), libnvidia-compute-510:amd64 (510.60.02-0ubuntu1, 510.73.05-0ubuntu0.22.04.1), libnvidia-compute-510:i386 (510.60.02-0ubuntu1, 510.73.05-0ubuntu0.22.04.1)
End-Date: 2022-05-18 06:25:58

Start-Date: 2022-05-18 06:26:00
Commandline: /usr/bin/unattended-upgrade
Upgrade: libnvidia-common-510:amd64 (510.60.02-0ubuntu1, 510.73.05-0ubuntu0.22.04.1)
End-Date: 2022-05-18 06:26:01

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.