CWE
476
Advisory Published
CVE Published
CVE Published
Updated

CVE-2015-8551: Null Pointer Dereference

First published: Mon Dec 07 2015(Updated: )

ISSUE DESCRIPTION ================= Xen PCI backend driver does not perform proper sanity checks on the device's state. Which in turn allows the generic MSI code (called by Xen PCI backend) to be called incorrectly leading to hitting BUG conditions or causing NULL pointer exceptions in the MSI code. To exploit this the guest can craft specific sequence of XEN_PCI_OP_* operations which will trigger this. Furthermore the frontend can also craft an continous stream of XEN_PCI_OP_enable_msi which will trigger an continous stream of WARN() messages triggered by the MSI code leading to the logging in the initial domain to exhaust disk space. Lastly there is also missing check to verify whether the device has memory decoding enabled set at the start of the day leading the initial domain "accesses to the respective MMIO or I/O port ranges would - - on PCI Express devices - [which can] lead to Unsupported Request responses. The treatment of such errors is platform specific." (from XSA-120). Note that if XSA-120 'addendum' patch has been applied this particular sub-issue is not exploitable. IMPACT ====== Malicious guest administrators can cause denial of service. If driver domains are not in use, the impact is a host crash. Only x86 systems are vulnerable. ARM systems are not vulnerable. VULNERABLE SYSTEMS ================== This bug affects systems using Linux as the driver domain, including non-disaggregated systems using Linux as dom0. Linux versions v3.1 and onwards are vulnerable due to supporting PCI pass-through backend driver. PV and HVM guests which have been granted access to physical PCI devices (`PCI passthrough') can take advantage of this vulnerability. Furthermore, the vulnerability is only applicable when the passed-through PCI devices are MSI-capable or MSI-X. (Most modern devices are). MITIGATION ========== Not using PCI passthrough for PV and HVM guests. Note that for HVM guests QEMU is used for PCI passthrough - however the toolstack sets up also the 'PV' PCI which the guest can utilize if it chooses to do so. External References: <a href="http://xenbits.xen.org/xsa/advisory-157.html">http://xenbits.xen.org/xsa/advisory-157.html</a> Acknowledgements: Red Hat would like to thank the Xen project for reporting this issue.

Credit: cve@mitre.org cve@mitre.org

Affected SoftwareAffected VersionHow to fix
ubuntu/linux<3.2.0-97.137
3.2.0-97.137
ubuntu/linux<3.13.0-74.118
3.13.0-74.118
ubuntu/linux<4.4~
4.4~
ubuntu/linux<3.19.0-42.48
3.19.0-42.48
ubuntu/linux<4.2.0-22.27
4.2.0-22.27
ubuntu/linux-armadaxp<3.2.0-1661.85
3.2.0-1661.85
ubuntu/linux-armadaxp<4.4~
4.4~
ubuntu/linux-aws<4.4~
4.4~
ubuntu/linux-ec2<4.4~
4.4~
ubuntu/linux-flo<4.4~
4.4~
ubuntu/linux-fsl-imx51<4.4~
4.4~
ubuntu/linux-gke<4.4~
4.4~
ubuntu/linux-goldfish<4.4~
4.4~
ubuntu/linux-grouper<4.4~
4.4~
ubuntu/linux-hwe<4.4~
4.4~
ubuntu/linux-hwe-edge<4.4~
4.4~
ubuntu/linux-linaro-omap<4.4~
4.4~
ubuntu/linux-linaro-shared<4.4~
4.4~
ubuntu/linux-linaro-vexpress<4.4~
4.4~
ubuntu/linux-lts-quantal<4.4~
4.4~
ubuntu/linux-lts-raring<4.4~
4.4~
ubuntu/linux-lts-saucy<4.4~
4.4~
ubuntu/linux-lts-trusty<3.13.0-74.118~
3.13.0-74.118~
ubuntu/linux-lts-trusty<4.4~
4.4~
ubuntu/linux-lts-utopic<3.16.0-57.77~14.04.1
3.16.0-57.77~14.04.1
ubuntu/linux-lts-utopic<4.4~
4.4~
ubuntu/linux-lts-vivid<3.19.0-42.48~14.04.1
3.19.0-42.48~14.04.1
ubuntu/linux-lts-vivid<4.4~
4.4~
ubuntu/linux-lts-wily<4.2.0-22.27~14.04.1
4.2.0-22.27~14.04.1
ubuntu/linux-lts-wily<4.4~
4.4~
ubuntu/linux-lts-xenial<4.4~
4.4~
ubuntu/linux-maguro<4.4~
4.4~
ubuntu/linux-mako<4.4~
4.4~
ubuntu/linux-manta<4.4~
4.4~
ubuntu/linux-mvl-dove<4.4~
4.4~
ubuntu/linux-qcm-msm<4.4~
4.4~
ubuntu/linux-raspi2<4.4~
4.4~
ubuntu/linux-snapdragon<4.4~
4.4~
ubuntu/linux-ti-omap4<3.2.0-1476.99
3.2.0-1476.99
ubuntu/linux-ti-omap4<4.4~
4.4~
Linux Linux kernel>=3.1<=3.1.10
Linux Linux kernel>=4.3.0<=4.3.6
Debian Debian Linux=7.0
Debian Debian Linux=8.0
openSUSE openSUSE=13.1
SUSE Linux Enterprise Desktop=11-sp4
SUSE Linux Enterprise Desktop=12-sp1
Suse Linux Enterprise Real Time Extension=11-sp4
Suse Linux Enterprise Real Time Extension=12-sp1
SUSE Linux Enterprise Server=11
SUSE Linux Enterprise Server=11-sp4
SUSE Linux Enterprise Server=12-sp1
SUSE Linux Enterprise Software Development Kit=11-sp4
SUSE Linux Enterprise Software Development Kit=12-sp1
Suse Linux Enterprise Workstation Extension=12-sp1
debian/linux
5.10.223-1
6.1.106-3
6.1.99-1
6.10.6-1
6.10.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.

Reference Links

Parent vulnerabilities

(Appears in the following advisories)

Frequently Asked Questions

  • What is the vulnerability ID?

    The vulnerability ID is CVE-2015-8551.

  • What is the severity of CVE-2015-8551?

    The severity of CVE-2015-8551 is medium.

  • What is the affected software for CVE-2015-8551?

    The affected software for CVE-2015-8551 includes Linux versions 3.1.x through 4.3.x when running on an x86 system with Xen as the driver domain.

  • How does CVE-2015-8551 impact the system?

    CVE-2015-8551 can cause a denial of service (NULL pointer dereference and host OS crash) on the host system by leveraging a system with access to a passed-through PCI device.

  • What is the fix for CVE-2015-8551?

    The fix for CVE-2015-8551 is to update the Linux kernel to a version that includes the necessary security patches.

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