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

drm/amdkfd: hold event_mutex while checkpointing CRIU events

kfd_criu_checkpoint_events() counts the entries in p->event_idr via
kfd_get_num_events(), allocates an array sized to that count, and then
walks the same IDR to fill it. Neither the count nor the walk holds
p->event_mutex.

The CRIU checkpoint caller holds only p->mutex. Event create and destroy
(kfd_event_create()/kfd_event_destroy()) take p->event_mutex and do not
take p->mutex, so a second thread in the same process can insert or remove
events between the count and the walk. If an event is inserted, the walk
iterates more entries than were counted and writes past the end of the
ev_privs allocation; if an event is removed, the walk dereferences an
entry that is being freed.

Hold p->event_mutex across the count and the walk so both observe a
consistent view of p->event_idr. The lock is released before
copy_to_user(), which only touches the local buffer. The caller already
holds p->mutex and the create/destroy paths never take p->mutex, so the
p->mutex -> p->event_mutex order is not inverted and no deadlock is
introduced.

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

Impact

In the Linux kernel, the DRM AMDKFD subsystem contains a race condition where the event counter and walk of event identifiers are performed without holding the required event mutex. If an event is added or removed between the count and the walk, the routine writes past the end of the allocated buffer or dereferences a freed entry. This can corrupt kernel memory and, based on the description, it is inferred that this may enable an attacker to gain control authority. The weakness is a classic synchronization race leading to out‑of‑bounds writes or use‑after‑free, classified as a memory corruption flaw.

Affected Systems

All Linux hosts running a kernel that includes the drm/amdkfd driver are potentially affected. The description does not specify exact version ranges, but any kernel prior to the commit that introduced the fix (ff57e223ab 2026) is at risk. Based on the description, it is inferred that the driver is part of the AMD GPU subsystem, so systems with AMD GPUs and the associated kfd infrastructure are the most relevant targets.

Risk and Exploitability

The CVSS score is 7.8, and the EPSS score is <1%, so the overall risk is moderate to high, but exploitation probability remains low. The flaw is not yet listed in the CISA KEV catalog. Based on the description, it is inferred that the likely attack vector is an intra‑process race that requires the attacker to trigger a CRIU checkpoint operation while concurrently creating or destroying events. This suggests a local privilege escalation scenario, though exploitation from a remote user would require additional capabilities to influence the same process. Based on the description, it is inferred that the out‑of‑bounds nature of the bug could lead to kernel panic or arbitrary code execution if the attacker can manipulate the data written or read during the race.

Generated by OpenCVE AI on August 21, 2026 at 23:29 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Apply the latest kernel update that incorporates the ff57e223ab commit, which serializes event counting and walking using the event mutex.
  • If a kernel upgrade cannot be performed immediately, disable CRIU checkpoint functionality for processes that use the AMDKFD driver, or prevent any event creation/destroy operations during checkpointing by isolating those calls in a separate process or container.
  • Ensure that no obsolete kernels with the vulnerable DRM subsystem are present on the system; remove or replace them with a patched version to eliminate the race condition.

Generated by OpenCVE AI on August 21, 2026 at 23:29 UTC.

Tracking

Sign in to view the affected projects.

Advisories
Source ID Title
Debian DSA Debian DSA DSA-6466-1 linux security update
History

Fri, 21 Aug 2026 22:30:00 +0000

Type Values Removed Values Added
Weaknesses CWE-362
CWE-788

Fri, 21 Aug 2026 12:15:00 +0000

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

None

threat_severity

Important


Wed, 19 Aug 2026 16:45:00 +0000


Mon, 17 Aug 2026 13:15:00 +0000

Type Values Removed Values Added
Weaknesses CWE-362
CWE-788

Mon, 17 Aug 2026 11:45:00 +0000

Type Values Removed Values Added
Weaknesses CWE-362
CWE-788

Mon, 17 Aug 2026 06:00:00 +0000

Type Values Removed Values Added
Metrics cvssV3_1

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


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

Type Values Removed Values Added
Weaknesses CWE-362
CWE-788

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

Type Values Removed Values Added
Description In the Linux kernel, the following vulnerability has been resolved: drm/amdkfd: hold event_mutex while checkpointing CRIU events kfd_criu_checkpoint_events() counts the entries in p->event_idr via kfd_get_num_events(), allocates an array sized to that count, and then walks the same IDR to fill it. Neither the count nor the walk holds p->event_mutex. The CRIU checkpoint caller holds only p->mutex. Event create and destroy (kfd_event_create()/kfd_event_destroy()) take p->event_mutex and do not take p->mutex, so a second thread in the same process can insert or remove events between the count and the walk. If an event is inserted, the walk iterates more entries than were counted and writes past the end of the ev_privs allocation; if an event is removed, the walk dereferences an entry that is being freed. Hold p->event_mutex across the count and the walk so both observe a consistent view of p->event_idr. The lock is released before copy_to_user(), which only touches the local buffer. The caller already holds p->mutex and the create/destroy paths never take p->mutex, so the p->mutex -> p->event_mutex order is not inverted and no deadlock is introduced. (cherry picked from commit ff57e223ab105795b05d3ef3f3c35a5a441bcbaa)
Title drm/amdkfd: hold event_mutex while checkpointing CRIU events
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-19T16:36:41.097Z

Reserved: 2026-08-15T05:44:03.898Z

Link: CVE-2026-74446

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

Published: 2026-08-15T13:17:49.180

Modified: 2026-08-19T17:21:01.813

Link: CVE-2026-74446

cve-icon Redhat

Severity : Important

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

Links: CVE-2026-74446 - Bugzilla

cve-icon OpenCVE Enrichment

Updated: 2026-08-21T23:30:17Z

Weaknesses