CVE-2022-49199 Details
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.
A vulnerability in the Linux kernel's RDMA/nldev component allows for an underflow condition in the function nldev_stat_set_counter_dynamic_doit(). The issue arises because the code checks the 'index' variable for an upper bound but fails to validate negative values. This oversight can lead to unintended behavior, as negative indices are not properly handled. The vulnerability has been addressed by changing the index variable's type to unsigned, eliminating the risk of underflow.
Metrics
CVSS 4.0 Severity and Vector Strings:
No CVSS 4.0 data is available for this CVE.
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
No SSVC data is available for this CVE.
References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://git.kernel.org/stable/c/2a495ef04d5f42e6f00eb2bec1ee9075e3d5a771 | kernel.org | Patch |
| https://git.kernel.org/stable/c/87e0eacb176f9500c2063d140c0a1d7fa51ab8a5 | kernel.org | Patch |
| https://git.kernel.org/stable/c/f6dd8669b8299a3a536cd92a7069152a7704da1d | kernel.org | Patch |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-191 | Integer Underflow (Wrap or Wraparound) | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| linux linux kernel | >= 5.16, < 5.16.19 >= 5.17, < 5.17.2 |
CPE
Remediation
| |
Change History
3 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | kernel.org |
| Oct 21, 2025 | Initial Analysis | [email protected] |
| Feb 26, 2025 | New CVE Received | kernel.org |