Linux kernel
cpe:2.3:a:linux:linux_kernel:*:*:*:*:*:*:*, +4 more
A vulnerability allowing out-of-bounds memory access has been identified in the Linux kernel's iavf driver. This issue arises when the number of channels is set higher than allowed during the removal of a virtual function (VF). If the operation times out and returns an error, it inadvertently modifies the 'num_active_queues' variable. This can lead to an out-of-bounds condition, as 'num_active_queues' may exceed the actual number of allocated transmission and reception rings. The vulnerability has been addressed in versions through 4.18.0.
Exploitation of this vulnerability causes a heap-based buffer overflow, which can lead to memory corruption.
The vulnerability can be reproduced by creating a script that allocates virtual functions on a PCI device, then removes one of the virtual functions while simultaneously setting the channel count to an invalid value. This process triggers a timeout, causing an error that disrupts the normal queue management, ultimately leading to the out-of-bounds condition.
Users can upgrade to the latest stable version of the Linux kernel to address this vulnerability.
Our algorithm analyzes dozens of metrics to generate these 8 key vulnerability categories, which are then combined to calculate the overall risk score.