CVE-2022-49199Published Feb 26, 2025 · Feb 26Updated Oct 28
RDMA/nldev: Prevent underflow in nldev_stat_set_counter_dynamic_doit()
Linux
Medium5.5Fix available
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
| No fix yet |
| Linux Linux |
|
|
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
| No fix yet |
| Linux Linux |
|
|
5.16.195.17.25.18In 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.
From the CVE record · Linux
The Linux kernel’s RDMA/nldev code does not reject negative index values in nldev_stat_set_counter_dynamic_doit(), allowing an underflow. The input does not specify how an attacker could reach this code or whether authentication or user interaction is required.
Engineers running the Linux kernel should check their RDMA/nldev code; affected versions are not specified.