CVE-2015-7513: Divide by Zero

Published Nov 24, 2015
·
Updated

arch/x86/kvm/x86.c in the Linux kernel before 4.4 does not reset the PIT counter values during state restoration, which allows guest OS users to cause a denial of service (divide-by-zero error and host OS crash) via a zero value, related to the kvmvmioctlsetpit and kvmvmioctlsetpit2 functions.

Other sources

Linux kernel built with the KVM virtualisation support(CONFIGKVM) is vulnerable to a divide by zero issue. It occurs in the KVM module's Programmable Interval Timer(PIT) emulation, when PIT counters for channel 1 or 2 are set to zero(0) and a privileged user inside guest attempts to read those.

A privileged guest user with access to PIT I/O ports, could use this issue to crash the host kernel resulting in DoS.

Upstream patch: --------------- -> https://git.kernel.org/linus/0185604c2d82c560dab2f2933a18f797e74ab5a8

Reference: ---------- -> http://www.openwall.com/lists/oss-security/2016/01/07/2 -> http://wiki.osdev.org/ProgrammableIntervalTimer -> http://www.osdever.net/bkerndev/Docs/pit.htm

Red Hat

Affected Software

17 affected componentsFixes available
Linux Linux kernel<4.4
Linux Linux kernel=4.4
Linux Linux kernel=4.4-rc1
Linux Linux kernel=4.4-rc2
Linux Linux kernel=4.4-rc3
Linux Linux kernel=4.4-rc4
Linux Linux kernel=4.4-rc5
Linux Linux kernel=4.4-rc6
Debian Debian Linux=7.0
Debian Debian Linux=8.0
Fedoraproject Fedora=22
Fedoraproject Fedora=23
Canonical Ubuntu Linux=12.04
Canonical Ubuntu Linux=14.04
Canonical Ubuntu Linux=15.04
Canonical Ubuntu Linux=15.10
debian/linux
5.10.223-15.10.234-16.1.129-16.1.135-16.12.25-1

Event History

Nov 24, 2015
Data Sourced
via Red Hat·10:47 AM
DescriptionSeverityAffected Software
Feb 8, 2016
CVE Published
via MITRE·02:00 AM
Data Sourced
via MITRE·02:00 AM
Description
Jan 11, 2024
Data Sourced
via Launchpad·10:12 PM
Description
Sep 16, 2024
Data Sourced
via Ubuntu·01:09 AM
RemedyDescriptionSeverityAffected Software
Feb 23, 2025
Data Sourced
via Debian·03:16 AM
DescriptionAffected Software

Frequently Asked Questions

1

What is the vulnerability ID for this vulnerability?

The vulnerability ID for this vulnerability is CVE-2015-7513.

2

What is the severity level of CVE-2015-7513?

CVE-2015-7513 has a severity level of medium (4).

3

How does CVE-2015-7513 impact the Linux kernel?

CVE-2015-7513 allows guest OS users to cause a denial of service (divide-by-zero error and host OS crash) via a zero value.

4

Which versions of the Linux kernel are affected by CVE-2015-7513?

The Linux kernel versions before 4.4 are affected by CVE-2015-7513.

5

Are there any known solutions or remedies for CVE-2015-7513?

Yes, updating to Linux kernel version 4.4~ or later can mitigate CVE-2015-7513.

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