CVE-2014-3640: Null Pointer Dereference

Published Sep 21, 2014
·
Updated

The sosendto function in slirp/udp.c in QEMU before 2.1.2 allows local users to cause a denial of service (NULL pointer dereference) by sending a udp packet with a value of 0 in the source port and address, which triggers access of an uninitialized socket.

Other sources

When guest sends udp packet with source port and source addr 0, uninitialized socket is picked up when looking for matching and already created udp sockets, and later passed to sosendto() where NULL pointer dereference is hit during so->slirp->vnetworkmask.saddr access.

Only guests using qemu user networking are affected.

Acknowledgements:

Red Hat would like to thank Xavier Mehrenberger and Stephane Duverger of Airbus for reporting this issue.

Red Hat

Affected Software

22 affected components
Debian Debian Linux=7.0
Qemu Qemu=2.0.0
Qemu Qemu=2.0.0-rc0
Qemu Qemu=2.0.0-rc1
Qemu Qemu=2.0.0-rc2
Qemu Qemu=2.0.0-rc3
Qemu Qemu=2.0.2
Qemu Qemu=2.1.0
Qemu Qemu=2.1.0-rc0
Qemu Qemu=2.1.0-rc1
Qemu Qemu=2.1.0-rc2
Qemu Qemu=2.1.0-rc3
Qemu Qemu=2.1.0-rc5
Qemu Qemu=2.1.1
redhat Enterprise Linux Desktop=7.0
redhat Enterprise Linux Hpc Node=7.0
redhat Enterprise Linux Server=7.0
redhat Enterprise Linux Workstation=7.0
Canonical Ubuntu Linux=10.04
Canonical Ubuntu Linux=12.04
Canonical Ubuntu Linux=14.04
Canonical Ubuntu Linux=14.10

Event History

Sep 21, 2014
Data Sourced
via Red Hat·10:49 AM
DescriptionSeverityAffected Software
Nov 7, 2014
CVE Published
via MITRE·07:00 PM
Data Sourced
via MITRE·07:00 PM
Description

Frequently Asked Questions

1

What is the severity of CVE-2014-3640?

CVE-2014-3640 is classified as a denial of service vulnerability due to a NULL pointer dereference.

2

How do I fix CVE-2014-3640?

To mitigate CVE-2014-3640, you should upgrade QEMU to version 2.1.2 or later.

3

Who is affected by CVE-2014-3640?

CVE-2014-3640 affects QEMU versions prior to 2.1.2 as well as certain versions of Debian and Red Hat Enterprise Linux.

4

What type of vulnerability is CVE-2014-3640?

CVE-2014-3640 is a denial of service vulnerability that can be exploited by sending specially crafted UDP packets.

5

Can CVE-2014-3640 be exploited remotely?

CVE-2014-3640 is primarily a local exploit, as it requires local user access to send crafted UDP packets.

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