316 lines
15 KiB
JSON
316 lines
15 KiB
JSON
{
|
|
"dataType": "CVE_RECORD",
|
|
"dataVersion": "5.2",
|
|
"cveMetadata": {
|
|
"cveId": "CVE-2026-52987",
|
|
"assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
|
|
"state": "PUBLISHED",
|
|
"assignerShortName": "Linux",
|
|
"dateReserved": "2026-06-09T07:44:35.376Z",
|
|
"datePublished": "2026-06-24T16:29:01.633Z",
|
|
"dateUpdated": "2026-09-10T12:05:00.486Z"
|
|
},
|
|
"containers": {
|
|
"cna": {
|
|
"providerMetadata": {
|
|
"orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
|
|
"shortName": "Linux",
|
|
"dateUpdated": "2026-08-05T12:32:23.544Z"
|
|
},
|
|
"descriptions": [
|
|
{
|
|
"lang": "en",
|
|
"value": "In the Linux kernel, the following vulnerability has been resolved:\n\ndrm/amdgpu: avoid double drm_exec_fini() in userq validate\n\nWhen new_addition is true, amdgpu_userq_vm_validate() calls\ndrm_exec_fini(&exec) before iterating over the collected HMM ranges and\ncalling amdgpu_ttm_tt_get_user_pages().\n\nIf amdgpu_ttm_tt_get_user_pages() fails in that path, the code jumps to\nunlock_all and calls drm_exec_fini(&exec) a second time on the same\nexec object. drm_exec_fini() is not idempotent: it frees exec->objects\nand may also drop exec->contended and finalize the ww acquire context.\n\nRoute that error path directly to the range cleanup once exec has\nalready been finalized.\n\nIssue found using a prototype static analysis tool\nand confirmed by code review.\n\n(cherry picked from commit 2802952e4a07306da6ebe813ff1acacc5691851a)"
|
|
}
|
|
],
|
|
"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 vulnerable path is reached through AMDGPU DRM ioctls on a local DRM render/primary device, not through network, adjacent, or physical input.\nAC:L - A local attacker can create and map userptr-backed AMDGPU BOs and then trigger user queue VM validation; the failing `amdgpu_ttm_tt_get_user_pages()` path can be induced with attacker-controlled invalidated or unsuitable user memory.\nPR:L - The ioctl is registered with `DRM_AUTH|DRM_RENDER_ALLOW`, so a render-node client can reach it without root, DRM master, or real administrative capabilities.\nUI:N - No victim action is required after the local attacker runs the ioctl sequence.\nS:U - The corruption occurs inside the kernel driver and any resulting privilege escalation or crash remains within the same kernel security authority.\nC:H - The bug double-finalizes a `drm_exec`, causing use-after-free/double-free of kernel-managed objects; such memory corruption can reasonably be leveraged for kernel memory disclosure.\nI:H - The same use-after-free/double-free condition can corrupt allocator and object state, making arbitrary kernel memory modification or control-flow compromise defensible.\nA:H - Even without full exploitation, double-free/use-after-free in kernel cleanup paths can oops, panic, or otherwise crash the system."
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"affected": [
|
|
{
|
|
"product": "Linux",
|
|
"vendor": "Linux",
|
|
"defaultStatus": "unaffected",
|
|
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
|
|
"programFiles": [
|
|
"drivers/gpu/drm/amd/amdgpu/amdgpu_userq.c"
|
|
],
|
|
"versions": [
|
|
{
|
|
"version": "42f148788469792df207751e2339ef2bb8a1e33e",
|
|
"lessThan": "c7c3ae7c01e5a0742b93cb9b40800bdd7f811e38",
|
|
"status": "affected",
|
|
"versionType": "git"
|
|
},
|
|
{
|
|
"version": "42f148788469792df207751e2339ef2bb8a1e33e",
|
|
"lessThan": "508babf310365f1107a2e8831c267c292a286818",
|
|
"status": "affected",
|
|
"versionType": "git"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"product": "Linux",
|
|
"vendor": "Linux",
|
|
"defaultStatus": "affected",
|
|
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
|
|
"programFiles": [
|
|
"drivers/gpu/drm/amd/amdgpu/amdgpu_userq.c"
|
|
],
|
|
"versions": [
|
|
{
|
|
"version": "6.19",
|
|
"status": "affected"
|
|
},
|
|
{
|
|
"version": "0",
|
|
"lessThan": "6.19",
|
|
"status": "unaffected",
|
|
"versionType": "semver"
|
|
},
|
|
{
|
|
"version": "7.0.10",
|
|
"lessThanOrEqual": "7.0.*",
|
|
"status": "unaffected",
|
|
"versionType": "semver"
|
|
},
|
|
{
|
|
"version": "7.1",
|
|
"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.19",
|
|
"versionEndExcluding": "7.0.10"
|
|
},
|
|
{
|
|
"vulnerable": true,
|
|
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
|
|
"versionStartIncluding": "6.19",
|
|
"versionEndExcluding": "7.1"
|
|
}
|
|
]
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"references": [
|
|
{
|
|
"url": "https://git.kernel.org/stable/c/c7c3ae7c01e5a0742b93cb9b40800bdd7f811e38"
|
|
},
|
|
{
|
|
"url": "https://git.kernel.org/stable/c/508babf310365f1107a2e8831c267c292a286818"
|
|
}
|
|
],
|
|
"title": "drm/amdgpu: avoid double drm_exec_fini() in userq validate",
|
|
"x_generator": {
|
|
"engine": "bippy-1.2.0"
|
|
}
|
|
},
|
|
"adp": [
|
|
{
|
|
"affected": [
|
|
{
|
|
"collectionURL": "https://access.redhat.com/downloads/content/package-browser/",
|
|
"cpes": [
|
|
"cpe:/o:redhat:enterprise_linux:10"
|
|
],
|
|
"defaultStatus": "unaffected",
|
|
"packageName": "kernel",
|
|
"product": "Red Hat Enterprise Linux 10",
|
|
"vendor": "Red Hat"
|
|
},
|
|
{
|
|
"collectionURL": "https://access.redhat.com/downloads/content/package-browser/",
|
|
"cpes": [
|
|
"cpe:/o:redhat:enterprise_linux:6"
|
|
],
|
|
"defaultStatus": "unknown",
|
|
"packageName": "kernel",
|
|
"product": "Red Hat Enterprise Linux 6",
|
|
"vendor": "Red Hat"
|
|
},
|
|
{
|
|
"collectionURL": "https://access.redhat.com/downloads/content/package-browser/",
|
|
"cpes": [
|
|
"cpe:/o:redhat:enterprise_linux:7"
|
|
],
|
|
"defaultStatus": "unaffected",
|
|
"packageName": "kernel",
|
|
"product": "Red Hat Enterprise Linux 7",
|
|
"vendor": "Red Hat"
|
|
},
|
|
{
|
|
"collectionURL": "https://access.redhat.com/downloads/content/package-browser/",
|
|
"cpes": [
|
|
"cpe:/o:redhat:enterprise_linux:7"
|
|
],
|
|
"defaultStatus": "unaffected",
|
|
"packageName": "kernel-rt",
|
|
"product": "Red Hat Enterprise Linux 7",
|
|
"vendor": "Red Hat"
|
|
},
|
|
{
|
|
"collectionURL": "https://access.redhat.com/downloads/content/package-browser/",
|
|
"cpes": [
|
|
"cpe:/o:redhat:enterprise_linux:8"
|
|
],
|
|
"defaultStatus": "unaffected",
|
|
"packageName": "kernel",
|
|
"product": "Red Hat Enterprise Linux 8",
|
|
"vendor": "Red Hat"
|
|
},
|
|
{
|
|
"collectionURL": "https://access.redhat.com/downloads/content/package-browser/",
|
|
"cpes": [
|
|
"cpe:/o:redhat:enterprise_linux:8"
|
|
],
|
|
"defaultStatus": "unaffected",
|
|
"packageName": "kernel-rt",
|
|
"product": "Red Hat Enterprise Linux 8",
|
|
"vendor": "Red Hat"
|
|
},
|
|
{
|
|
"collectionURL": "https://access.redhat.com/downloads/content/package-browser/",
|
|
"cpes": [
|
|
"cpe:/o:redhat:enterprise_linux:9"
|
|
],
|
|
"defaultStatus": "unaffected",
|
|
"packageName": "kernel",
|
|
"product": "Red Hat Enterprise Linux 9",
|
|
"vendor": "Red Hat"
|
|
},
|
|
{
|
|
"collectionURL": "https://access.redhat.com/downloads/content/package-browser/",
|
|
"cpes": [
|
|
"cpe:/o:redhat:enterprise_linux:9"
|
|
],
|
|
"defaultStatus": "affected",
|
|
"packageName": "kernel-rt",
|
|
"product": "Red Hat Enterprise Linux 9",
|
|
"vendor": "Red Hat"
|
|
}
|
|
],
|
|
"datePublic": "2026-06-24T00:00:00.000Z",
|
|
"descriptions": [
|
|
{
|
|
"lang": "en",
|
|
"value": "A flaw was found in the Linux kernel. A double free vulnerability exists in the `drm/amdgpu` component within the `userq validate` function. This issue arises because the `drm_exec_fini()` function is called twice on the same execution object, which is not designed to be idempotent. An attacker could potentially exploit this to cause a denial of service or lead to unpredictable system behavior."
|
|
}
|
|
],
|
|
"metrics": [
|
|
{
|
|
"other": {
|
|
"content": {
|
|
"namespace": "https://access.redhat.com/security/updates/classification/",
|
|
"value": "Important"
|
|
},
|
|
"type": "Red Hat severity rating"
|
|
}
|
|
},
|
|
{
|
|
"cvssV3_1": {
|
|
"attackComplexity": "HIGH",
|
|
"attackVector": "LOCAL",
|
|
"availabilityImpact": "HIGH",
|
|
"baseScore": 7,
|
|
"baseSeverity": "HIGH",
|
|
"confidentialityImpact": "HIGH",
|
|
"integrityImpact": "HIGH",
|
|
"privilegesRequired": "LOW",
|
|
"scope": "UNCHANGED",
|
|
"userInteraction": "NONE",
|
|
"vectorString": "CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H",
|
|
"version": "3.1"
|
|
},
|
|
"format": "CVSS"
|
|
}
|
|
],
|
|
"problemTypes": [
|
|
{
|
|
"descriptions": [
|
|
{
|
|
"cweId": "CWE-1341",
|
|
"description": "Multiple Releases of Same Resource or Handle",
|
|
"lang": "en",
|
|
"type": "CWE"
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"references": [
|
|
{
|
|
"tags": [
|
|
"vdb-entry",
|
|
"x_refsource_REDHAT"
|
|
],
|
|
"url": "https://access.redhat.com/security/cve/CVE-2026-52987"
|
|
},
|
|
{
|
|
"name": "RHBZ#2492365",
|
|
"tags": [
|
|
"issue-tracking",
|
|
"x_refsource_REDHAT"
|
|
],
|
|
"url": "https://bugzilla.redhat.com/show_bug.cgi?id=2492365"
|
|
},
|
|
{
|
|
"tags": [
|
|
"x_sadp-csaf-vex"
|
|
],
|
|
"url": "https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-52987.json"
|
|
}
|
|
],
|
|
"timeline": [
|
|
{
|
|
"lang": "en",
|
|
"time": "2026-06-24T00:00:00.000Z",
|
|
"value": "Reported to Red Hat."
|
|
},
|
|
{
|
|
"lang": "en",
|
|
"time": "2026-06-24T00:00:00.000Z",
|
|
"value": "Made public."
|
|
}
|
|
],
|
|
"title": "kernel: drm/amdgpu: avoid double drm_exec_fini() in userq validate",
|
|
"x_adpType": "supplier",
|
|
"x_generator": {
|
|
"engine": "sadp-cli 1.0.0"
|
|
},
|
|
"providerMetadata": {
|
|
"orgId": "0b0ca135-0b70-47e7-9f44-1890c2a1c46c",
|
|
"shortName": "redhat-SADP",
|
|
"dateUpdated": "2026-09-10T12:05:00.486Z"
|
|
}
|
|
}
|
|
]
|
|
}
|
|
} |