In the Linux kernel, the following vulnerability has been resolved:
RDMA/mlx4: Prevent shift wrapping in setusersq_size()
The ucmd->logsqbbcount variable is controlled by the user so this shift can wrap. Fix it by using checkshloverflow() in the same way that it was done in commit 515f60004ed9 ("RDMA/hns: Prevent undefined behavior in hnsrocesetusersqsize()").
{
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/54xxx/CVE-2023-54168.json",
"cna_assigner": "Linux"
}