CVE-2016-4997: High severity linux kernel vulnerability

Published Jun 24, 2016
·
Updated

A flaw was discovered in processing setsockopt for 32 bit processes on 64 bit systems. This flaw will allow attackers to alter arbitary kernel memory when unloading a kernel module. This action is usually restricted to root-priveledged users but can also be leveraged if the kernel is compiled with CONFIGUSERNS and CONFIGNETNS and the user is granted elevated priveledges.

This flaw was introduced in commit 52e804c6dfaa,

Upstream fixes

http://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=ce683e5f9d04 http://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=6e94e0cfb088 http://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=bdf533de6968

Discussion on oss-sec: http://www.openwall.com/lists/oss-security/2016/06/24/5

Other sources

The compat IPTSOSETREPLACE and IP6TSOSETREPLACE 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.

Launchpad

Affected Software

27 affected componentsFixes available
Linux Linux kernel>=2.6.17<3.2.80
Linux Linux kernel>=3.3<3.10.103
Linux Linux kernel>=3.11<3.12.62
Linux Linux kernel>=3.13<3.14.73
Linux Linux kernel>=3.15<3.16.37
Linux Linux kernel>=3.17<3.18.37
Linux Linux kernel>=3.19<4.1.28
Linux Linux kernel>=4.2<4.4.14
Linux Linux kernel>=4.5<4.6.3
Canonical Ubuntu Linux=12.04
Canonical Ubuntu Linux=14.04
Canonical Ubuntu Linux=15.10
Canonical Ubuntu Linux=16.04
Novell Suse Linux Enterprise Software Development Kit=12.0
Novell Suse Linux Enterprise Software Development Kit=12.0-sp1
Novell Suse Linux Enterprise Desktop=12.0
Novell Suse Linux Enterprise Desktop=12.0-sp1
Novell Suse Linux Enterprise Live Patching=12.0
Novell Suse Linux Enterprise Module For Public Cloud=12.0
Novell Suse Linux Enterprise Real Time Extension=12.0-sp1
Novell Suse Linux Enterprise Server=12.0
Novell Suse Linux Enterprise Server=12.0-sp1
Novell Suse Linux Enterprise Workstation Extension=12.0
Novell Suse Linux Enterprise Workstation Extension=12.0-sp1
Oracle Linux=7
Debian Debian Linux=8.0
debian/linux
5.10.223-15.10.234-16.1.129-16.1.135-16.12.22-16.12.25-1

Event History

Jun 24, 2016
Data Sourced
via Red Hat·05:39 AM
DescriptionSeverityAffected Software
Jul 3, 2016
CVE Published
via MITRE·09:00 PM
Data Sourced
via MITRE·09:00 PM
Description
Jan 11, 2024
Data Sourced
via Launchpad·10:19 PM
Description
Sep 16, 2024
Data Sourced
via Ubuntu·01:15 AM
RemedyDescriptionSeverityAffected Software
Apr 28, 2025
Data Sourced
via Debian·03:32 AM
DescriptionAffected Software
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2016-4997?

CVE-2016-4997 is considered a high severity vulnerability that allows arbitrary kernel memory alteration.

2

How do I fix CVE-2016-4997?

To address CVE-2016-4997, it is recommended to update to the patched Linux kernel versions such as 5.10.223-1 or later.

3

Which systems are affected by CVE-2016-4997?

CVE-2016-4997 affects 32-bit Linux processes running on 64-bit systems across various Linux kernel versions.

4

What potential impact does CVE-2016-4997 have on systems?

Exploitation of CVE-2016-4997 can lead to unauthorized access and alteration of kernel memory, compromising system integrity.

5

Is CVE-2016-4997 relevant for all Linux distributions?

CVE-2016-4997 is relevant for several Linux distributions, including Debian, Ubuntu, and SUSE, depending on the kernel version.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203