Integer overflow in Linux Kernel
CVE-2018-12896
- CVSS v3
- 5.5 Medium
- Public exploits
- None known
- EPSS
- 0.006 · 50.7th percentile
- Published
- 2018-07-02
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.
Vulnerability class: Integer Overflow
Published · last modified .
CVSS v3 metric
CVSS v3 base score 5.5 (Medium). Vector: CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H.
- Attack Vector
- Local
AV:L - Attack Complexity
- Low
AC:L - Privileges Required
- Low
PR:L - User Interaction
- None
UI:N - Scope
- Unchanged
S:U - Confidentiality
- None
C:N - Integrity
- None
I:N - Availability
- High
A:H
EPSS exploit prediction
EPSS 0.006, 50.7th percentile (last changed ); unchanged over 30 days. About EPSS.
Affected products
- Linux Kernel
- Canonical Ubuntu Linux — versions 12.04, 14.04, 16.04
- Debian Linux — versions 8.0
Weakness classification (CWE)
References
- bugzilla.kernel.org/show_bug.cgi (Issue Tracking, Vendor Advisory)
- USN-3848-2 (vendor-advisory, Third Party Advisory)
- USN-3847-1 (vendor-advisory, Third Party Advisory)
- github.com/torvalds/linux/commit/78c9c4dfbf8c04883941445a195276bb4bb92c76 (Patch, Third Party Advisory)
- USN-3847-2 (vendor-advisory, Third Party Advisory)
- USN-3849-1 (vendor-advisory, Third Party Advisory)
- USN-3849-2 (vendor-advisory, Third Party Advisory)
- USN-3848-1 (vendor-advisory, Third Party Advisory)
- USN-3847-3 (vendor-advisory, Third Party Advisory)
- github.com/lcytxw/bug_repro/tree/master/bug_200189 (Exploit, Third Party Advisory)