CVE-2016-3135

HIGH

Linux Kernel < 4.4.21 - Local Privilege Escalation via xt_alloc_table_info Integer Overflow

Title source: llm
STIX 2.1

Exploitation Summary

EIP tracks 1 public exploit for CVE-2016-3135.

AI-analyzed exploit summary The exploit demonstrates a memory corruption vulnerability in the netfilter code (iptables) via the IPT_SO_SET_REPLACE setsockopt operation, allowing an unprivileged user to perform an out-of-bounds write in kernel memory. The PoC triggers the corruption by manipulating the next_offset field in a user-supplied ipt_entry structure.

Description

Integer overflow in the xt_alloc_table_info function in net/netfilter/x_tables.c in the Linux kernel through 4.5.2 on 32-bit platforms allows local users to gain privileges or cause a denial of service (heap memory corruption) via an IPT_SO_SET_REPLACE setsockopt call.

Exploits (1)

exploitdb WORKING POC
doslinux
https://www.exploit-db.com/exploits/39545

The exploit demonstrates a memory corruption vulnerability in the netfilter code (iptables) via the IPT_SO_SET_REPLACE setsockopt operation, allowing an unprivileged user to perform an out-of-bounds write in kernel memory. The PoC triggers the corruption by manipulating the next_offset field in a user-supplied ipt_entry structure.

Classification
Working Poc 95%
Attack Type
Lpe
Complexity
Moderate
Reliability
Reliable
Target: Linux Kernel (3.10, 3.18, 4.4)
No auth needed
Prerequisites: Unprivileged user namespace support (CONFIG_USER_NS=y) · Access to PF_INET sockets
devstral-2 · analyzed Feb 19, 2026 Full analysis →

References (12)

Core 12
Core References
Vendor Advisory vendor-advisory x_refsource_ubuntu
http://www.ubuntu.com/usn/USN-2930-1
Vendor Advisory vendor-advisory x_refsource_ubuntu
http://www.ubuntu.com/usn/USN-3054-1
Vendor Advisory vendor-advisory x_refsource_ubuntu
http://www.ubuntu.com/usn/USN-2930-2
Vendor Advisory vendor-advisory x_refsource_ubuntu
http://www.ubuntu.com/usn/USN-3055-1
Vendor Advisory vendor-advisory x_refsource_ubuntu
http://www.ubuntu.com/usn/USN-3056-1
Vendor Advisory vendor-advisory x_refsource_ubuntu
http://www.ubuntu.com/usn/USN-2930-3
Issue Tracking x_refsource_confirm
https://bugzilla.redhat.com/show_bug.cgi?id=1317386
Vendor Advisory vendor-advisory x_refsource_ubuntu
http://www.ubuntu.com/usn/USN-3057-1
Third Party Advisory, VDB Entry vdb-entry x_refsource_bid
http://www.securityfocus.com/bid/84305

Scores

CVSS v3 7.8
EPSS 0.0101
EPSS Percentile 58.6%
Attack Vector LOCAL
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Details

CWE
CWE-189
Status published
Products (4)
canonical/ubuntu_linux 14.04
canonical/ubuntu_linux 15.10
canonical/ubuntu_linux 16.04
linux/linux_kernel 4.2 - 4.4.21
Published Apr 27, 2016
Tracked Since Feb 18, 2026