GSD-2022-1006619 netdevsim: fix memory leak in nsim_drv_probe() when nsim_dev_resources_register() failed
A memory leak in the Linux kernel netdevsim driver can lead to resource exhaustion and denial of service when device registration fails.
- Exploited in the wild
- Not known
- Login needed
- An administrator
- Attackable
- Local or same network only
- Victim action needed
- Not needed
- Fix
- None listed
What is GSD-2022-1006619?
GSD-2022-1006619 is a memory corruption vulnerability in Kernel, published on 14 Nov 2022. It can only be exploited from the same machine or local network, with no action from the victim.
Official description
netdevsim: fix memory leak in nsim_drv_probe() when nsim_dev_resources_register() failed
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 v6.0.7 by commit 7c4957fe40e2a628b7cceaf4c9bfb5b701774d05, it was introduced in version v4.17 by commit 37923ed6b8cea94d7d76038e2f72c57a0b45daab. For more details please see the references link.
Which versions are affected by GSD-2022-1006619?
1 open source package ship an affected version, including Kernel.
| Package | Affected | Fixed in |
|---|---|---|
Kernel Linux | All versions | None |
How do I fix GSD-2022-1006619?
No fix has been published for GSD-2022-1006619 yet. Limit exposure of the affected software until one is available.
Upgrade to the fixed version. Memory-safe languages, compiler hardening and fuzzing prevent most new cases. More about Memory corruption.
Is GSD-2022-1006619 being exploited?
There is no known exploitation of GSD-2022-1006619 in the wild and no public exploit code.