CVE-2016-6828 Use after free in n/a

Medium 5.5 Published Updated

Local attackers can crash the system via a crafted SACK option due to a use-after-free in the Linux kernel TCP stack.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Local or same network only
Victim action needed
Not needed
Fix
Available

What is CVE-2016-6828?

CVE-2016-6828 is a medium-severity use after free vulnerability in Linux kernel, published on 16 Oct 2016. It can only be exploited from the same machine or local network, with no action from the victim.

Official description

The tcp_check_send_head function in include/net/tcp.h in the Linux kernel before 4.7.5 does not properly maintain certain SACK state after a failed data copy, which allows local users to cause a denial of service (tcp_xmit_retransmit_queue use-after-free and system crash) via a crafted SACK option.

Weakness: CWE-416

Which versions are affected by CVE-2016-6828?

It affects 1 product.

Products include Linux kernel.

How do I fix CVE-2016-6828?

Apply the vendor's patch.

Upgrade to the fixed version. These bugs are found with fuzzing and sanitisers and avoided by memory-safe languages. More about Use after free.

Is CVE-2016-6828 being exploited?

There is no known exploitation of CVE-2016-6828 in the wild and no public exploit code.

Public exploit code: 1 Exploit-DB entry.

All Linux kernel vulnerabilities

Sources

Also known as DEBIAN-CVE-2016-6828, GHSA-2cwm-q27v-2mv8, UBUNTU-CVE-2016-6828.

Is CVE-2016-6828 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free