NetSight
medium5.5

CVE-2022-49199

In the Linux kernel, the following vulnerability has been resolved: RDMA/nldev: Prevent underflow in nldev_stat_set_counter_dynamic_doit() This code checks "in…

Impact

In the Linux kernel, the following vulnerability has been resolved: RDMA/nldev: Prevent underflow in nldev_stat_set_counter_dynamic_doit() This code checks "index" for an upper bound but it does not check for negatives. Change the type to unsigned to prevent underflows.

Affected products

VendorProductAffected versions
LinuxLinux Kernel
from 5.16 before 5.16.19
from 5.17 before 5.17.2

Weakness classification

References