LiveBreach Intelligence: data breaches, leaks & ransomware, tracked as they surfaceOngoing protection: GalaxyWarden →
Recent BreachesData breach tracker

CVE-2013-2596: Linux Kernel Integer Overflow Vulnerability

RBRecent Breaches Vulnerability Intelligence·Sep 15, 2022
CVSS 7.8 · High⚠ Actively exploited (CISA KEV)
7.8
CVSS score
High
Severity
Active
CISA KEV
No
Ransomware use
Oct 6, 2022
Patch deadline
⚠ Exploited in the wild. CISA added CVE-2013-2596 to its Known Exploited Vulnerabilities catalog on Sep 15, 2022, with a federal patch deadline of Oct 6, 2022 — meaning attackers are actively using it. If you run the affected software, patch it immediately.

Integer overflow in the fb_mmap function in drivers/video/fbmem.c in the Linux kernel before 3.8.9, as used in a certain Motorola build of Android 4.1.2 and other products, allows local users to create a read-write memory mapping for the entirety of kernel memory, and consequently gain privileges, via crafted /dev/graphics/fb0 mmap2 system calls, as demonstrated by the Motochopper pwn program.

CVE-2013-2596 is an integer overflow vulnerability in the Linux kernel's framebuffer memory-mapping code. It resides in the fb_mmap function within drivers/video/fbmem.c and can allow a local attacker to escalate privileges on a vulnerable system. For IT and security teams, this matters because successful exploitation can give an unprivileged process higher privileges, potentially leading to full system compromise on hosts that expose the affected framebuffer interface.

Public detail is limited to the CISA summary and the CWE classification; exact affected kernel versions, configurations, and exploit mechanics must be confirmed against the vendor advisory for your distribution.

How it works

The weakness is classified as CWE-189 (Integer Overflow or Wraparound). In the fb_mmap path, an arithmetic operation on size or offset values can wrap around, producing an incorrect result that is later used for memory mapping or access control decisions. An attacker who can invoke the framebuffer mmap interface with carefully chosen parameters may cause the kernel to map memory in an unintended way, enabling privilege escalation from a local unprivileged context.

No public exploit code or step-by-step mechanics are provided in the available facts. Defenders should treat this as a classic local privilege-escalation integer-overflow issue in kernel video/framebuffer drivers and validate any technical details solely against the vendor advisory and their own kernel source or package notes.

Am I affected? How to find it in your systems

The vulnerability affects the Linux kernel. Systems most likely to be exposed are those that load framebuffer drivers and allow user-space processes to call mmap on framebuffer devices (commonly under /dev/fb*). This includes many desktop, embedded, and some server Linux installations that have video or console framebuffer support enabled.

If your kernel version or configuration is not explicitly listed as fixed in the vendor advisory, treat the host as potentially affected until confirmed otherwise.

How to remediate

The primary remediation is to apply the vendor-supplied kernel update that addresses CVE-2013-2596. CISA's required action is simply to apply updates per vendor instructions. Obtain the patched kernel package from your Linux distribution's official security channel, install it, and reboot into the new kernel.

If you can't patch immediately

Until the vendor update can be installed, reduce exposure with compensating controls appropriate to a local privilege-escalation flaw in the framebuffer path.

These measures lower risk but do not replace the kernel patch; schedule the official update as soon as operationally possible.

If your data may have been exposed

Actively exploited local privilege-escalation vulnerabilities can be used as a stepping stone to broader system compromise and data exposure. The facts do not document ransomware use of this CVE, but any successful privilege escalation should be treated as a potential breach indicator. Investigate affected hosts for unauthorized access, persistence, and data exfiltration. As a quick additional check, you can run a free exposure scan of your email addresses against known breach data sets to see whether credentials or personal information have already appeared in public dumps.

AICompiled with AI assistance from public sources and published under our editorial standards.

Details

AffectedLinux · Kernel
WeaknessCWE-190
CVSS base score7.8 (High)
CVSS vectorCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
PublishedApr 13, 2013
Added to CISA KEVSep 15, 2022
Federal patch deadlineOct 6, 2022
Known ransomware useNot documented
Check if your data is exposed →

References

Official records: NVD · CISA KEV

← All actively-exploited vulnerabilities