CVE-2013-2596

NameCVE-2013-2596
DescriptionInteger 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.
SourceCVE (at NVD; CERT, LWN, oss-sec, fulldisc, bugtraq, EDB, Metasploit, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, Mageia, GitHub code/issues, web search, more)
NVD severitymedium (attack range: local)

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
linux (PTS)jessie3.16.56-1+deb8u1fixed
jessie (security)3.16.68-2fixed
stretch4.9.168-1fixed
stretch (security)4.9.168-1+deb9u3fixed
bullseye, sid, buster4.19.37-5fixed

The information below is based on the following data on fixed versions.

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
linuxsource(unstable)3.9-1medium
linuxsourcewheezy3.2.46-1medium

Notes

the issue comes from fbmem code from linux mainline, the exploit was just targetting motorola
phones that ship code that is based on the original linux code, but both are affected.
an exploit needs access to /dev/fb0 which is not world readable/writable on Debian

Search for package or bug name: Reporting problems