CVE-2023-4459: Kernel: vmxnet3: null pointer dereference in vmxnet3_rq_cleanup()

Published Jul 3, 2023
·
Updated

A NULL pointer dereference flaw was found in vmxnet3rqcleanup in drivers/net/vmxnet3/vmxnet3drv.c in networking sub-component in vmxnet3 in the Linux Kernel. In this flaw a local attacker with normal user privilege may lead to a denial of service problem due to a missing sanity check while cleanup.

In vmxnet3rqcreate(), when dmaalloccoherent() fails, vmxnet3rqdestroy() is called. It sets rq->rxring[i].base to NULL. Then vmxnet3rqcreate() returns an error to its callers mxnet3rqcreateall() -> vmxnet3changemtu(). Then vmxnet3changemtu() calls vmxnet3forceclose() -> devclose() in error handling code. And the driver calls vmxnet3close() -> vmxnet3quiescedev() -> vmxnet3rqcleanupall() -> vmxnet3rqcleanup(). In vmxnet3rqcleanup(), rq->rxring[ringidx].base is accessed, but this variable is NULL, causing a NULL pointer dereference.

References: https://github.com/torvalds/linux/commit/edf410cb74dc612fd47ef5be319c5a0bcd6e6ccd

Other sources

A NULL pointer dereference flaw was found in vmxnet3rqcleanup in drivers/net/vmxnet3/vmxnet3drv.c in the networking sub-component in vmxnet3 in the Linux Kernel. This issue may allow a local attacker with normal user privilege to cause a denial of service due to a missing sanity check during cleanup.

— Launchpad

Affected Software

5 affected componentsFixes available
Linux Linux kernel<5.18
redhat Enterprise Linux=8.0
redhat Enterprise Linux=9.0
debian/linux
5.10.223-15.10.234-16.1.129-16.1.135-16.12.25-1
redhat/kernel<5.18
5.18

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade debian/linux to a version that resolves this vulnerability.

    Fixed in 5.10.223-1Fixed in 5.10.234-1Fixed in 6.1.129-1Fixed in 6.1.135-1Fixed in 6.12.25-1
  2. Upgrade

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

    Fixed in 5.18
  3. Upgrade

    Upgrade to a fixed release to a version that resolves this vulnerability.

    Patch edf410cb74dc612fd47ef5be319c5a0bcd6e6ccd

Event History

Jul 3, 2023
Data Sourced
via Red Hat·07:02 AM
DescriptionSeverityAffected Software
Aug 21, 2023
CVE Published
via MITRE·06:49 PM
Data Sourced
via MITRE·06:49 PM
DescriptionSeverityWeakness
Data Sourced
via NVD·07:15 PM
RemedyDescriptionSeverityWeaknessAffected Software

Frequently Asked Questions

1

What is the severity of CVE-2023-4459?

CVE-2023-4459 has been rated as a medium severity vulnerability due to its potential to cause denial of service.

2

How do I fix CVE-2023-4459?

To fix CVE-2023-4459, upgrade to the recommended kernel versions specified for your distribution.

3

Who is affected by CVE-2023-4459?

CVE-2023-4459 affects users of specific Linux kernels including those on Red Hat and Debian systems.

4

What type of vulnerability is CVE-2023-4459?

CVE-2023-4459 is classified as a NULL pointer dereference vulnerability.

5

Can CVE-2023-4459 be exploited by non-privileged users?

Yes, CVE-2023-4459 can potentially be exploited by local attackers with normal user privileges.

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