RDMA/hns: Fix log flood after cmd_mbox failure
Linux
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
≥ 9a4435375cd151e07c0c38fa601b00115986091b · < bbd97d71e53e551890e4115ad9de46b5f2ac0858| No fix yet |
| Linux Linux |
|
|
In the Linux kernel, the following vulnerability has been resolved:
RDMA/hns: Fix log flood after cmd_mbox failure
hns_roce_cmd_mbox() is the command interface between driver and hardware. When hardware is abnormal, the unlimited error printings after hns_roce_cmd_mbox() failure will cause log flood and even system crash.
Replace ibdev_err() and ibdev_warn() with their ratelimited versions in the error handling path after hns_roce_cmd_mbox() (and its wrappers hns_roce_create_hw_ctx/hns_roce_destroy_hw_ctx) fails.
From the CVE record · Linux
The Linux kernel RDMA/hns driver can flood system logs when its command interface fails because of abnormal hardware behavior. The log flood can cause a system crash. The input does not describe an attacker, access requirements, or user interaction.
Engineers running Linux systems that use the RDMA/hns driver should check their kernel; affected versions are not specified.