CWE
476
Advisory Published
CVE Published
Updated

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

First published: Mon Jul 03 2023(Updated: )

A NULL pointer dereference flaw was found in vmxnet3_rq_cleanup in drivers/net/vmxnet3/vmxnet3_drv.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 vmxnet3_rq_create(), when dma_alloc_coherent() fails, vmxnet3_rq_destroy() is called. It sets rq-&gt;rx_ring[i].base to NULL. Then vmxnet3_rq_create() returns an error to its callers mxnet3_rq_create_all() -&gt; vmxnet3_change_mtu(). Then vmxnet3_change_mtu() calls vmxnet3_force_close() -&gt; dev_close() in error handling code. And the driver calls vmxnet3_close() -&gt; vmxnet3_quiesce_dev() -&gt; vmxnet3_rq_cleanup_all() -&gt; vmxnet3_rq_cleanup(). In vmxnet3_rq_cleanup(), rq-&gt;rx_ring[ring_idx].base is accessed, but this variable is NULL, causing a NULL pointer dereference. References: <a href="https://github.com/torvalds/linux/commit/edf410cb74dc612fd47ef5be319c5a0bcd6e6ccd">https://github.com/torvalds/linux/commit/edf410cb74dc612fd47ef5be319c5a0bcd6e6ccd</a>

Credit: secalert@redhat.com secalert@redhat.com secalert@redhat.com

Affected SoftwareAffected VersionHow to fix
Linux Linux kernel<5.18
Redhat Enterprise Linux=8.0
Redhat Enterprise Linux=9.0
redhat/Kernel<5.18
5.18
debian/linux
5.10.223-1
5.10.226-1
6.1.123-1
6.1.119-1
6.12.6-1
6.12.9-1

Never miss a vulnerability like this again

Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.

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.
© 2025 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203