What’s Vulnerable › Vulnerabilities

CVE-2022-49199: RDMA/nldev: Prevent underflow in nldev_stat_set_counter_dynamic_doit()

Description

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

How to fix

Upgrade to a fixed version: Linux kernel 5.16.19, 5.17.2. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2022-49199 or the next vulnerability affects your stack