# CVE-2026-68380: accel/amdxdna: Fix use-after-free of mm_struct in job scheduler

- Severity: High 7.8 (CVSS:3.1, scored by Linux) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.13%, higher than 3% of CVEs (2026-12-01)
- Published: 2026-08-10T12:03:58.536Z
- Modified: 2026-08-17T06:17:46.457Z
- 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.

(As written by CVE List.)

## Affected

- 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 *)

## References

- <https://git.kernel.org/stable/c/6875ee2bef48f5d9f045d81a8a4d68893f768a8a>
- <https://git.kernel.org/stable/c/e8fadbffc19a233d1eedebfb8df0f522d1388280>
- <https://git.kernel.org/stable/c/faebb7ba1ac65fa5810b640df02ce04e509fdc11>

## Sources

- CVE List: [CVE-2026-68380](https://www.cve.org/CVERecord?id=CVE-2026-68380), CVE Terms of Use, modified 2026-08-17
- NVD: [CVE-2026-68380](https://nvd.nist.gov/vuln/detail/CVE-2026-68380), Public domain, modified 2026-08-17

---

Page: https://cve.day/CVE-2026-68380 · Whole record: https://cve.day/CVE-2026-68380.json · Rebuilt by cve.day 2026-11-25T22:59:32.107Z
