CVE-2013-2596
Official description Straight from the sourceThe vendor's or NVD's own wording, published unedited. Authoritative, but often terse — it says what broke, rarely what to do.
NVD · uneditedInteger 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.
Technical summary Written by usOur analysis, written from the advisory, the CVSS vector and the affected-version data. It adds context the advisory leaves out, and never invents facts that are not in the source.
dbcve analysis · high confidenceInteger overflow vulnerability in the fb_mmap function in Linux kernel's drivers/video/fbmem.c (prior to 3.8.9) allows local users to map the entirety of kernel memory read-write via crafted mmap2 system calls on /dev/graphics/fb0, leading to privilege escalation. The flaw lacks proper bounds checking on framebuffer memory mapping parameters.
Verify against the referenced sources before acting — the references below are authoritative for this CVE, this summary is not.
Affected products & versions What the vendor confirmedThe version ranges the vendor confirmed as vulnerable. If your version sits inside a range here, treat yourself as exposed until you have upgraded.
NVD · CPE data>= 2.6.12, < 3.0.75>= 3.1, < 3.2.45>= 3.3, < 3.4.42>= 3.5, < 3.8.9= 4.1.2CVSS breakdown How the score is builtThe industry scoring standard. It rates how the flaw is reached, what it takes to exploit, and what an attacker gains — the score is derived from those, not the other way round.
From the vector- Attack vector
- Local
- Complexity
- Low
- Privileges
- Low
- User interaction
- None
- Scope
- Unchanged
- Confidentiality
- High
- Integrity
- High
- Availability
- High
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Am I affected? How to checkSteps we derive from the advisory and the affected-version data, so you can decide whether this CVE reaches your setup. They are a guide, not a scan — your own configuration is the authority.
dbcve checksWork through these to decide whether this CVE applies to you.
-
Check kernel version against affected rangesRun 'uname -r' or 'cat /proc/version' and compare the version to: >= 2.6.12 and < 3.0.75; >= 3.1 and < 3.2.45; >= 3.3 and < 3.4.42; >= 3.5 and < 3.8.9Affected if The kernel version falls within any of the listed vulnerable ranges AND the system has the framebuffer device accessible
-
Verify framebuffer device existsCheck for existence of /dev/graphics/fb0 (Android) or /dev/fb0 (Linux) using 'ls -la /dev/graphics/fb0' or 'ls -la /dev/fb0'Affected if The framebuffer device exists and is accessible to the user performing the check
-
Check access permissions on framebuffer deviceRun 'ls -la /dev/graphics/fb0' or 'stat /dev/fb0' to view device file permissions and ownershipAffected if The device has read-write permissions for the current user or a group the user belongs to, allowing mmap2 syscalls on it
-
Confirm framebuffer subsystem is in useCheck /sys/class/graphics/ for framebuffer devices or run 'cat /proc/fb' to list active framebuffersAffected if At least one framebuffer device is active and registered with the kernel's fbmem subsystem
A system is affected if it runs a vulnerable Linux kernel version within the specified ranges AND has an accessible /dev/graphics/fb0 or /dev/fb0 device with mmap permissions for the user.
Generated from the published advisory. Verify against your own configuration.
Remediation Closing itWhat it takes to close this. Where a vendor fix exists we point at it; where none exists we say so plainly, and can build one. Effort estimates are scoped from the advisory, not from your codebase.
dbcve · scoped3.0.753.2.453.4.42
Update Linux kernel to version 3.8.9 or later, or apply the equivalent backported patch for the fb_mmap integer overflow fix; for Android devices, apply vendor-specific OTA updates.
Linux Kernel 3.8.9 (or branch-specific: 3.0.75+, 3.2.45+, 3.4.42+)
- Identify the currently running Linux kernel version using 'uname -r'
- Determine which branch your kernel version belongs to (2.6.12-3.0.x, 3.1.x, 3.2.x, 3.3-3.4.x, or 3.5-3.7.x)
- For 2.6.12 to 3.0.x: upgrade to Linux kernel 3.0.75 or later
- For 3.1.x: upgrade to Linux kernel 3.2.45 or later
- For 3.2.x to 3.4.x: upgrade to Linux kernel 3.4.42 or later
- For 3.5.x to 3.7.x: upgrade to Linux kernel 3.8.9 or later
- For 3.8.x and later: upgrade to the latest stable kernel release
- For Android 4.1.2 Motorola builds: apply the vendor-specific security update or patch level
Generated from the published advisory — verify against the referenced sources before acting.
- Consultation6.0 h
- Implementation12.0 h
- Testing6.0 h
- Review / QA4.0 h
An estimate, not a bill — we confirm scope with you before any work starts. Need it this week? Rush from $7,968.
Scan for this in your stack
Free · runs locallyCheck whether your project pulls in CVE-2013-2596 — or any other known-vulnerable package — straight from your lock files. Free and open source; it runs locally and uploads nothing.
References Go to the primary sourcePrimary sources — vendor advisories, patches and trackers. Where our summary and a reference disagree, the reference wins.
Primary sources- marc.info
- forum.xda-developers.com
- marc.info
- www.oracle.com
- github.com
- github.com
- kb.juniper.net
- rhn.redhat.com
- rhn.redhat.com
- rhn.redhat.com
- www.droid-life.com
- www.securityfocus.com
- www.kernel.org
- forum.xda-developers.com
- www.droidrzr.com
- git.kernel.org
- git.kernel.org
- www.mandriva.com
- www.cisa.gov
- nvd.nist.gov
Practitioner notes
ContributedPeer-ranked notes from engineers who’ve handled CVE-2013-2596 in production — separate from our analysis above.
The advisory tells you what broke. It rarely tells you what actually worked. If you’ve dealt with this one, that detail is what the next engineer is searching for.
- The version that genuinely resolved it — not the one the vendor claimed
- A config change or rule that shut the vector down
- A gotcha in the upgrade path that cost you an afternoon
No notes yet
Be the first to add a field note for this CVE — a mitigation you’ve verified, a version caveat, or a link to a working fix. Sign in above to contribute.
A place for practitioners to share what actually worked: a mitigation you’ve tested, a configuration change, a version- or environment-specific caveat, or a link to a verified patch. The most useful notes rise to the top as peers upvote them, so the signal stays high.
- Verified mitigations, workarounds, and config changes
- Version or environment caveats, and links to real fixes
- No weaponised exploit code, or anything meant to cause harm
- No spam, self-promotion, credentials, or personal data