CVE-2023-2008: Linux Kernel udmabuf Improper Validation of Array Index Local Privilege Escalation Vulnerability

Published Apr 13, 2023
·
Updated

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.

Other sources

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.

A flaw was found in udmabuf. udmabuf is a linux device driver for user space mappable DMA buffer. Quoting ZDI security advisory [1]:

"This vulnerability allows local attackers to escalate privileges on affected installations of Linux Kernel. An attacker must first obtain the ability to execute high-privileged code on the target system in order to exploit this vulnerability.

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."

[1] https://www.zerodayinitiative.com/advisories/ZDI-23-441/

Red Hat

Affected Software

10 affected componentsFixes available
Linux Linux kernel<5.19
Linux Linux kernel>=4.20<5.4.202
Linux Linux kernel>=5.5<5.10.127
Linux Linux kernel>=5.11<5.15.51
Linux Linux kernel>=5.16<5.18.8
Linux Linux kernel=5.19
Linux Linux kernel=5.19-rc1
Linux Linux kernel=5.19-rc2
Linux Linux kernel=5.19-rc3
redhat/kernel<5.19
5.19

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade redhat/kernel to a version that resolves this vulnerability.

    Fixed in 5.19

Event History

Apr 13, 2023
Advisory Published
via ZDI·12:00 AM
Data Sourced
via ZDI·12:00 AM
DescriptionSeverityAffected Software
Apr 14, 2023
CVE Published
via MITRE·12:00 AM
Data Sourced
via MITRE·12:00 AM
DescriptionSeverityWeakness
Data Sourced
via Red Hat·04:41 PM
DescriptionSeverityAffected Software
Data Sourced
via NVD·09:15 PM
RemedyDescriptionSeverityWeaknessAffected Software

Frequently Asked Questions

1

What is the vulnerability ID for this vulnerability?

The vulnerability ID for this vulnerability is CVE-2023-2008.

2

What is the severity rating of CVE-2023-2008?

CVE-2023-2008 has a severity rating of 8.2 (high).

3

What software is affected by CVE-2023-2008?

Linux Kernel versions up to and including 5.19 are affected by CVE-2023-2008.

4

How can an attacker exploit CVE-2023-2008?

An attacker must first obtain the ability to execute high-privileged code on the target system in order to exploit CVE-2023-2008.

5

Where can I find more information about CVE-2023-2008?

You can find more information about CVE-2023-2008 on the following references: [Reference 1](https://github.com/torvalds/linux/commit/05b252cccb2e5c3f56119d25de684b4f810ba4), [Reference 2](https://www.zerodayinitiative.com/advisories/ZDI-23-441/), [Reference 3](https://access.redhat.com/errata/RHSA-2022:8267).

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203