February 27, 2017 By Larry Loeb 2 min read

Andrey Konovalov, a security researcher at Google, found a use-after-free hole within Linux, CSO Online reported. This particular flaw is of interest because it appears to be situational. It only showed up in kernels built with a certain configuration option — CONFIG_IP_DCCP — enabled.

Unfortunately, many popular Linux distributions have enabled this option by default. A new Linux update has since patched the vulnerability, although the exploit has been present in Linux kernels since 2005.

Don’t Fall in a Heap

The flaw allows cybercriminals to use heap spraying methods to execute arbitrary code inside the kernel and escalate permissions.

“If the overwritten object has any triggerable function pointers,” Konovalov wrote in his announcement, “an attacker gets to execute arbitrary code within the kernel.”

An attacker might hijack a low-permissions account, then use this hole to escalate the permissions that are given to that user. Even though this is a local escalation bug, it may be combined with other types of attacks that are amenable to remote exploitation. Then the local user is, in reality, a remote one.

This flaw dates back to 2005, when the Linux kernel started to support the Datagram Congestion Control Protocol (DCCP).

Linux Update Offers Quick Fix

Red Hat disclosed that Red Hat Enterprise Linux 5, 6, 7 and MRG 2 kernels were affected. Patches are currently available for Red Hat Enterprise Linux 6 and 7 and for the Red Hat Enterprise Linux for Real Time for NFV (v. 7) (kernel-rt).

While Debian 7 Wheezy and Debian 8 Jessie have also been fixed, Debian Stretch and Sid have yet to be patched. Additionally, patches are available for Ubuntu 12.04 LTS, 14.04 LTS, 16.04 LTS and 16.10.

Only Linux Enterprise Server 10 is affected in the SUSE distros. SUSE Linux Enterprise Server 11 SP 1 to 4 and SUSE Linux Enterprise Server 12 SP 1 and 2 do not support the problematic DCCP protocol.

Recent versions of the SELinux policy can also mitigate this problem, no matter what the enable state is set to. The policy can be configured to not load the DCCP module even if it is called. No module means no problems.

While this problem needs to be patched, administrators must ensure that they use the correct Linux update.

More from

What does resilience in the cyber world look like in 2025 and beyond?

6 min read -  Back in 2021, we ran a series called “A Journey in Organizational Resilience.” These issues of this series remain applicable today and, in many cases, are more important than ever, given the rapid changes of the last few years. But the term "resilience" can be difficult to define, and when we define it, we may limit its scope, missing the big picture.In the age of generative artificial intelligence (gen AI), the prevalence of breach data from infostealers and the near-constant…

Airplane cybersecurity: Past, present, future

4 min read - With most aviation processes now digitized, airlines and the aviation industry as a whole must prioritize cybersecurity. If a cyber criminal launches an attack that affects a system involved in aviation — either an airline’s system or a third-party vendor — the entire process, from safety to passenger comfort, may be impacted.To improve security in the aviation industry, the FAA recently proposed new rules to tighten cybersecurity on airplanes. These rules would “protect the equipment, systems and networks of transport…

Protecting your digital assets from non-human identity attacks

4 min read - Untethered data accessibility and workflow automation are now foundational elements of most digital infrastructures. With the right applications and protocols in place, businesses no longer need to feel restricted by their lack of manpower or technical capabilities — machines are now filling those gaps.The use of non-human identities (NHIs) to power business-critical applications — especially those used in cloud computing environments or when facilitating service-to-service connections — has opened the doors for seamless operational efficiency. Unfortunately, these doors aren’t the…

Topic updates

Get email updates and stay ahead of the latest threats to the security landscape, thought leadership and research.
Subscribe today