CVE-2022-49199

Summary

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 Software

VendorProductVersion RangeStatus
LinuxLinux3c3c1f1416392382faa0238e76a70d7810aab2ef < f6dd8669b8299a3a536cd92a7069152a7704da1daffected
LinuxLinux3c3c1f1416392382faa0238e76a70d7810aab2ef < 2a495ef04d5f42e6f00eb2bec1ee9075e3d5a771affected
LinuxLinux3c3c1f1416392382faa0238e76a70d7810aab2ef < 87e0eacb176f9500c2063d140c0a1d7fa51ab8a5affected
LinuxLinux5.16affected
LinuxLinux0 < 5.16unaffected
LinuxLinux5.16.19 <= 5.16.*unaffected
LinuxLinux5.17.2 <= 5.17.*unaffected
LinuxLinux5.18 <= *unaffected

Weaknesses

References