Activity log
- Created & dismissed (max. allowed matches exceeded) suggestion
RDMA/hns: Fix warning in poll cq direct mode
In the Linux kernel, the following vulnerability has been resolved: RDMA/hns: Fix warning in poll cq direct mode CQs allocated by ib_alloc_cq() always have a comp_handler. Though in direct mode this handler is never expected to be called, it is still called when the driver is reset, triggering the following WARN_ONCE(): Call trace: ib_cq_completion_direct+0x38/0x60 hns_roce_cq_completion+0x54/0x90 (hns_roce_hw_v2] hns_roce_handle_device_err+Ox1c8/0x340 [hns_roce_hw_v2] hns_roce_hw_v2_uninit_instance.constprop.0+0x34/0x70 [hns_roce_hw_v2] hns_roce_hw_v2_reset_notify+0xc4/0xe0 [hns_roce_hw_v2] hclge_notify_roce_client+0x60/0xbc [hclge] hclge_reset_rebuild+0x48/0x34c [hclge] hclge_reset_subtask+0xcc/0xec [hclge] hclge_reset_service_task+0x80/0x160 [hclge] hclge_service_task+0x50/0x80 (hclge] process_one_work+0x1cc/0x4d0 worker_thread+0x154/0x414 kthread+0x104/0x144 ret_from_fork+0x10/0x18
References
Affected products
- =<6.1.*
- <e7d363c0ffa836ac1d89657686cad241392c5eb2
- <16138ea9833d6bb1bed37a3321f282242704bf02
- <9f05319149c14acedb83e2c2842ec4b38992ad9f
- <5.5
- =<5.10.*
- =<6.18.*
- <c028c1977b6e61eee26bb69332453efb6513f83b
- =<6.12.*
- <1e56f8886d64288cf88d80af44c7b9148aeaa98b
- =<7.1.*
- <95b2e44bc1e5c5d93bb58e178d914dd99a3baa6f
- ==5.5
- <3f19c2a3852e6ba75f3e92dd5edc4e07f3d07f4a
- =<5.15.*
- =<6.6.*
- <a075a7acd155ffdd058e72eb3f4cce1207ebafa1
- =<*