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

Not scored Published

Local attackers can read uninitialized kernel memory via netdevsim BPF map allocation, potentially exposing sensitive data.

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

GSD-2021-1002704 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.10.88 by commit 1a34fb9e2bf3029f7c0882069d67ff69cbd645d8, 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-1002704?

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

PackageAffectedFixed in
Kernel LinuxAll versionsNone

How do I fix GSD-2021-1002704?

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

Is GSD-2021-1002704 being exploited?

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

Sources

Is GSD-2021-1002704 in your software?

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

Check your SBOMs for free