CVE-2023-2008

Kernel: udmabuf: improper validation of array index leading to local privilege escalation

8.2 high EPSS 0.82%

Published 14 Apr 2023 Updated 10 Aug 2026 CNA: redhat

Description

A flaw was found in the Linux kernel's udmabuf device driver, within a fault handler. This issue occurs due to the lack of proper validation of user-supplied data, which can result in memory access past the end of an array. This may allow an attacker to escalate privileges and execute arbitrary code in the context of the kernel.

Severity (CVSS)

8.2 high CVSS 3.1 from redhat (CNA)
CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:H
Attack vector
local: the attacker needs local access, or a user has to open a prepared file
Attack complexity
low: an attack works without special conditions
Privileges required
high: the attacker needs an administrative account
User interaction
none: nobody has to click or open anything
Scope
changed: the damage reaches other components, such as the host of a container or other users
Impact
confidentiality high, integrity high, availability high: what an attacker can read (confidentiality), change (integrity) or stop (availability)
7.8 high CVSS 3.1 from CISA (ADP)
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Attack vector
local: the attacker needs local access, or a user has to open a prepared file
Attack complexity
low: an attack works without special conditions
Privileges required
low: the attacker needs an ordinary user account
User interaction
none: nobody has to click or open anything
Scope
unchanged: the damage stays inside the vulnerable component
Impact
confidentiality high, integrity high, availability high: what an attacker can read (confidentiality), change (integrity) or stop (availability)

Exploitation

EPSS 0.82%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 54.5% of all scored CVEs. Scores of 26 Nov 2026.

The assessment of CISA (SSVC, 23 Apr 2025):

Exploitation
none: CISA did not find evidence of exploitation or a public proof of concept
Automatable
no: each attack takes manual steps
Technical impact
total: full control of the component or of its data

Weakness

  • CWE-129 Improper Validation of Array Index

Affected products

As the CNA lists them.

ProductVersions
kernel
package kernel
affected from 4.20, before 5.4.202
affected from 5.5, before 5.10.127
affected from 5.11, before 5.15.51
affected from 5.16, before 5.18.8
unaffected 5.19
Other versions: unaffected
Red Hat Enterprise Linux 9
package kernel
unaffected 0:5.14.0-162.6.1.el9_1 and later
Other versions: affected
Red Hat Enterprise Linux 9
package kernel-rt
unaffected 0:5.14.0-162.6.1.rt21.168.el9_1 and later
Other versions: affected
Red Hat Enterprise Linux 9
package kernel
unaffected 0:5.14.0-162.6.1.el9_1 and later
Other versions: affected
Red Hat Enterprise Linux 9.0 Extended Update Support
package kernel
unaffected 0:5.14.0-70.58.1.el9_0 and later
Other versions: affected
Red Hat Enterprise Linux 9.0 Extended Update Support
package kernel-rt
unaffected 0:5.14.0-70.58.1.rt21.129.el9_0 and later
Other versions: affected
Red Hat Enterprise Linux 9.0 Extended Update Support
package kpatch-patch
unaffected the record does not list versions
Red Hat Enterprise Linux 6
package kernel
unaffected the record does not list versions
Red Hat Enterprise Linux 7
package kernel
unaffected the record does not list versions
Red Hat Enterprise Linux 7
package kernel-rt
unaffected the record does not list versions
Red Hat Enterprise Linux 8
package kernel
unaffected the record does not list versions
Red Hat Enterprise Linux 8
package kernel-rt
unaffected the record does not list versions

Is my server affected?

Find the installed version of kernel and compare it with the fixed version of your distribution. Distributions often fix a CVE in a package version of their own, so the version number of the upstream project can mislead.

Debian, Ubuntu

dpkg -l | grep -i kernel
# packages whose changelog names the CVE (fixed in the installed version)
zgrep -l CVE-2023-2008 /usr/share/doc/*/changelog.Debian.gz
# Ubuntu
pro fix CVE-2023-2008

RHEL, Rocky, Alma, Fedora

rpm -q kernel
# lists the advisory while the fix is not installed
dnf updateinfo list --cve CVE-2023-2008

Alpine

apk list --installed | grep -i kernel

With Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:

trivy rootfs --scanners vuln / | grep CVE-2023-2008
trivy image --scanners vuln IMAGE | grep CVE-2023-2008

PatchBrief makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Install the agent.

References

Advisories

Other references

Source: the record CVE-2023-2008 of the CVE List (CVE Program), CVE Terms of Use; the CISA KEV catalog and the CISA ADP container; EPSS of FIRST; the CWE catalog of MITRE, CWE Terms of Use. The text of the record is shown as published. Data sources and licences.