Description (CNA)
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.
Affected (CNA)
| Vendor / product | Versions |
|---|---|
| Linux / Linux | affected 9a4435375cd151e07c0c38fa601b00115986091b before a6c5f5d98719e69228512390d5db3bf4b6468064; affected 9a4435375cd151e07c0c38fa601b00115986091b before 7d9fbee252f84de3e6947a40eec01481c9d8afbb; affected 9a4435375cd151e07c0c38fa601b00115986091b before 66f44ec974ab372e4e1ee9eac4245237c94e8f68; affected 9a4435375cd151e07c0c38fa601b00115986091b before f3c9e84268e9fa613d40d6c138fb6969c35879b5; affected 9a4435375cd151e07c0c38fa601b00115986091b before bbd97d71e53e551890e4115ad9de46b5f2ac0858 |
| Linux / Linux | affected 4.9; unaffected 0 before 4.9; unaffected 6.6.160 through 6.6.*; unaffected 6.12.97 through 6.12.*; unaffected 6.18.40 through 6.18.*; unaffected 7.1.5 through 7.1.*; unaffected 7.2 through * |
CWE
No CWE identifiers supplied.
References
- https://git.kernel.org/stable/c/a6c5f5d98719e69228512390d5db3bf4b6468064
- https://git.kernel.org/stable/c/7d9fbee252f84de3e6947a40eec01481c9d8afbb
- https://git.kernel.org/stable/c/66f44ec974ab372e4e1ee9eac4245237c94e8f68
- https://git.kernel.org/stable/c/f3c9e84268e9fa613d40d6c138fb6969c35879b5
- https://git.kernel.org/stable/c/bbd97d71e53e551890e4115ad9de46b5f2ac0858