CVE-2016-4997: Canonical Ubuntu Linux

High severity, CVSS 7.8. EPSS: 5.7% probability of exploitation activity in the next 30 days.

The compat IPT_SO_SET_REPLACE and IP6T_SO_SET_REPLACE setsockopt implementations in the netfilter subsystem in the Linux kernel before 4.6.3 allow local users to gain privileges or cause a denial of service (memory corruption) by leveraging in-container root access to provide a crafted offset value that triggers an unintended decrement.

What to do

The record states a fixed version for each range of affected versions. Update to the one for the range your version is in: a later release on another branch may not have the fix.

  • Linux Kernel, from 2.6.17, before 3.2.80: fixed in 3.2.80
  • Linux Kernel, from 3.3, before 3.10.103: fixed in 3.10.103
  • Linux Kernel, from 3.11, before 3.12.62: fixed in 3.12.62
  • Linux Kernel, from 3.13, before 3.14.73: fixed in 3.14.73
  • Linux Kernel, from 3.15, before 3.16.37: fixed in 3.16.37
  • Linux Kernel, from 3.17, before 3.18.37: fixed in 3.18.37
  • Linux Kernel, from 3.19, before 4.1.28: fixed in 4.1.28
  • Linux Kernel, from 4.2, before 4.4.14: fixed in 4.4.14
  • Linux Kernel, from 4.5, before 4.6.3: fixed in 4.6.3

Affected products

Published 2016-07-03. Last modified 2026-06-17.