CVE-2022-49199

RDMA/nldev: Prevent underflow in nldev_stat_set_counter_dynamic_doit()

State
Published
Severity
Not scored
Published
Feb 26, 2025
Updated
May 11, 2026
Reserved
Feb 26, 2025

Read the record on cve.org

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.

Scores

The record has no CVSS score.

Weaknesses

The record names no weakness.

Affected Products

ProductVersions
LinuxLinux
  • 3c3c1f1416392382faa0238e76a70d7810aab2ef to before f6dd8669b8299a3a536cd92a7069152a7704da1dAffected
  • 3c3c1f1416392382faa0238e76a70d7810aab2ef to before 2a495ef04d5f42e6f00eb2bec1ee9075e3d5a771Affected
  • 3c3c1f1416392382faa0238e76a70d7810aab2ef to before 87e0eacb176f9500c2063d140c0a1d7fa51ab8a5Affected
LinuxLinux
  • 5.16Affected
  • before 5.16Not affected
  • 5.16.19 through 5.16.*Not affected
  • 5.17.2 through 5.17.*Not affected
  • 5.18 and laterNot affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.