GSD-2021-1002847 tun: avoid double free in tun_free_netdev

Not scored Published

A double free vulnerability in the Linux kernel's tun driver allows local attackers to cause a denial of service or potentially execute code.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Local or same network only
Victim action needed
Not needed
Fix
None listed

What is GSD-2021-1002847?

GSD-2021-1002847 is an use after free vulnerability in Kernel, published on 30 Dec 2021. It can only be exploited from the same machine or local network, with no action from the victim.

Official description

tun: avoid double free in tun_free_netdev

This is an automated ID intended to aid in discovery of potential security vulnerabilities. The actual impact and attack plausibility have not yet been proven. This ID is fixed in Linux Kernel version v5.15.12 by commit 3cb5ae77799e8ed6ec3fec0b6b4cd07f01650cc5. For more details please see the references link.

Which versions are affected by GSD-2021-1002847?

1 open source package ship an affected version, including Kernel.

PackageAffectedFixed in
Kernel LinuxAll versionsNone

How do I fix GSD-2021-1002847?

No fix has been published for GSD-2021-1002847 yet. Limit exposure of the affected software until one is available.

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 GSD-2021-1002847 being exploited?

There is no known exploitation of GSD-2021-1002847 in the wild and no public exploit code.

Sources

Is GSD-2021-1002847 in your software?

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

Check your SBOMs for free