CVE-2021-47261 remediation guide
Linux Linux, linux kernel
In the Linux kernel, the following vulnerability has been resolved: IB/mlx5: Fix initializing CQ fragments buffer The function init_cq_frag_buf() can be called to initialize the current CQ fragments buffer cq->buf, or the temporary cq->resize_buf that is filled during CQ resize operation. However, the offending commit started to use function get_cqe() for getting the CQEs, the issue with this change is that get_cqe() always returns CQEs from cq->buf, which leads us to initialize the wrong buffer, and in case of enlarging the CQ we try to access elements beyond the size of the current cq->bu...
Identify the affected asset
Confirm whether Linux Linux, linux kernel is installed, record the deployed version and installation path, and identify exposed interfaces.
- Record the product name, package or appliance identifier, and installed version.
- Identify internet-facing, administrative, API, and internal access paths.
- Preserve the pre-change configuration and relevant service logs.
Validate the affected-version match
Compare the deployed version with the affected range: >= 388ca8be00370db132464e27f745b8a0add19fcb < 1ec2dcd680c71d0d36fa25638b327a468babd5c9, >= 388ca8be00370db132464e27f745b8a0add19fcb < e3ecd9c09fcc10cf6b2bc67e2990c397c40a8c26, >= 388ca8be00370db132464e27f745b8a0add19fcb < 91f7fdc4cc10542ca1045c06aad23365f0d067e0, >= 388ca8be00370db132464e27f745b8a0add19fcb < 3e670c54eda238cb8a1ea93538a79ae89285c1c4, >= 388ca8be00370db132464e27f745b8a0add19fcb < 2ba0aa2feebda680ecfc3c552e867cf4d1b05a3a, >= 4.17, >= 4.17 < 4.19.195, >= 4.20 < 5.4.126, >= 5.5 < 5.10.44, >= 5.11 < 5.12.11, 5.13. Treat incomplete inventory results as unresolved.
Prioritize with independent signals
The CVSS severity warrants an early asset and exposure review. Combine this signal with asset criticality, exposure, compensating controls, and business impact.
Apply supported remediation
Follow the vendor advisory or supported update path. Current fixed-version status: 4.19.195, 5.4.126, 5.10.44, 5.12.11. Preserve configuration and rollback material before change.
Verify the result
Confirm the resulting version, service health, authentication and access paths, monitoring coverage, and relevant security logs.
- Confirm the expected version and package state.
- Run a functional health check for critical service paths.
- Review authentication, error, application, and security monitoring logs.
- Reassess exposure if the supported fix cannot be applied.
Operational boundary
This page does not replace the vendor advisory, support contract, change-management process, or recovery plan. Do not infer that an asset is unaffected from an incomplete inventory query or a missing fixed-version field.