Description
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 products
Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.
Linux Linux
Default version status: unaffected
9a4435375cd151e07c0c38fa601b00115986091b to < a194e535019e0b32831f16b0eafd83c54d57ccbbaffected9a4435375cd151e07c0c38fa601b00115986091b to < a6c5f5d98719e69228512390d5db3bf4b6468064affected9a4435375cd151e07c0c38fa601b00115986091b to < 7d9fbee252f84de3e6947a40eec01481c9d8afbbaffected9a4435375cd151e07c0c38fa601b00115986091b to < 66f44ec974ab372e4e1ee9eac4245237c94e8f68affected9a4435375cd151e07c0c38fa601b00115986091b to < f3c9e84268e9fa613d40d6c138fb6969c35879b5affected9a4435375cd151e07c0c38fa601b00115986091b to < bbd97d71e53e551890e4115ad9de46b5f2ac0858affected
Linux Linux
Default version status: affected
4.9affected0 to < 4.9unaffected6.1.191 to ≤ 6.1.*unaffected6.6.160 to ≤ 6.6.*unaffected6.12.97 to ≤ 6.12.*unaffected6.18.40 to ≤ 6.18.*unaffected7.1.5 to ≤ 7.1.*unaffected7.2 to ≤ *unaffected
References
- https://git.kernel.org/stable/c/a194e535019e0b32831f16b0eafd83c54d57ccbb ↗
- 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 ↗