NetSight
high7.8

CVE-2024-38545

In the Linux kernel, the following vulnerability has been resolved: RDMA/hns: Fix UAF for cq async event The refcount of CQ is not protected by locks.

Impact

In the Linux kernel, the following vulnerability has been resolved: RDMA/hns: Fix UAF for cq async event The refcount of CQ is not protected by locks. When CQ asynchronous events and CQ destruction are concurrent, CQ may have been released, which will cause UAF. Use the xa_lock() to protect the CQ refcount.

Affected products

VendorProductAffected versions
LinuxLinux Kernel
from 4.9 before 5.15.168
from 5.16 before 6.1.93
from 6.2 before 6.6.33
from 6.7 before 6.8.12
from 6.9 before 6.9.3

Weakness classification

References