Description
In the Linux kernel, the following vulnerability has been resolved:

drm/gpusvm: Fix unbalanced unlock in drm_gpusvm_scan_mm()

There is a unbalanced lock/unlock to gpusvm notifier lock:
[ 931.045868] =====================================
[ 931.046509] WARNING: bad unlock balance detected!
[ 931.047149] 6.19.0-rc6+xe-**************** #9 Tainted: G U
[ 931.048150] -------------------------------------
[ 931.048790] kworker/u5:0/51 is trying to release lock (&gpusvm->notifier_lock) at:
[ 931.049801] [<ffffffffa090c0d8>] drm_gpusvm_scan_mm+0x188/0x460 [drm_gpusvm_helper]
[ 931.050802] but there are no more locks to release!
[ 931.051463]

The drm_gpusvm_notifier_unlock() sits under err_free label and the
first jump to err_free is just before calling the
drm_gpusvm_notifier_lock() causing unbalanced unlock.
Published: 2026-07-19
Score: 8.8 High
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

An unbalanced unlock in the gpusvm notifier lock can cause the Linux kernel to detect a bad unlock balance warning and potentially crash. The flaw originates from a missing corresponding lock before an unlock in drm_gpusvm_scan_mm(), leading to inconsistent lock state that may trigger a kernel panic. The vulnerability is a type of improper synchronization weakness (CWE‑832).

Affected Systems

All Linux kernel releases that include the gpusvm notifier code prior to the commit that implements the fix (8efaa47a871662a8c21b819cec60786f7ef17ab4) are affected. Since no specific version range is supplied, every kernel version up to and including the 6.19.0-rc6+ build shown in the logs should be considered vulnerable until the fix is applied.

Risk and Exploitability

The CVSS score of 8.8 places this issue in the high severity range. The EPSS score of less than 1% indicates a very low probability of exploitation at the present time, and the vulnerability is not listed in the CISA KEV catalog. Based on the description, the likely attack vector involves code that interacts with the GPU driver from user space, so a local or privileged user with access to the GPU subsystem could potentially trigger the bad unlock condition and cause a kernel panic. While an exploit has not been documented, the high severity and kernel privilege escalation inherent in the flaw make it a critical remediation candidate.

Generated by OpenCVE AI on August 4, 2026 at 07:03 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Apply a kernel update that incorporates the commit 8efaa47a871662a8c21b819cec60786f7ef17ab4 or a later release that contains the fix
  • If updating cannot be performed immediately, disable GPU virtualization features that invoke gpusvm_scan_mm(), such as disabling or unloading the GPU driver or configuring the system to prevent GPU VM usage
  • Restrict GPU device access to trusted users by setting appropriate file system permissions or using device cgroups so that only authorized processes can communicate with GPU resources

Generated by OpenCVE AI on August 4, 2026 at 07:03 UTC.

Tracking

Sign in to view the affected projects.

Advisories
Source ID Title
Ubuntu USN Ubuntu USN USN-8593-1 Linux kernel vulnerabilities
Ubuntu USN Ubuntu USN USN-8603-1 Linux kernel (Azure) vulnerabilities
Ubuntu USN Ubuntu USN USN-8618-1 Linux kernel vulnerabilities
History

Wed, 22 Jul 2026 00:15:00 +0000

Type Values Removed Values Added
Weaknesses CWE-832
References
Metrics threat_severity

None

threat_severity

Moderate


Mon, 20 Jul 2026 14:45:00 +0000

Type Values Removed Values Added
Metrics cvssV3_1

{'score': 8.8, 'vector': 'CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H'}


Sun, 19 Jul 2026 14:45:00 +0000

Type Values Removed Values Added
Description In the Linux kernel, the following vulnerability has been resolved: drm/gpusvm: Fix unbalanced unlock in drm_gpusvm_scan_mm() There is a unbalanced lock/unlock to gpusvm notifier lock: [ 931.045868] ===================================== [ 931.046509] WARNING: bad unlock balance detected! [ 931.047149] 6.19.0-rc6+xe-**************** #9 Tainted: G U [ 931.048150] ------------------------------------- [ 931.048790] kworker/u5:0/51 is trying to release lock (&gpusvm->notifier_lock) at: [ 931.049801] [<ffffffffa090c0d8>] drm_gpusvm_scan_mm+0x188/0x460 [drm_gpusvm_helper] [ 931.050802] but there are no more locks to release! [ 931.051463] The drm_gpusvm_notifier_unlock() sits under err_free label and the first jump to err_free is just before calling the drm_gpusvm_notifier_lock() causing unbalanced unlock.
Title drm/gpusvm: Fix unbalanced unlock in drm_gpusvm_scan_mm()
First Time appeared Linux
Linux linux Kernel
CPEs cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
Vendors & Products Linux
Linux linux Kernel
References

Subscriptions

Linux Linux Kernel
cve-icon MITRE

Status: PUBLISHED

Assigner: Linux

Published:

Updated: 2026-08-05T12:36:39.194Z

Reserved: 2026-07-19T07:54:57.017Z

Link: CVE-2026-63863

cve-icon Vulnrichment

No data.

cve-icon NVD

No data.

cve-icon Redhat

Severity : Moderate

Publid Date: 2026-07-19T00:00:00Z

Links: CVE-2026-63863 - Bugzilla

cve-icon OpenCVE Enrichment

Updated: 2026-08-04T07:15:03Z

Weaknesses
  • CWE-832

    Unlock of a Resource that is not Locked