CVE-2026-68380
7.8high
accel/amdxdna: Fix use-after-free of mm_struct in job scheduler
- Severity
- 7.8high CVSS:3.1 by Linux
- Exploit likelihood
- 0.13% (higher than 3% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- Linux
Description
In the Linux kernel, the following vulnerability has been resolved: accel/amdxdna: Fix use-after-free of mm_struct in job scheduler amdxdna_cmd_submit() stores current->mm in job->mm without holding any reference. aie2_sched_job_run() later access job->mm from the DRM scheduler worker thread. With only a raw pointer and no structural reference, the mm_struct can be freed before the scheduler runs the job. Fix this by calling mmgrab() to hold a structural mm_count reference for the lifetime of the job, paired with mmdrop() in every cleanup path.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| Linux Linux | from aac243092b707bb3018e951d470cc1a9bcbaba6c before 6875ee2bef48f5d9f045d81a8a4d68893f768a8a, from aac243092b707bb3018e951d470cc1a9bcbaba6c before e8fadbffc19a233d1eedebfb8df0f522d1388280, from aac243092b707bb3018e951d470cc1a9bcbaba6c before faebb7ba1ac65fa5810b640df02ce04e509fdc11, 6.14 Not affected: before 6.14, from 6.18.42 up to 6.18.*, from 7.1.6 up to 7.1.*, from 7.2 up to * | CVE List |
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2026-68380 changed 2026-08-17 | CVE Terms of Use |
| NVD | CVE-2026-68380 changed 2026-08-17 | Public domain |