Files
vuln-cve/data/2024/42xxx/CVE-2024-42275.json
T

172 lines
8.8 KiB
JSON

{
"dataType": "CVE_RECORD",
"dataVersion": "5.2",
"cveMetadata": {
"cveId": "CVE-2024-42275",
"assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
"state": "PUBLISHED",
"assignerShortName": "Linux",
"dateReserved": "2024-07-30T07:40:12.261Z",
"datePublished": "2024-08-17T08:54:28.902Z",
"dateUpdated": "2026-08-05T11:36:15.323Z"
},
"containers": {
"cna": {
"providerMetadata": {
"orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
"shortName": "Linux",
"dateUpdated": "2026-08-05T11:36:15.323Z"
},
"descriptions": [
{
"lang": "en",
"value": "In the Linux kernel, the following vulnerability has been resolved:\n\ndrm/client: Fix error code in drm_client_buffer_vmap_local()\n\nThis function accidentally returns zero/success on the failure path.\nIt leads to locking issues and an uninitialized *map_copy in the\ncaller."
}
],
"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 only through local interfaces — writes/mmap to the fbdev device node or console output driving the damage worker, plus DRM GEM allocations to induce the vmap/pin failure. There is no remote or adjacent-network input.\nAC:L - Both preconditions are under the attacker's control: the failing `drm_gem_vmap()` is reliably produced by exhausting system memory or VRAM through the render node, and the damage blit is triggered on demand by writing to `/dev/fb0`. No condition depends on state the attacker cannot influence.\nPR:L - An ordinary local account with the usual graphics access (fbdev/DRM render node, e.g. the video/render/graphics groups on desktops, Android and embedded systems) suffices; no CAP_SYS_ADMIN or root is required anywhere on the path.\nUI:N - The attacker drives the entire sequence from its own process — allocate to force the vmap failure, then dirty the framebuffer; the damage worker also fires automatically on console updates. No victim action is needed.\nS:U - The corruption stays within the kernel's own security authority; there is no VM, IOMMU, or sandbox boundary crossed by the failed mapping or the reservation-lock imbalance.\nC:H - The uninitialized `iosys_map` write and the released-but-still-assumed-held reservation lock give memory corruption plus a race window where a BO can be moved/evicted mid-blit, which is leverageable for disclosure of arbitrary kernel memory.\nI:H - A loop of `memcpy` writes of fully userspace-controlled shadow-framebuffer bytes lands at an uninitialized kernel pointer (or MMIO address), which with stack grooming is an arbitrary-write primitive suitable for control-flow hijack.\nA:H - The write through the garbage pointer causes an immediate oops/panic (a guaranteed NULL-deref on `INIT_STACK_ALL_ZERO` builds), and the extra `dma_resv_unlock()` corrupts ww_mutex state, leading to warnings, stolen locks and deadlocks."
}
]
}
],
"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_client.c"
],
"versions": [
{
"version": "b4b0193e83cb987143583e2b4011b35331f429bd",
"lessThan": "c0f412961653237f52e2f16ee8747fb330bcf074",
"status": "affected",
"versionType": "git"
},
{
"version": "b4b0193e83cb987143583e2b4011b35331f429bd",
"lessThan": "b5fbf924f125ba3638cfdc21c0515eb7e76264ca",
"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_client.c"
],
"versions": [
{
"version": "6.10",
"status": "affected"
},
{
"version": "0",
"lessThan": "6.10",
"status": "unaffected",
"versionType": "semver"
},
{
"version": "6.10.4",
"lessThanOrEqual": "6.10.*",
"status": "unaffected",
"versionType": "semver"
},
{
"version": "6.11",
"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.10",
"versionEndExcluding": "6.10.4"
},
{
"vulnerable": true,
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
"versionStartIncluding": "6.10",
"versionEndExcluding": "6.11"
}
]
}
]
}
],
"references": [
{
"url": "https://git.kernel.org/stable/c/c0f412961653237f52e2f16ee8747fb330bcf074"
},
{
"url": "https://git.kernel.org/stable/c/b5fbf924f125ba3638cfdc21c0515eb7e76264ca"
}
],
"title": "drm/client: Fix error code in drm_client_buffer_vmap_local()",
"x_generator": {
"engine": "bippy-1.2.0"
}
},
"adp": [
{
"metrics": [
{
"other": {
"type": "ssvc",
"content": {
"id": "CVE-2024-42275",
"role": "CISA Coordinator",
"options": [
{
"Exploitation": "none"
},
{
"Automatable": "no"
},
{
"Technical Impact": "partial"
}
],
"version": "2.0.3",
"timestamp": "2024-09-10T16:11:58.568874Z"
}
}
}
],
"title": "CISA ADP Vulnrichment",
"providerMetadata": {
"orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
"shortName": "CISA-ADP",
"dateUpdated": "2024-09-12T17:33:31.871Z"
}
}
]
}
}