
Cloud Vulnerability DB
A community-led vulnerabilities database
A use-after-free vulnerability (CVE-2023-1838) was discovered in the vhostnetset_backend function within drivers/vhost/net.c of the Linux kernel's virtio network subcomponent. The vulnerability was identified on April 5, 2023, and stems from a double fget issue in the file handling mechanism (NVD, Ubuntu).
The vulnerability occurs due to a double fget() operation in the vhostnetsetbackend function, where two separate fget() calls on the same descriptor may return different struct file references. This happens because the descriptor table is a shared resource, and gettapptrring() is called after finding and pinning the socket, attempting to find private tun/tap data structures. The issue lies in redoing the lookup using the same file descriptor that was used to get the socket, which creates a race condition (Kernel Patch). The vulnerability has been assigned a CVSS v3.1 base score of 7.1 (High) (NetApp Advisory).
The vulnerability could allow a local attacker to crash the system (denial of service) and potentially lead to kernel information leaks. The impact is particularly concerning as it affects the kernel's network virtualization capabilities (NVD, Ubuntu).
The issue has been fixed in various Linux kernel versions, with patches being backported to supported distributions. Ubuntu has released fixes for multiple versions including 22.04 LTS (5.15.0-47.51), 20.04 LTS (5.4.0-126.142), and 18.04 LTS (4.15.0-224.236). The fix involves modifying the vhostnetset_backend function to use the same file reference throughout the operation (Ubuntu).
Source: This report was generated using AI
Free Vulnerability Assessment
Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.
Get a personalized demo
"Best User Experience I have ever seen, provides full visibility to cloud workloads."
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
"We know that if Wiz identifies something as critical, it actually is."