Files
vuln-cve/data/2026/45xxx/CVE-2026-45980.json
T

175 lines
8.9 KiB
JSON

{
"dataType": "CVE_RECORD",
"dataVersion": "5.2",
"cveMetadata": {
"cveId": "CVE-2026-45980",
"assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
"state": "PUBLISHED",
"assignerShortName": "Linux",
"dateReserved": "2026-05-13T15:03:33.090Z",
"datePublished": "2026-05-27T12:18:39.136Z",
"dateUpdated": "2026-08-05T12:29:00.693Z"
},
"containers": {
"cna": {
"providerMetadata": {
"orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
"shortName": "Linux",
"dateUpdated": "2026-08-05T12:29:00.693Z"
},
"descriptions": [
{
"lang": "en",
"value": "In the Linux kernel, the following vulnerability has been resolved:\n\naccel/amdxdna: Stop job scheduling across aie2_release_resource()\n\nRunning jobs on a hardware context while it is in the process of\nreleasing resources can lead to use-after-free and crashes.\n\nFix this by stopping job scheduling before calling\naie2_release_resource() and restarting it after the release completes.\nAdditionally, aie2_sched_job_run() now checks whether the hardware\ncontext is still active."
}
],
"metrics": [
{
"cvssV3_1": {
"version": "3.1",
"vectorString": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H",
"baseScore": 7.8,
"baseSeverity": "HIGH"
},
"scenarios": [
{
"lang": "en",
"value": "AV:L - The vulnerability is reached through ioctls (AMDXDNA_EXEC_CMD and AMDXDNA_DESTROY_HWCTX) on the local /dev/accel/accelN device file; there is no network exposure.\nAC:L - This is a race between the DRM scheduler running a queued job and the hwctx resource release, and the attacker controls both sides (submitting jobs and triggering destroy), so it can be reliably reproduced by looping create/submit/destroy cycles.\nPR:L - The relevant ioctls carry flag 0 with no capability or root check, and the NPU device is intended for unprivileged user-space ML applications, so any local user with device access can trigger it without elevated privileges.\nUI:N - The attacking process performs all steps (open, submit, destroy) itself; no victim action is required.\nS:U - The use-after-free corrupts kernel heap within the kernel's own security authority and does not cross into a separate VM/IOMMU boundary.\nC:H - The freed mailbox channel object can be reclaimed via heap spray, giving the attacker control over its contents and enabling kernel memory disclosure; per guidance UAF is High.\nI:H - The UAF on the channel object used for DMA/command submission enables heap-spray reallocation and controlled writes, providing an arbitrary-write/control-flow primitive.\nA:H - The race-induced use-after-free causes kernel oops/panic, as explicitly stated in the fix commit (\"use-after-free and crashes\")."
}
]
}
],
"affected": [
{
"product": "Linux",
"vendor": "Linux",
"defaultStatus": "unaffected",
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"programFiles": [
"drivers/accel/amdxdna/aie2_ctx.c"
],
"versions": [
{
"version": "4fd6ca90fc7f509977585d39885f21b2911123f3",
"lessThan": "b79d31dce49b50c79620389b3639280802a86960",
"status": "affected",
"versionType": "git"
},
{
"version": "4fd6ca90fc7f509977585d39885f21b2911123f3",
"lessThan": "688c3ff079b10e4600f040944430d3d4ff448a15",
"status": "affected",
"versionType": "git"
},
{
"version": "4fd6ca90fc7f509977585d39885f21b2911123f3",
"lessThan": "f1370241fe8045702bc9d0812b996791f0500f1b",
"status": "affected",
"versionType": "git"
},
{
"version": "36f781a3f0deac92f169416997a17e73538cf470",
"status": "affected",
"versionType": "git"
},
{
"version": "6.14.9",
"lessThan": "6.15",
"status": "affected",
"versionType": "semver"
}
]
},
{
"product": "Linux",
"vendor": "Linux",
"defaultStatus": "affected",
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"programFiles": [
"drivers/accel/amdxdna/aie2_ctx.c"
],
"versions": [
{
"version": "6.15",
"status": "affected"
},
{
"version": "0",
"lessThan": "6.15",
"status": "unaffected",
"versionType": "semver"
},
{
"version": "6.18.14",
"lessThanOrEqual": "6.18.*",
"status": "unaffected",
"versionType": "semver"
},
{
"version": "6.19.4",
"lessThanOrEqual": "6.19.*",
"status": "unaffected",
"versionType": "semver"
},
{
"version": "7.0",
"lessThanOrEqual": "*",
"status": "unaffected",
"versionType": "original_commit_for_fix"
}
]
}
],
"cpeApplicability": [
{
"nodes": [
{
"operator": "OR",
"negate": false,
"cpeMatch": [
{
"vulnerable": true,
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
"versionStartIncluding": "6.15",
"versionEndExcluding": "6.18.14"
},
{
"vulnerable": true,
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
"versionStartIncluding": "6.15",
"versionEndExcluding": "6.19.4"
},
{
"vulnerable": true,
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
"versionStartIncluding": "6.15",
"versionEndExcluding": "7.0"
},
{
"vulnerable": true,
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
"versionStartIncluding": "6.14.9"
}
]
}
]
}
],
"references": [
{
"url": "https://git.kernel.org/stable/c/b79d31dce49b50c79620389b3639280802a86960"
},
{
"url": "https://git.kernel.org/stable/c/688c3ff079b10e4600f040944430d3d4ff448a15"
},
{
"url": "https://git.kernel.org/stable/c/f1370241fe8045702bc9d0812b996791f0500f1b"
}
],
"title": "accel/amdxdna: Stop job scheduling across aie2_release_resource()",
"x_generator": {
"engine": "bippy-1.2.0"
}
}
}
}