CVE-2023-54055

Summary

In the Linux kernel, the following vulnerability has been resolved:

RDMA/irdma: Fix memory leak of PBLE objects

On rmmod of irdma, the PBLE object memory is not being freed. PBLE object memory are not statically pre-allocated at function initialization time unlike other HMC objects. PBLEs objects and the Segment Descriptors (SD) for it can be dynamically allocated during scale up and SD's remain allocated till function deinitialization.

Fix this leak by adding IRDMA_HMC_IW_PBLE to the iw_hmc_obj_types[] table and skip pbles in irdma_create_hmc_obj but not in irdma_del_hmc_objects().

Affected Software

VendorProductVersion RangeStatus
LinuxLinux44d9e52977a1b90b0db1c7f8b197c218e9226520 < 810250c9c6616fe131099c0e51c61f2110ed07bfaffected
LinuxLinux44d9e52977a1b90b0db1c7f8b197c218e9226520 < ee02fa4a71bdb95a444124e5c11eaa22f1f44738affected
LinuxLinux44d9e52977a1b90b0db1c7f8b197c218e9226520 < adf58bd4018fbcd990c62e840afd2f178eefad60affected
LinuxLinux44d9e52977a1b90b0db1c7f8b197c218e9226520 < b69a6979dbaa2453675fe9c71bdc2497fedb11f9affected
LinuxLinux5.14affected
LinuxLinux0 < 5.14unaffected
LinuxLinux5.15.108 <= 5.15.*unaffected
LinuxLinux6.1.25 <= 6.1.*unaffected
LinuxLinux6.2.12 <= 6.2.*unaffected
LinuxLinux6.3 <= *unaffected

Weaknesses

References