CVE Catalog

CVE-2023-53353

MediumCVSS 5.5
Published: Updated: Translated: NVD NIST

Exploitation Probability (EPSS)

Low risk
0.17%

5th percentile - higher than 5% of all known CVEs

Summary

In the Linux kernel, in the accel subsystem for Habana Labs, the destruction of the memory manager IDR was postponed to hpriv_release(). Previously, the IDR was destroyed when the file descriptor was released, but the user context might still be held and memory buffers still in use. Later calls to release those buffers would fail due to missing handles in the IDR, leading to a memory leak. The fix splits IDR destruction from memory manager fini and postpones it to hpriv_release() when there is no user context and no buffers are used.

Risk Assessment

Memory leaks in systems with Habana Labs accelerators, potentially leading to performance degradation and system instability.

Recommendation

Update the Linux kernel to a version containing this fix to prevent memory leaks.

Other vulnerabilities in Linux kernel

See all
Original NVD description (English source)

In the Linux kernel, the following vulnerability has been resolved: accel/habanalabs: postpone mem_mgr IDR destruction to hpriv_release() The memory manager IDR is currently destroyed when user releases the file descriptor. However, at this point the user context might be still held, and memory buffers might be still in use. Later on, calls to release those buffers will fail due to not finding their handles in the IDR, leading to a memory leak. To avoid this leak, split the IDR destruction from the memory manager fini, and postpone it to hpriv_release() when there is no user context and no buffers are used.

Vulnerability data from NVD (NIST) · CISA KEV · EPSS