CWE
190
Advisory Published
Updated

CVE-2018-12896: Integer Overflow

First published: Mon Jul 02 2018(Updated: )

An issue was discovered in the Linux kernel through 4.17.3. An Integer Overflow in kernel/time/posix-timers.c in the POSIX timer code is caused by the way the overrun accounting works. Depending on interval and expiry time values, the overrun can be larger than INT_MAX, but the accounting is int based. This basically makes the accounting values, which are visible to user space via timer_getoverrun(2) and siginfo::si_overrun, random. For example, a local user can cause a denial of service (signed integer overflow) via crafted mmap, futex, timer_create, and timer_settime system calls.

Credit: cve@mitre.org

Affected SoftwareAffected VersionHow to fix
debian/linux
5.10.223-1
5.10.226-1
6.1.123-1
6.1.128-1
6.12.12-1
6.12.16-1
Linux kernel<=4.17.3
Debian=8.0
Ubuntu=12.04
Ubuntu=14.04
Ubuntu=16.04
Ubuntu=18.04

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.

Frequently Asked Questions

  • What is the severity of CVE-2018-12896?

    CVE-2018-12896 is classified as a high-severity vulnerability due to its potential for integer overflow leading to system instability.

  • How do I fix CVE-2018-12896?

    To fix CVE-2018-12896, upgrade to a patched version of the Linux kernel, specifically 5.10.223-1, 5.10.226-1, 6.1.123-1, or later.

  • Which versions of the Linux kernel are affected by CVE-2018-12896?

    CVE-2018-12896 affects Linux kernel versions up to and including 4.17.3.

  • What systems are vulnerable to CVE-2018-12896?

    Systems using vulnerable versions of the Linux kernel include various distributions of Debian and Ubuntu Linux.

  • Can CVE-2018-12896 be exploited remotely?

    CVE-2018-12896 could potentially be exploited locally, but it requires specific conditions related to POSIX timers.

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