GSD-2022-1003170 bpf: Fix excessive memory allocation in stack_map_alloc()

Not scored Published

A local attacker can trigger excessive memory allocation in the Linux kernel BPF stack map, potentially causing a denial of service.

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-1003170?

GSD-2022-1003170 is a denial of service vulnerability in Kernel, published on 28 Jun 2022. It can only be exploited from the same machine or local network, with no action from the victim.

Official description

bpf: Fix excessive memory allocation in stack_map_alloc()

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.17.13 by commit b9037efc1f3483cfa459e59f803989a6cee4a8da, it was introduced in version v5.3 by commit b936ca643ade11f265fa10e5fb71c20d9c5243f1. For more details please see the references link.

Which versions are affected by GSD-2022-1003170?

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

PackageAffectedFixed in
Kernel LinuxAll versionsNone

How do I fix GSD-2022-1003170?

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

Upgrade, then put limits on request size, rate and nesting depth so one client cannot exhaust the service. More about Denial of service.

Is GSD-2022-1003170 being exploited?

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

Sources

Is GSD-2022-1003170 in your software?

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

Check your SBOMs for free