Bug 2513412 (CVE-2026-68380) - CVE-2026-68380 kernel: accel/amdxdna: Fix use-after-free of mm_struct in job scheduler
Summary: CVE-2026-68380 kernel: accel/amdxdna: Fix use-after-free of mm_struct in job ...
Keywords:
Status: NEW
Alias: CVE-2026-68380
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
high
high
Target Milestone: ---
Assignee: Product Security
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2026-08-10 12:35 UTC by OSIDB Bzimport
Modified: 2026-08-11 15:24 UTC (History)
2 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)

Description OSIDB Bzimport 2026-08-10 12:35:53 UTC
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.


Note You need to log in before you can comment on or make changes to this bug.