Skip to content
CVE PROGRAM SOURCE RECORDUnscored

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

Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.

Linux Linux

Default version status: unaffected

  • 3c3c1f1416392382faa0238e76a70d7810aab2ef to < f6dd8669b8299a3a536cd92a7069152a7704da1daffected
  • 3c3c1f1416392382faa0238e76a70d7810aab2ef to < 2a495ef04d5f42e6f00eb2bec1ee9075e3d5a771affected
  • 3c3c1f1416392382faa0238e76a70d7810aab2ef to < 87e0eacb176f9500c2063d140c0a1d7fa51ab8a5affected

Linux Linux

Default version status: affected

  • 5.16affected
  • 0 to < 5.16unaffected
  • 5.16.19 to ≤ 5.16.*unaffected
  • 5.17.2 to ≤ 5.17.*unaffected
  • 5.18 to ≤ *unaffected

References