GSD-2022-1000470 perf bpf: Defer freeing string after possible strlen() on it

Not scored Published

A use-after-free vulnerability in the Linux kernel perf tool allows local attackers to cause a denial of service or potentially execute code.

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

What is GSD-2022-1000470?

GSD-2022-1000470 is an use after free vulnerability in Kernel, published on 27 Feb 2022. It can only be exploited from the same machine or local network, with no action from the victim.

Official description

perf bpf: Defer freeing string after possible strlen() on it

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.25 by commit bf4161eb7e3bc63986eab516b147196d2240d743, it was introduced in version v5.8 by commit 04f9bf2bac72480ca1d289b751b956dd1707a5d5. For more details please see the references link.

Which versions are affected by GSD-2022-1000470?

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

PackageAffectedFixed in
Kernel LinuxAll versionsNone

How do I fix GSD-2022-1000470?

No fix has been published for GSD-2022-1000470 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-2022-1000470 being exploited?

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

Sources

Is GSD-2022-1000470 in your software?

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

Check your SBOMs for free