CVE-2026-74446
drm/amdkfd: hold event_mutex while checkpointing CRIU events
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)
INFO
Published Date :
Aug. 15, 2026, 1:17 p.m.
Last Modified :
Aug. 17, 2026, 6:19 a.m.
Remotely Exploit :
No
Source :
416baaa9-dc9f-4396-8d5f-8c081fb06d67
CVSS Scores
| Score | Version | Severity | Vector | Exploitability Score | Impact Score | Source |
|---|---|---|---|---|---|---|
| CVSS 3.1 | HIGH | 416baaa9-dc9f-4396-8d5f-8c081fb06d67 |
Solution
- Acquire p->event_mutex before counting and walking event_idr.
- Ensure consistent view of p->event_idr.
- Release lock before copy_to_user().
References to Advisories, Solutions, and Tools
Here, you will find a curated list of external links that provide in-depth
information, practical solutions, and valuable tools related to
CVE-2026-74446.
CWE - Common Weakness Enumeration
While CVE identifies
specific instances of vulnerabilities, CWE categorizes the common flaws or
weaknesses that can lead to vulnerabilities. CVE-2026-74446 is
associated with the following CWEs:
Common Attack Pattern Enumeration and Classification (CAPEC)
Common Attack Pattern Enumeration and Classification
(CAPEC)
stores attack patterns, which are descriptions of the common attributes and
approaches employed by adversaries to exploit the CVE-2026-74446
weaknesses.
We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).
Results are limited to the first 15 repositories due to potential performance issues.
The following list is the news that have been mention
CVE-2026-74446 vulnerability anywhere in the article.
The following table lists the changes that have been made to the
CVE-2026-74446 vulnerability over time.
Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.
-
CVE Modified by 416baaa9-dc9f-4396-8d5f-8c081fb06d67
Aug. 17, 2026
Action Type Old Value New Value Added CVSS V3.1 AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H Changed Affected [{'repo': 'https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git', 'vendor': 'Linux', 'product': 'Linux', 'versions': [{'status': 'affected', 'version': '40e8a766a761f7fdc8530347527b344fddf6f1a8', 'lessThan': '2040b7e39027cb83bb8c7b84a4c95c2f6053c32f', 'versionType': 'git'}, {'status': 'affected', 'version': '40e8a766a761f7fdc8530347527b344fddf6f1a8', 'lessThan': '9a7f765985f64fd4a7a58f7bc9cd80a1f4230628', 'versionType': 'git'}, {'status': 'affected', 'version': '40e8a766a761f7fdc8530347527b344fddf6f1a8', 'lessThan': '6a52f48157fa7fb81e0c146937fd6c8b0c1cfdbd', 'versionType': 'git'}, {'status': 'affected', 'version': '40e8a766a761f7fdc8530347527b344fddf6f1a8', 'lessThan': 'bed80be08c0bee47fa242a4256ac873477c815f8', 'versionType': 'git'}, {'status': 'affected', 'version': '40e8a766a761f7fdc8530347527b344fddf6f1a8', 'lessThan': 'ff8bc5a68a9a70bdc38d61a72c7a49c56063f9d2', 'versionType': 'git'}], 'programFiles': ['drivers/gpu/drm/amd/amdkfd/kfd_events.c'], 'defaultStatus': 'unaffected'}, {'repo': 'https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git', 'vendor': 'Linux', 'product': 'Linux', 'versions': [{'status': 'affected', 'version': '5.18'}, {'status': 'unaffected', 'version': '0', 'lessThan': '5.18', 'versionType': 'semver'}, {'status': 'unaffected', 'version': '6.6.151', 'versionType': 'semver', 'lessThanOrEqual': '6.6.*'}, {'status': 'unaffected', 'version': '6.12.103', 'versionType': 'semver', 'lessThanOrEqual': '6.12.*'}, {'status': 'unaffected', 'version': '6.18.44', 'versionType': 'semver', 'lessThanOrEqual': '6.18.*'}, {'status': 'unaffected', 'version': '7.1.8', 'versionType': 'semver', 'lessThanOrEqual': '7.1.*'}, {'status': 'unaffected', 'version': '7.2-rc6', 'versionType': 'original_commit_for_fix', 'lessThanOrEqual': '*'}], 'programFiles': ['drivers/gpu/drm/amd/amdkfd/kfd_events.c'], 'defaultStatus': 'affected'}] [{'repo': 'https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git', 'vendor': 'Linux', 'product': 'Linux', 'versions': [{'status': 'affected', 'version': '40e8a766a761f7fdc8530347527b344fddf6f1a8', 'lessThan': '2040b7e39027cb83bb8c7b84a4c95c2f6053c32f', 'versionType': 'git'}, {'status': 'affected', 'version': '40e8a766a761f7fdc8530347527b344fddf6f1a8', 'lessThan': '9a7f765985f64fd4a7a58f7bc9cd80a1f4230628', 'versionType': 'git'}, {'status': 'affected', 'version': '40e8a766a761f7fdc8530347527b344fddf6f1a8', 'lessThan': '6a52f48157fa7fb81e0c146937fd6c8b0c1cfdbd', 'versionType': 'git'}, {'status': 'affected', 'version': '40e8a766a761f7fdc8530347527b344fddf6f1a8', 'lessThan': 'bed80be08c0bee47fa242a4256ac873477c815f8', 'versionType': 'git'}, {'status': 'affected', 'version': '40e8a766a761f7fdc8530347527b344fddf6f1a8', 'lessThan': 'ff8bc5a68a9a70bdc38d61a72c7a49c56063f9d2', 'versionType': 'git'}], 'programFiles': ['drivers/gpu/drm/amd/amdkfd/kfd_events.c'], 'defaultStatus': 'unaffected'}, {'repo': 'https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git', 'vendor': 'Linux', 'product': 'Linux', 'versions': [{'status': 'affected', 'version': '5.18'}, {'status': 'unaffected', 'version': '0', 'lessThan': '5.18', 'versionType': 'semver'}, {'status': 'unaffected', 'version': '6.6.151', 'versionType': 'semver', 'lessThanOrEqual': '6.6.*'}, {'status': 'unaffected', 'version': '6.12.103', 'versionType': 'semver', 'lessThanOrEqual': '6.12.*'}, {'status': 'unaffected', 'version': '6.18.44', 'versionType': 'semver', 'lessThanOrEqual': '6.18.*'}, {'status': 'unaffected', 'version': '7.1.8', 'versionType': 'semver', 'lessThanOrEqual': '7.1.*'}, {'status': 'unaffected', 'version': '7.2', 'versionType': 'original_commit_for_fix', 'lessThanOrEqual': '*'}], 'programFiles': ['drivers/gpu/drm/amd/amdkfd/kfd_events.c'], 'defaultStatus': 'affected'}] -
New CVE Received by 416baaa9-dc9f-4396-8d5f-8c081fb06d67
Aug. 15, 2026
Action Type Old Value New Value Added Affected [{'repo': 'https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git', 'vendor': 'Linux', 'product': 'Linux', 'versions': [{'status': 'affected', 'version': '40e8a766a761f7fdc8530347527b344fddf6f1a8', 'lessThan': '2040b7e39027cb83bb8c7b84a4c95c2f6053c32f', 'versionType': 'git'}, {'status': 'affected', 'version': '40e8a766a761f7fdc8530347527b344fddf6f1a8', 'lessThan': '9a7f765985f64fd4a7a58f7bc9cd80a1f4230628', 'versionType': 'git'}, {'status': 'affected', 'version': '40e8a766a761f7fdc8530347527b344fddf6f1a8', 'lessThan': '6a52f48157fa7fb81e0c146937fd6c8b0c1cfdbd', 'versionType': 'git'}, {'status': 'affected', 'version': '40e8a766a761f7fdc8530347527b344fddf6f1a8', 'lessThan': 'bed80be08c0bee47fa242a4256ac873477c815f8', 'versionType': 'git'}, {'status': 'affected', 'version': '40e8a766a761f7fdc8530347527b344fddf6f1a8', 'lessThan': 'ff8bc5a68a9a70bdc38d61a72c7a49c56063f9d2', 'versionType': 'git'}], 'programFiles': ['drivers/gpu/drm/amd/amdkfd/kfd_events.c'], 'defaultStatus': 'unaffected'}, {'repo': 'https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git', 'vendor': 'Linux', 'product': 'Linux', 'versions': [{'status': 'affected', 'version': '5.18'}, {'status': 'unaffected', 'version': '0', 'lessThan': '5.18', 'versionType': 'semver'}, {'status': 'unaffected', 'version': '6.6.151', 'versionType': 'semver', 'lessThanOrEqual': '6.6.*'}, {'status': 'unaffected', 'version': '6.12.103', 'versionType': 'semver', 'lessThanOrEqual': '6.12.*'}, {'status': 'unaffected', 'version': '6.18.44', 'versionType': 'semver', 'lessThanOrEqual': '6.18.*'}, {'status': 'unaffected', 'version': '7.1.8', 'versionType': 'semver', 'lessThanOrEqual': '7.1.*'}, {'status': 'unaffected', 'version': '7.2-rc6', 'versionType': 'original_commit_for_fix', 'lessThanOrEqual': '*'}], 'programFiles': ['drivers/gpu/drm/amd/amdkfd/kfd_events.c'], 'defaultStatus': 'affected'}] 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) Added Reference https://git.kernel.org/stable/c/2040b7e39027cb83bb8c7b84a4c95c2f6053c32f Added Reference https://git.kernel.org/stable/c/6a52f48157fa7fb81e0c146937fd6c8b0c1cfdbd Added Reference https://git.kernel.org/stable/c/9a7f765985f64fd4a7a58f7bc9cd80a1f4230628 Added Reference https://git.kernel.org/stable/c/bed80be08c0bee47fa242a4256ac873477c815f8 Added Reference https://git.kernel.org/stable/c/ff8bc5a68a9a70bdc38d61a72c7a49c56063f9d2