CVE-2026-68380

accel/amdxdna: Fix use-after-free of mm_struct in job scheduler

State
Published
Severity
7.8 High
Published
Aug 10, 2026
Updated
Aug 17, 2026
Reserved
Jul 30, 2026

Read the record on cve.org

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.

Scores

CVSSScoreVectorSource
3.17.8 HighCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HLinux

Weaknesses

The record names no weakness.

Affected Products

ProductVersions
LinuxLinux
  • aac243092b707bb3018e951d470cc1a9bcbaba6c to before 6875ee2bef48f5d9f045d81a8a4d68893f768a8aAffected
  • aac243092b707bb3018e951d470cc1a9bcbaba6c to before e8fadbffc19a233d1eedebfb8df0f522d1388280Affected
  • aac243092b707bb3018e951d470cc1a9bcbaba6c to before faebb7ba1ac65fa5810b640df02ce04e509fdc11Affected
LinuxLinux
  • 6.14Affected
  • before 6.14Not affected
  • 6.18.42 through 6.18.*Not affected
  • 7.1.6 through 7.1.*Not affected
  • 7.2 and laterNot affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.