CVE-2023-53353
kernel: accel/habanalabs: postpone mem_mgr IDR destruction to hpriv_release()
Severity
UnknownRed Hat Product Security
CVSS
Review impact separately from score.
Published · September 17, 2025
Updated · June 30, 2026
Description
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.
Mitigation
No mitigation is specified in collected source.
CVSS / CWE
CWE not specified