Skip to content
OpenAdvisories
High · 7.8 Known exploited Public exploit CVE-2013-2596 EUVD-2013-2538GHSA-xg37-4cgv-wc3c

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 …

Published Apr 13, 2013 · Updated Oct 22, 2025 · Assigned by mitre

Description

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.

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 linux 3.9-1 —
Debian 13 linux 3.9-1 —
Debian 12 linux 3.9-1 —
ReleasePackageFixed inAdvisory
Ubuntu 20.04 LTS linux-raspi2 No fix yet —
Ubuntu 18.04 LTS linux-gcp +6 No fix yet —
Ubuntu 16.04 LTS linux-hwe-edge No fix yet —
ReleasePackageFixed inAdvisory
RHEL 6 perf +16 2.6.32-504.el6 RHSA-2014:1392
RHEL 5 kernel +12 2.6.18-409.el5 RHSA-2016:0450
Show 3 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Red Hat Rhel Mission Critical 6 perf +9 2.6.32-220.60.2.el6 RHSA-2015:0695
RHEL 6.5 EUS perf +16 2.6.32-431.53.2.el6 RHSA-2015:0782
RHEL 6.4 AUS perf +9 2.6.32-358.59.1.el6 RHSA-2015:0803

Public exploits

Exploit or proof-of-concept code for this vulnerability is publicly available, which lowers the bar for attackers. Treat it as a reason to patch sooner.

Third-party code, not reviewed by us. Public PoCs are sometimes fake or contain malware. Read the code first and run it only in an isolated lab, against systems you are authorised to test.

GitHub 1 repository

Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.

Advisories 5

References