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

drm/xe/hw_engine: Fix double-free of managed BO in error path

The error path in hw_engine_init() explicitly frees a BO allocated
with xe_managed_bo_create_pin_map() via xe_bo_unpin_map_no_vm().
Since the managed BO already has a devm cleanup action registered,
this causes a double-free when devm unwinds during probe failure.

Remove the explicit free and let devm handle it, consistent with
all other xe_managed_bo_create_pin_map() callers.

(cherry picked from commit e459a3bdeb117be496d7f229e2ea1f6c9fe4080b)
Published: 2026-08-15
Score: 7.0 High
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

In the Linux kernel DRM subsystem, the hw_engine_init error path performs an explicit free of a buffer object that already has a devm cleanup action. This double‑free corrupts kernel memory and can allow an attacker to execute arbitrary code at kernel privilege level or destabilize the system. The flaw is a CWE‑1341 (Double Free) weakness that compromises confidentiality, integrity, and availability at the host level.

Affected Systems

The vulnerability exists in any Linux kernel that contains the buggy hw_engine_init implementation for the XE hardware engine in the DRM subsystem. It applies to all kernel releases prior to the commit that removes the explicit free. Ordinary Linux distributions shipping a kernel with the DRM XE driver before the fix are potentially impacted.

Risk and Exploitability

The CVSS score is 7.0, indicating a moderate to high severity. The EPSS score is below 1%, implying a very low exploitation probability according to the EPSS model. The vulnerability is not listed in CISA’s KEV catalog. Based on the description, it is inferred that an attacker must trigger a driver probe failure while the driver is loading, which typically requires local access or the ability to supply a malformed GPU device or crafted driver. Thus, the likely attack vector is local, and while the probability of exploitation is low, the potential impact warrants timely remediation.

Generated by OpenCVE AI on August 18, 2026 at 05:38 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Update the Linux kernel to include the commit that removes the explicit free in hw_engine_init, which resolves the double‑free issue.
  • If an immediate kernel update is not feasible, blacklist or unload the DRM XE driver so the vulnerable code never executes.
  • Apply kernel hardening options such as enabling KASLR, CONFIG_MEMORY_POISONING, or other memory corruption mitigations to reduce exploitation risk during the interim.

Generated by OpenCVE AI on August 18, 2026 at 05:38 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Tue, 18 Aug 2026 04:00:00 +0000

Type Values Removed Values Added
Weaknesses CWE-416

Tue, 18 Aug 2026 00:15:00 +0000

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

None

cvssV3_1

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

threat_severity

Moderate


Sat, 15 Aug 2026 18:45:00 +0000

Type Values Removed Values Added
Weaknesses CWE-416

Sat, 15 Aug 2026 06:00:00 +0000

Type Values Removed Values Added
Description In the Linux kernel, the following vulnerability has been resolved: drm/xe/hw_engine: Fix double-free of managed BO in error path The error path in hw_engine_init() explicitly frees a BO allocated with xe_managed_bo_create_pin_map() via xe_bo_unpin_map_no_vm(). Since the managed BO already has a devm cleanup action registered, this causes a double-free when devm unwinds during probe failure. Remove the explicit free and let devm handle it, consistent with all other xe_managed_bo_create_pin_map() callers. (cherry picked from commit e459a3bdeb117be496d7f229e2ea1f6c9fe4080b)
Title drm/xe/hw_engine: Fix double-free of managed BO in error path
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-17T05:13:12.118Z

Reserved: 2026-08-09T03:40:39.921Z

Link: CVE-2026-72361

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

Published: 2026-08-15T06:22:09.530

Modified: 2026-08-17T06:18:40.313

Link: CVE-2026-72361

cve-icon Redhat

Severity : Moderate

Publid Date: 2026-08-15T00:00:00Z

Links: CVE-2026-72361 - Bugzilla

cve-icon OpenCVE Enrichment

Updated: 2026-08-18T05:45:03Z

Weaknesses
  • CWE-1341

    Multiple Releases of Same Resource or Handle