Skip to main content

Linux Kernel CVE-2026-63878

| EUVDEUVD-2026-45763 MEDIUM
2026-07-19 Linux GHSA-7q2q-cf6q-6c84
5.5
CVSS 3.1 · NVD
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Gain local access as unprivileged user
  2. Exploit
    Open amdgpu DRM device node
  3. Execution
    Issue GEM_OP GET_MAPPING_INFO ioctl with oversized num_entries
  4. Impact
    Oversized kvcalloc trips kernel WARNING/panic (DoS)

Vulnerability Assessment

Exploitation Conditions

Requires local access to an AMD GPU system running the amdgpu driver and the ability to open its DRM device node (typically membership in the render/video group or equivalent local privilege - PR:L), then invoke the GEM_OP ioctl with sub-operation GET_MAPPING_INFO supplying a num_entries value whose product with sizeof(drm_amdgpu_gem_vm_entry)=32 bytes exceeds INT_MAX. Limiting factors: exploitation is purely local (no network vector), needs AMD GPU hardware and the amdgpu driver loaded, and the most severe outcome - a kernel panic - only occurs on kernels built with CONFIG_PANIC_ON_WARN=y; on default builds the result is a one-time WARNING and TAINT_WARN rather than a crash. Impact is availability-only; there is no confidentiality or integrity effect.

Impact

This is a genuine but low-urgency defect whose signals are internally consistent and point to a moderate, local denial-of-service rather than a high-priority threat. The CVSS 3.1 vector (AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H, base 5.5) correctly reflects a local, low-complexity, low-privilege availability-only bug: an unprivileged user with access to the amdgpu DRM device can trigger a kernel WARNING/taint and, on CONFIG_PANIC_ON_WARN=y systems, a panic. All independent signals agree with this low-priority reading: EPSS is 0.20% (10th percentile), the CVE is NOT in CISA KEV, and no POC or exploit reference is present in the input - so exploitation status is 'no public exploit identified at time of analysis.' The vuln.today decision label is 'this_month,' i.e. routine scheduled patching, not act_now or emergency. One data-quality conflict must be flagged: the input Tags include 'Information Disclosure,' which contradicts the CVSS impact metrics (C:N/I:N, A:H) and the description - the flaw is an unbounded-allocation denial of service, not a disclosure, so the tag should not drive triage. No SSVC automatable/technical-impact fields were supplied, so that framework cannot be cross-referenced here.

Exploit ScenarioDerived

A local, low-privileged user with access to an AMD GPU render/DRM device node issues the GEM_OP GET_MAPPING_INFO ioctl with an attacker-chosen num_entries large enough that num_entries × 32 bytes exceeds INT_MAX, which forces an oversized kvcalloc and trips a kernel WARNING and taint. On hosts built with CONFIG_PANIC_ON_WARN=y this escalates to a full kernel panic (denial of service). No public exploit code is identified in the provided sources; exploitation requires only local access and low privileges (AV:L/AC:L/PR:L).

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
Patch available 0.2% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Oct 30, 2026

An unchecked allocation size in the Linux kernel's amdgpu DRM driver lets a local user who can open the GPU's DRM device node pass a user-controlled num_entries value to the GEM_OP GET_MAPPING_INFO ioctl, producing a kvcalloc() request larger than INT_MAX and tripping a kernel WARNING plus TAINT_WARN. On kernels built with CONFIG_PANIC_ON_WARN=y that warning escalates to a kernel panic, so the realistic impact is a local availability disruption rather than data exposure or corruption. This requires local access, AMD GPU hardware with the amdgpu driver loaded, and privileges sufficient to reach the DRM device node (PR:L); EPSS is only 0.20% (10th percentile), there is no CISA KEV entry, and no public exploit code has been identified at time of analysis.

RemediationAI

Vendor-released patch: the upstream fix (cherry-picked from 1fe7bf5457f6efd7be60b17e23163ba54341d73d) is published in the stable trees as 6.18.35, 7.0.12 and 7.1, so upgrading the kernel to any of those or later resolves the defect; Ubuntu users should apply USN-8593-1 (https://ubuntu.com/security/notices/USN-8593-1) and confirm the running kernel matches the installed one after reboot. Because the fix simply adds an upper-bound check that returns -EINVAL for oversized num_entries, there is no configuration toggle that removes the bug. Where patching must be deferred, the exposure is bounded by the prerequisites themselves: the ioctl is only reachable by local users who can open the amdgpu DRM device nodes, so tightening permissions on /dev/dri/card* and /dev/dri/renderD* to trusted groups reduces the set of triggering users, at the cost of removing unprivileged GPU compute or graphics access for those accounts. In addition, kernels built without CONFIG_PANIC_ON_WARN=y degrade the worst case from a system panic to a single WARNING with TAINT_WARN, so avoiding that build option on AMD GPU hosts containing the unpatched driver limits the availability impact, though it also removes panic-on-warn behavior the operator may rely on for other diagnostics.

Affected VersionsENISA

Linux 4d82724f7f2b847eb0454b1aab5450545b39abd4 <f059b4c493df3e54fe3ffe4658009c31864275da
Linux patch: 7.0.12
Linux patch: 0
Linux patch: 6.18.35
Linux 4d82724f7f2b847eb0454b1aab5450545b39abd4 <a1ba4594232c87c3b8defd6f89a2e40f8b08395d
Linux 6.18
Linux 4d82724f7f2b847eb0454b1aab5450545b39abd4 <967a00b8e06a7734aded23861faba9ee2462be87
Linux patch: 7.1

Affected Packages

euvd linux no fix

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

The flaw sits in amdgpu_gem.c, where the GEM_OP ioctl sub-operation GET_MAPPING_INFO allocates an array of drm_amdgpu_gem_vm_entry structures (32 bytes each) using kvcalloc(args->num_entries, sizeof(*vm_entries), GFP_KERNEL). The num_entries field arrives as a __u32 straight from userspace and was never bounded before the allocation, so a value above roughly 67 million makes the requested byte count exceed INT_MAX. The kernel's kvmalloc path reacts to such oversized requests with a WARNING in __kvmalloc_node_noprof(), which taints the kernel and, on builds configured with CONFIG_PANIC_ON_WARN=y, converts the diagnostic into a full system panic. The root-cause class is a missing size/upper-bound validation on a user-supplied length before an allocation (unchecked integer overflow into an allocator), and the fix inserts an explicit bounds check that rejects oversized num_entries early with -EINVAL before kvzalloc() is reached. Because the CVSS vector is AV:L/PR:L, both the access path and the required privilege are local; the driver is only reachable on systems with an AMD GPU bound to amdgpu.

Know when the next one hits your stack

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

NVD PRIMARY 5.5 MEDIUM
AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
vuln.today AI 5.5 MEDIUM

Local DRM ioctl by a low-privileged user with device access gives AV:L/AC:L/PR:L/UI:N; impact is denial of service only, so C:N/I:N/A:H.

3.1 AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
4.0 AV:L/AC:L/AT:N/PR:L/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N
Red Hat 5.5 MEDIUM

Primary rating from NVD.

CVSS VectorNVD

Attack Vector
Local
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Unchanged
Confidentiality
None
Integrity
None
Availability
High

Lifecycle Timeline

4
CVSS changed
Oct 30, 2026 - 14:52 NVD
5.5 (MEDIUM)
Patch available
Jul 19, 2026 - 17:19 EUVD
CVE Published
Jul 19, 2026 - 14:54 cve.org
UNKNOWN (no severity yet)
CVE Published
Jul 19, 2026 - 14:54 nvd
MEDIUM 5.5

DescriptionNVD

In the Linux kernel, the following vulnerability has been resolved:

drm/amdgpu: check num_entries in GEM_OP GET_MAPPING_INFO

kvcalloc(args->num_entries, sizeof(*vm_entries), GFP_KERNEL) at amdgpu_gem.c:1050 uses the user-supplied num_entries directly without any upper bounds check. Since num_entries is a __u32 and sizeof(drm_amdgpu_gem_vm_entry) is 32 bytes, a large num_entries produces an allocation exceeding INT_MAX, triggering WARNING in __kvmalloc_node_noprof(), causing a kernel WARNING, TAINT_WARN, and panic on CONFIG_PANIC_ON_WARN=y systems.

Add a size bounds check before we invoke the kvzalloc() to reject oversized num_entries early with -EINVAL.

(cherry picked from commit 1fe7bf5457f6efd7be60b17e23163ba54341d73d)

Threat Intelligence Overview

EPSS Score
0.2%
Top 90% exploitable
Prevalence
High
amdgpu is a mainline Linux kernel driver; requires AMD GPU hardware present
Data Quality
4 sources
Confidence: Medium

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity MEDIUM
CISA KEV No
Public POC No
EPSS 0.2%
Patch available Yes
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Defer
Exploitation· derived
None
System Exposure· derived
Small
Automatable· derived
No
Human Impact· derived
Medium

Priority Score

28
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +28
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Denial of Service attacks render applications or systems unavailable by overwhelming resources or triggering failure conditions.

Vendor StatusVendor

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy