Skip to content
Server Security Center
KEVhigh7.8

CVE-2013-2596: Linux Kernel Integer Overflow

Linux Kernel · listed in the CISA catalog of actively exploited vulnerabilities since 2022-09-15.

CVSS v3.1 (CVE record)
7.8
high
EPSS (exploit probability, 30 days)
3.2%
higher than 88.5% of all CVEs
Added to CISA KEV
2022-09-15
US federal due date 2022-10-06
Ubuntu priority
low

CVE-2013-2596 explained

CVE-2013-2596 is an integer overflow in the fb_mmap function of the Linux kernel framebuffer driver, fixed upstream in kernel 3.8.9. A local user can map all of kernel memory read-write and gain full privileges. It is listed in CISA's Known Exploited Vulnerabilities catalog.

Impact

A local user with low privileges can use crafted mmap2 calls on the framebuffer device to create a read-write mapping of all kernel memory. This leads to privilege escalation with high impact on confidentiality, integrity and availability. No user interaction is needed. Exploitation requires local access and access to the framebuffer device. Remote attackers cannot exploit it directly.

Who is affected

Listed affected packages have no fixed version published. Ubuntu 16.04 LTS (end of life): linux-hwe-edge. Ubuntu 18.04 LTS (standard support ended, fixes only with Ubuntu Pro (ESM)): linux-aws-5.0, linux-azure-edge, linux-azure, linux-gcp-edge, linux-gcp, linux-hwe-edge, linux-oracle-5.0. Ubuntu 20.04 LTS (standard support ended, fixes only with Ubuntu Pro (ESM)): linux-raspi2. Ubuntu rates the priority as low.

Written with AI from the data on this page and checked against it automatically.

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

CISA required action: Apply updates per vendor instructions.

CISA notes

Ubuntu and Debian releases

A server is vulnerable if it has a package built from the listed source package installed in a version lower than the fixed version for its release.

What to do

  1. Identify which kernel source package each host runs and compare it with the affected list.
  2. Upgrade Ubuntu 16.04 LTS hosts to a supported release, since that release is end of life.
  3. For Ubuntu 18.04 LTS and 20.04 LTS, enable Ubuntu Pro (ESM) and apply kernel updates as they are published.
  4. Consider moving off edge or legacy kernel flavours to a maintained kernel for your release.
  5. Reboot or apply a livepatch after any kernel update so the fix takes effect.

Until a fixed kernel is available, restrict local shell access to trusted users. Limit access to framebuffer devices to users who need them, and remove untrusted accounts. Monitor for unexpected privilege changes. Hosts on Ubuntu 16.04 LTS should be upgraded to a supported release rather than waiting for a fix.

Written with AI from the data on this page and checked against it automatically.

Check and fix on a server

1. Show the running kernel and the version of its package

uname -r && dpkg-query -W -f='${Version}\n' "linux-image-$(uname -r)"

No fixed version available

No Ubuntu or Debian release has published a fixed version of the kernel yet, so every installed version is affected. Until a fix is published:

  • Follow the vendor's advisory for a mitigation or patch: git.kernel.org
  • Reduce exposure: limit who can run code on the machine (local users, containers, untrusted workloads) and turn off the affected kernel feature or module where you can.

This page updates automatically when Ubuntu or Debian publish a fix.

CISA's assessment (SSVC)

Exploitation
Exploited in the wild
Automatable
No – each attack needs manual steps
Technical impact
Total – full control of the component or total information disclosure

Weakness: CWE-190 Integer Overflow or Wraparound

Questions about CVE-2013-2596

Can this be exploited remotely?
No. The attack vector is local. An attacker needs a local account with low privileges and must be able to make calls on the framebuffer device.
Why does CISA list it if Ubuntu rates it low?
CISA added it to its Known Exploited Vulnerabilities catalog on 2022-09-15, meaning it has been exploited in practice. The required action is to apply updates per vendor instructions. Ubuntu's low priority reflects its own assessment for its kernels.
Do I need to reboot after updating?
Yes. Kernel fixes only take effect after a reboot or after a livepatch is applied. The running kernel keeps the old code until then.

Written with AI from the data on this page and checked against it automatically.

References

Data: CISA Known Exploited Vulnerabilities (public domain) · CVE Program records incl. CISA ADP enrichment · OSV.dev (CC BY 4.0) incl. Ubuntu and Debian security data · FIRST EPSS · endoflife.date. Updated automatically – facts last changed 2026-11-22. Always confirm with the vendor's or distribution's advisory before patching.