235 lines
11 KiB
JSON
235 lines
11 KiB
JSON
{
|
|
"dataType": "CVE_RECORD",
|
|
"dataVersion": "5.2",
|
|
"cveMetadata": {
|
|
"cveId": "CVE-2022-48981",
|
|
"assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
|
|
"state": "PUBLISHED",
|
|
"assignerShortName": "Linux",
|
|
"dateReserved": "2024-08-22T01:27:53.633Z",
|
|
"datePublished": "2024-10-21T20:05:59.043Z",
|
|
"dateUpdated": "2026-08-05T08:53:14.133Z"
|
|
},
|
|
"containers": {
|
|
"cna": {
|
|
"providerMetadata": {
|
|
"orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
|
|
"shortName": "Linux",
|
|
"dateUpdated": "2026-08-05T08:53:14.133Z"
|
|
},
|
|
"descriptions": [
|
|
{
|
|
"lang": "en",
|
|
"value": "In the Linux kernel, the following vulnerability has been resolved:\n\ndrm/shmem-helper: Remove errant put in error path\n\ndrm_gem_shmem_mmap() doesn't own this reference, resulting in the GEM\nobject getting prematurely freed leading to a later use-after-free."
|
|
}
|
|
],
|
|
"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 - Reachable only via local DRM device access (open /dev/dri/*, CREATE_DUMB/GEM_CREATE, MAP_DUMB, then mmap), not via network packet processing.\nAC:L - Attacker fully controls the path and can reliably force drm_gem_shmem_get_pages() failure (e.g., pending signal hitting mutex_lock_interruptible, or memory pressure on page allocation); once that fails the double-put UAF is deterministic with no uncontrolled race.\nPR:L - An unprivileged local user can open DRM primary/render nodes and create/mmap their own shmem GEM objects (e.g., vgem/vkms dumb buffers, or panfrost/lima/v3d render-node GEM_CREATE); no real root/CAP_SYS_ADMIN is required.\nUI:N - The attacker opens the device, creates the buffer, mmaps it to trigger the bug, and exploits the UAF without any victim action.\nS:U - This is a standard in-kernel GEM object UAF enabling privilege escalation within the host kernel security authority, not a VM/IOMMU/sandbox boundary escape.\nC:H - Premature free of the kmalloc-backed GEM object leaves a live handle to freed memory, which per UAF guidance enables reclaim/spray and arbitrary kernel read primitives.\nI:H - The same UAF of the GEM object structure enables heap spray and arbitrary write / control-flow hijacking in the kernel.\nA:H - The UAF reliably causes kernel oops (KASAN use-after-free in drm_gem_object_release_handle on close) and can panic or hang 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/drm_gem_shmem_helper.c"
|
|
],
|
|
"versions": [
|
|
{
|
|
"version": "2194a63a818db71065ebe09c8104f5f021ca4e7b",
|
|
"lessThan": "585a07b820059462e0c93b76c7de2cd946b26b40",
|
|
"status": "affected",
|
|
"versionType": "git"
|
|
},
|
|
{
|
|
"version": "2194a63a818db71065ebe09c8104f5f021ca4e7b",
|
|
"lessThan": "6a4da05acd062ae7774b6b19cef2b7d922902d36",
|
|
"status": "affected",
|
|
"versionType": "git"
|
|
},
|
|
{
|
|
"version": "2194a63a818db71065ebe09c8104f5f021ca4e7b",
|
|
"lessThan": "83e3da8bb92fcfa7a1d232cf55f9e6c49bb84942",
|
|
"status": "affected",
|
|
"versionType": "git"
|
|
},
|
|
{
|
|
"version": "2194a63a818db71065ebe09c8104f5f021ca4e7b",
|
|
"lessThan": "586847b98e20ab02212ca5c1fc46680384e68a28",
|
|
"status": "affected",
|
|
"versionType": "git"
|
|
},
|
|
{
|
|
"version": "2194a63a818db71065ebe09c8104f5f021ca4e7b",
|
|
"lessThan": "24013314be6ee4ee456114a671e9fa3461323de8",
|
|
"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/drm_gem_shmem_helper.c"
|
|
],
|
|
"versions": [
|
|
{
|
|
"version": "5.2",
|
|
"status": "affected"
|
|
},
|
|
{
|
|
"version": "0",
|
|
"lessThan": "5.2",
|
|
"status": "unaffected",
|
|
"versionType": "semver"
|
|
},
|
|
{
|
|
"version": "5.4.227",
|
|
"lessThanOrEqual": "5.4.*",
|
|
"status": "unaffected",
|
|
"versionType": "semver"
|
|
},
|
|
{
|
|
"version": "5.10.159",
|
|
"lessThanOrEqual": "5.10.*",
|
|
"status": "unaffected",
|
|
"versionType": "semver"
|
|
},
|
|
{
|
|
"version": "5.15.83",
|
|
"lessThanOrEqual": "5.15.*",
|
|
"status": "unaffected",
|
|
"versionType": "semver"
|
|
},
|
|
{
|
|
"version": "6.0.13",
|
|
"lessThanOrEqual": "6.0.*",
|
|
"status": "unaffected",
|
|
"versionType": "semver"
|
|
},
|
|
{
|
|
"version": "6.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": "5.2",
|
|
"versionEndExcluding": "5.4.227"
|
|
},
|
|
{
|
|
"vulnerable": true,
|
|
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
|
|
"versionStartIncluding": "5.2",
|
|
"versionEndExcluding": "5.10.159"
|
|
},
|
|
{
|
|
"vulnerable": true,
|
|
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
|
|
"versionStartIncluding": "5.2",
|
|
"versionEndExcluding": "5.15.83"
|
|
},
|
|
{
|
|
"vulnerable": true,
|
|
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
|
|
"versionStartIncluding": "5.2",
|
|
"versionEndExcluding": "6.0.13"
|
|
},
|
|
{
|
|
"vulnerable": true,
|
|
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
|
|
"versionStartIncluding": "5.2",
|
|
"versionEndExcluding": "6.1"
|
|
}
|
|
]
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"references": [
|
|
{
|
|
"url": "https://git.kernel.org/stable/c/585a07b820059462e0c93b76c7de2cd946b26b40"
|
|
},
|
|
{
|
|
"url": "https://git.kernel.org/stable/c/6a4da05acd062ae7774b6b19cef2b7d922902d36"
|
|
},
|
|
{
|
|
"url": "https://git.kernel.org/stable/c/83e3da8bb92fcfa7a1d232cf55f9e6c49bb84942"
|
|
},
|
|
{
|
|
"url": "https://git.kernel.org/stable/c/586847b98e20ab02212ca5c1fc46680384e68a28"
|
|
},
|
|
{
|
|
"url": "https://git.kernel.org/stable/c/24013314be6ee4ee456114a671e9fa3461323de8"
|
|
}
|
|
],
|
|
"title": "drm/shmem-helper: Remove errant put in error path",
|
|
"x_generator": {
|
|
"engine": "bippy-1.2.0"
|
|
}
|
|
},
|
|
"adp": [
|
|
{
|
|
"metrics": [
|
|
{
|
|
"other": {
|
|
"type": "ssvc",
|
|
"content": {
|
|
"id": "CVE-2022-48981",
|
|
"role": "CISA Coordinator",
|
|
"options": [
|
|
{
|
|
"Exploitation": "none"
|
|
},
|
|
{
|
|
"Automatable": "no"
|
|
},
|
|
{
|
|
"Technical Impact": "partial"
|
|
}
|
|
],
|
|
"version": "2.0.3",
|
|
"timestamp": "2024-10-22T13:17:51.238868Z"
|
|
}
|
|
}
|
|
}
|
|
],
|
|
"title": "CISA ADP Vulnrichment",
|
|
"providerMetadata": {
|
|
"orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
|
|
"shortName": "CISA-ADP",
|
|
"dateUpdated": "2024-10-22T13:18:43.723Z"
|
|
}
|
|
}
|
|
]
|
|
}
|
|
} |