CVE-2024-42275
published high CVSS 3.1 · 7.8drm/client: Fix error code in drm_client_buffer_vmap_local()
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Linux | — | Linuxb4b0193e83cb987143583e2b4011b35331f429bd to < c0f412961653237f52e2f16ee8747fb330bcf074 · b4b0193e83cb987143583e2b4011b35331f429bd to < b5fbf924f125ba3638cfdc21c0515eb7e76264ca · Other versions: unaffected | Affected | Not stated | Linux |
| Linux | — | Linux6.10 (affected) · 0 to < 6.10 (unaffected · semver) · 6.10.4 through 6.10.* (unaffected · semver) · 6.11 and later (unaffected · original_commit_for_fix) · Other versions: affected | Version-specific | Not stated | Linux |
| Amazon Linux | AL2 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
| Amazon Linux | AL2023 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
Description
In the Linux kernel, the following vulnerability has been resolved: drm/client: Fix error code in drm_client_buffer_vmap_local() This function accidentally returns zero/success on the failure path. It leads to locking issues and an uninitialized *map_copy in the caller.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 7.8 / 10
- Severity
- high
- Provider
- Linux · cna
- Vector string
- CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- Scenarios
- en: 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. AC: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. PR: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. UI: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. S: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. C: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. I: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. A: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.
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Linux | Linux | b4b0193e83cb987143583e2b4011b35331f429bd to < c0f412961653237f52e2f16ee8747fb330bcf074 (affected · git)b4b0193e83cb987143583e2b4011b35331f429bd to < b5fbf924f125ba3638cfdc21c0515eb7e76264ca (affected · git)Default: unaffected | Linux · cna |
| Linux | Linux | 6.10 (affected)0 to < 6.10 (unaffected · semver)6.10.4 through 6.10.* (unaffected · semver)6.11 and later (unaffected · original_commit_for_fix)Default: affected | Linux · cna |
Weaknesses
0No weakness assertions.
References
2Provider assertions
2Linux · cna
drm/client: Fix error code in drm_client_buffer_vmap_local()
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- cd317ed93adecbf386da59f659f0418ef9a5475eb46f494b3416b1f11d26d4eb
- Ingested
- 23 Sep 2026, 08:26:31 UTC
- Source record
- Official CVE record