CVE-2023-5158 Possible dos from guest to host invringh_kiov_advance in vhost driver at drivers/vhost/vringh.c
A flaw in the Linux kernel vhost driver allows a guest to cause a denial of service on the host via a zero-length descriptor.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Local or same network only
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2023-5158?
CVE-2023-5158 is a medium-severity denial of service vulnerability in Linux kernel, published on 25 Sep 2023. It can only be exploited from the same machine or local network, with no action from the victim.
Official description
A flaw was found in vringh_kiov_advance in drivers/vhost/vringh.c in the host side of a virtio ring in the Linux Kernel. This issue may result in a denial of service from guest to host via zero length descriptor.
Weakness: CWE-684
Which versions are affected by CVE-2023-5158?
It affects 1 product.
Products include Linux kernel.
How do I fix CVE-2023-5158?
Apply the vendor's patch.
Upgrade, then put limits on request size, rate and nesting depth so one client cannot exhaust the service. More about Denial of service.
Is CVE-2023-5158 being exploited?
There is no known exploitation of CVE-2023-5158 in the wild and no public exploit code.
Other vulnerabilities in Linux kernel
Sources
Also known as BELL-CVE-2023-5158, DEBIAN-CVE-2023-5158, GHSA-xccf-m24h-v4r5, UBUNTU-CVE-2023-5158.