GSD-2021-1002679 netdevsim: Zero-initialize memory for new map's value in function nsim_bpf_map_alloc

Not scored Published

A local attacker with low privileges could read uninitialized kernel memory via the netdevsim BPF map allocation function.

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-2021-1002679?

GSD-2021-1002679 is a vulnerability in Kernel, published on 27 Dec 2021. It can only be exploited from the same machine or local network, with no action from the victim.

Official description

netdevsim: Zero-initialize memory for new map's value in function nsim_bpf_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.4.168 by commit 699e794c12a3cd79045ff135bc87a53b97024e43, it was introduced in version v4.16 by commit 395cacb5f1a0a290f1ae9ca4692c400d2b57a705. For more details please see the references link.

Which versions are affected by GSD-2021-1002679?

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

PackageAffectedFixed in
Kernel LinuxAll versionsNone

How do I fix GSD-2021-1002679?

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

Is GSD-2021-1002679 being exploited?

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

Sources

Is GSD-2021-1002679 in your software?

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

Check your SBOMs for free