Skip to main content

Linux Kernel CVE-2023-2008

HIGH
Improper Validation of Array Index (CWE-129)
2023-04-14 secalert@redhat.com
8.2
CVSS 3.1 · NVD
View

Attack ChainAIDerived

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

  1. Access
    Obtain local high-privilege access
  2. Delivery
    Open and mmap /dev/udmabuf region
  3. Exploit
    Trigger page fault beyond allocated page count
  4. Execution
    Exploit out-of-bounds array access in fault handler
  5. Persist
    Execute arbitrary code in kernel context
  6. Impact
    Achieve full system compromise

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V2 - Validation and Business Logic Array index validation
Exploitation Conditions

Exploitation requires local system access and high privileges - specifically, the ability to open and memory-map the udmabuf device (/dev/udmabuf), which on most Linux distributions requires CAP_SYS_ADMIN or explicit group-based device permissions. The attacker must be able to trigger a page fault at a page offset that meets or exceeds the buffer's allocated page count (vmf->pgoff >= ubuf->pagecount). Remote exploitation is excluded by the AV:L CVSS metric. The udmabuf driver is compiled into many mainstream distribution kernels by default, so no non-default kernel build configuration is required - but the high privilege prerequisite (PR:H) limits exploitation to users or processes that already hold elevated capabilities, significantly reducing the realistic threat surface compared to the raw CVSS score might suggest.

Impact

CVSS scores this at 8.2 (High) with AV:L/AC:L/PR:H - local access and high privileges are both required, which substantially constrains the realistic attacker population to already-privileged local users or processes. The EPSS score of 1.01% (59th percentile) reflects a moderate exploitation likelihood that does not suggest active mass exploitation. The vulnerability is absent from CISA KEV, and no confirmed public POC has been identified, though ZDI published advisory ZDI-23-441, indicating security-researcher-level characterization. The S:C (scope change) metric accurately reflects that successful exploitation escapes from user space to kernel context, enabling full system compromise - a meaningful escalation even from a high-privilege starting point. No conflict is observed between the CVSS vector and the description: both consistently indicate a local, high-privilege prerequisite. Patch availability via upstream kernel commit and multiple Red Hat RHSA errata significantly reduces the residual risk window for patched enterprise deployments.

Exploit ScenarioDerived

A local attacker holding high privileges - such as CAP_SYS_ADMIN or membership in a group with access to /dev/udmabuf - opens the device, creates a udmabuf-backed memory mapping, and triggers a page fault at a page offset beyond the buffer's allocated page count. The unvalidated offset is passed directly into the pages array index in udmabuf_vm_fault(), resulting in an out-of-bounds memory access that yields a kernel read/write primitive. No public proof-of-concept has been identified at time of analysis.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
Patch available 1.0% exploitation probability (EPSS)

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

Alert me

AnalysisAIv1 – Aug 10, 2026

Privilege escalation to kernel-level code execution is possible via the Linux kernel's udmabuf device driver, where the VM fault handler (udmabuf_vm_fault) directly indexes into a pages array using the user-influenced page offset vmf->pgoff without validating it against the allocated page count. This CWE-129 (improper array index validation) flaw allows a local attacker with high privileges to trigger an out-of-bounds memory access, enabling arbitrary kernel code execution. No public exploit or CISA KEV listing was identified at time of analysis; EPSS sits at 1.01% (59th percentile), and the upstream fix is confirmed via a torvalds/linux commit and multiple Red Hat RHSA errata.

RemediationAI

Apply the upstream Linux kernel patch at commit 05b252cc (https://github.com/torvalds/linux/commit/05b252cccb2e5c3f56119d25de684b4f810ba4), which introduces bounds checking in udmabuf_vm_fault(). Red Hat Enterprise Linux users should apply the applicable errata - RHSA-2022:7933, RHSA-2022:8267, RHSA-2023:3465, RHSA-2023:3470, or RHSA-2023:3490 - depending on their installed RHEL version (https://access.redhat.com/security/cve/CVE-2023-2008). NetApp customers should consult https://security.netapp.com/advisory/ntap-20230517-0007/ for product-specific guidance. An exact fixed upstream kernel release version number is not independently confirmed from the available data beyond the commit reference. As a compensating control where immediate patching is not feasible, removing the udmabuf kernel module (modprobe -r udmabuf) or restricting /dev/udmabuf permissions via udev rules will prevent exploitation; the trade-off is disabling userspace DMA buffer sharing functionality, which may break applications (such as certain virtualization or GPU workloads) that depend on the udmabuf interface.

Affects your stack

Find out whether the stacks and servers you run are on an affected version.

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

Technical ContextAI · show details

The udmabuf driver (drivers/dma-buf/udmabuf.c) implements a DMA buffer sharing mechanism that lets userspace create DMA buffers backed by memfd memory. Its fault handler udmabuf_vm_fault() is invoked on page faults for memory-mapped udmabuf regions. The root cause is CWE-129 (Improper Validation of Array Index): the handler used vmf->pgoff - a user-influenced page fault offset - directly to index into ubuf->pages[] without checking whether the offset was within the allocated page count (ubuf->pagecount). The upstream fix (commit 05b252cc) introduces a single bounds check: if (pgoff >= ubuf->pagecount) return VM_FAULT_SIGBUS;. Affected CPEs span multiple Linux kernel release series (cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*), with explicit NVD entries covering kernel 5.19, 5.19-rc1, 5.19-rc2, and 5.19-rc3.

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 8.2 HIGH
AV:L/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:H
vuln.today AI 8.2 HIGH

Local vector confirmed by device-access requirement; PR:H reflects udmabuf device privilege prerequisite; S:C captures user-to-kernel scope escalation with full CIA impact.

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

Primary rating from NVD.

CVSS VectorNVD

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

Lifecycle Timeline

3
Analysis Updated
Aug 10, 2026 - 18:29 vuln.today
v1 - CVSS changed
CVSS changed
Aug 10, 2026 - 18:22 NVD
7.8 (HIGH) 8.2 (HIGH)
CVE Published
Apr 14, 2023 - 21:15 nvd
HIGH 7.8

DescriptionNVD

A flaw was found in the Linux kernel's udmabuf device driver. The specific flaw exists within a fault handler. The issue results from the lack of proper validation of user-supplied data, which can result in a memory access past the end of an array. An attacker can leverage this vulnerability to escalate privileges and execute arbitrary code in the context of the kernel.

Executive ViewAI

Why It Matters

A critical Linux kernel vulnerability (CVE-2023-2008, CVSS 8.2) allows local administrative users to escalate privileges to kernel-level code execution, potentially enabling complete system compromise. No public exploit identified at time of analysis; however, the vulnerability represents material risk for organizations where system administrators or privileged accounts could be compromised. Vendor patches are available and should be deployed across all Linux infrastructure.

Business Impact: High
Compensating Controls

Apply vendor patch. Interim mitigations include restricting high-privilege user access to affected systems and disabling the udmabuf kernel module if not required for operations.

Threat Intelligence Overview

EPSS Score
1.0%
Top 41% exploitable
Prevalence
Ubiquitous
Linux kernel underlies virtually all Linux-based production infrastructure worldwide.
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 HIGH
CISA KEV No
Public POC No
EPSS 1.0%
Patch available Yes
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.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
Scheduled
Exploitation· derived
None
System Exposure· derived
Small
Automatable· derived
No
Human Impact
High

Priority Score

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

Attack Technique

Remote Code Execution represents the critical moment when an attacker successfully runs arbitrary code on a target system without physical access.

Affected Products (CPE)NVD

cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:5.19:-:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:5.19:rc1:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:5.19:rc2:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:5.19:rc3:*:*:*:*:*:*

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