CVE-2024-56722 RDMA/hns: Fix cpu stuck caused by printings during reset
Excessive logging during RDMA resource destruction can cause CPU stalls, leading to denial of service in the Linux kernel.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Local or same network only
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2024-56722?
CVE-2024-56722 is a medium-severity denial of service vulnerability in Linux kernel, published on 29 Dec 2024. It can only be exploited from the same machine or local network, with no action from the victim.
Official description
In the Linux kernel, the following vulnerability has been resolved:
RDMA/hns: Fix cpu stuck caused by printings during reset
During reset, cmd to destroy resources such as qp, cq, and mr may fail, and error logs will be printed. When a large number of resources are destroyed, there will be lots of printings, and it may lead to a cpu stuck.
Delete some unnecessary printings and replace other printing functions in these paths with the ratelimited version.
Weakness: CWE-770
Which versions are affected by CVE-2024-56722?
It affects 1 product.
Products include Linux kernel.
How do I fix CVE-2024-56722?
Apply the vendor's patch.
Upgrade, then put limits on request size, rate and nesting depth so one client cannot exhaust the service. More about Denial of service.
Is CVE-2024-56722 being exploited?
There is no known exploitation of CVE-2024-56722 in the wild and no public exploit code.
Other vulnerabilities in Linux kernel
Sources
Also known as AZL-55247, AZL-55280, BELL-CVE-2024-56722, DEBIAN-CVE-2024-56722, GHSA-439r-vwp4-cgfr, ROOT-OS-DEBIAN-11-CVE-2024-56722 and 2 more.