Underflow Vulnerability in RDMA/nldev
Summary
GSD-2022-1001197: RDMA/nldev: Prevent underflow in nldev_stat_set_counter_dynamic_doit(). Affects Kernel versions >= 3c3c1f1416392382faa0238e76a70d7810aab2ef, < 2a495ef04d5f42e6f00eb2bec1ee9075e3d5a771. No fix is published. How to fix ↓
Check if this vulnerability affects your application
Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.
No signup required · Results in about 60 seconds
Background
RDMA (Remote Direct Memory Access) is a feature in the Linux Kernel that allows for high-speed data transfer between remote systems. It is commonly used in high-performance computing and networking applications. The nldev (Netlink Device) is a component of RDMA that provides a user-space interface for managing RDMA devices. This vulnerability affects the nldev component in the Linux Kernel.
Vulnerability Detail
The vulnerability in RDMA/nldev is caused by an underflow in the nldev_stat_set_counter_dynamic_doit() function. This underflow can lead to memory corruption or other undefined behavior, potentially allowing an attacker to execute arbitrary code or crash the system. The vulnerability was introduced in version v5.16 of the Linux Kernel and is fixed in version v5.17.2.
How To Fix
No fixed version is published for this vulnerability.
Tip — Not sure whether your app is affected? Vulert can check the versions your app actually runs. Scan free →
Workaround
There is no known workaround for this vulnerability. It is recommended to apply the fix by updating the Linux Kernel.
Conclusion
The vulnerability in RDMA/nldev can be mitigated by updating the Linux Kernel to version v5.17.2 or later. For further support on vulnerability remediation, please contact DevNack.com.
See every vulnerability recorded for Kernel →
FAQ
RDMA (Remote Direct Memory Access) is a feature in the Linux Kernel that allows for high-speed data transfer between remote systems.
nldev (Netlink Device) is a component of RDMA that provides a user-space interface for managing RDMA devices.
The vulnerability can lead to memory corruption or other undefined behavior, potentially allowing an attacker to execute arbitrary code or crash the system.
To fix this vulnerability, update the Linux Kernel to version v5.17.2 or later.
There is no known workaround for this vulnerability. It is recommended to update the Linux Kernel.
Related vulnerabilities
Recent vulnerabilities recorded for Kernel.