# CVE-2023-53353: accel/habanalabs: postpone mem_mgr IDR destruction to hpriv_release()

- Severity: Medium 5.5 (CVSS:3.1, scored by CISA-ADP) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.20%, higher than 10% of CVEs (2026-12-01)
- Published: 2025-09-17T14:56:43.543Z
- Modified: 2026-10-03T11:17:27.597Z
- Weaknesses: CWE-401
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: Linux

## 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.

(As written by CVE List.)

## Affected

- Linux Linux: from 0feaf86d4e69507ab9b2af7dcc63a6886352d5db before c96cc6b46fdce89a8feb270a35bbe5086c142534; from 0feaf86d4e69507ab9b2af7dcc63a6886352d5db before 840de329ca99cafd0cdde9c6ac160b1330942aba; from 0feaf86d4e69507ab9b2af7dcc63a6886352d5db before 2e8e9a895c4589f124a37fc84d123b5114406e94; 5.1 (not affected: before 5.1; from 6.1.189 up to 6.1.*; from 6.3.4 up to 6.3.*; from 6.4 up to *)
- linux linux_kernel: from 5.1 before 6.3.4

## Every score

- CISA-ADP: CVSS:3.1 5.5 Medium `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- NVD: CVSS:3.1 5.5 Medium `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`

## References

- <https://git.kernel.org/stable/c/c96cc6b46fdce89a8feb270a35bbe5086c142534>
- <https://git.kernel.org/stable/c/840de329ca99cafd0cdde9c6ac160b1330942aba> (patch)
- <https://git.kernel.org/stable/c/2e8e9a895c4589f124a37fc84d123b5114406e94> (patch)

## Sources

- CVE List: [CVE-2023-53353](https://www.cve.org/CVERecord?id=CVE-2023-53353), CVE Terms of Use, modified 2026-10-03
- NVD: [CVE-2023-53353](https://nvd.nist.gov/vuln/detail/CVE-2023-53353), Public domain, modified 2026-10-03

---

Page: https://cve.day/CVE-2023-53353 · Whole record: https://cve.day/CVE-2023-53353.json · Rebuilt by cve.day 2026-11-25T22:58:34.846Z
