CVE-2026-68380 PUBLISHED

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

Assigner: Linux
Reserved: 30.07.2026 Published: 10.08.2026 Updated: 10.08.2026

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.

Product Status

Vendor Linux
Product Linux
Versions Default: unaffected
  • affected from aac243092b707bb3018e951d470cc1a9bcbaba6c to 6875ee2bef48f5d9f045d81a8a4d68893f768a8a (excl.)
  • affected from aac243092b707bb3018e951d470cc1a9bcbaba6c to e8fadbffc19a233d1eedebfb8df0f522d1388280 (excl.)
  • affected from aac243092b707bb3018e951d470cc1a9bcbaba6c to faebb7ba1ac65fa5810b640df02ce04e509fdc11 (excl.)
Vendor Linux
Product Linux
Versions Default: affected
  • Version 6.14 is affected
  • unaffected from 0 to 6.14 (excl.)
  • unaffected from 6.18.42 to 6.18.* (incl.)
  • unaffected from 7.1.6 to 7.1.* (incl.)
  • unaffected from 7.2-rc4 to * (incl.)

References