Bug 2396135 (CVE-2023-53353) - CVE-2023-53353 kernel: accel/habanalabs: postpone mem_mgr IDR destruction to hpriv_release()
Summary: CVE-2023-53353 kernel: accel/habanalabs: postpone mem_mgr IDR destruction to ...
Keywords:
Status: NEW
Alias: CVE-2023-53353
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Product Security DevOps Team
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2025-09-17 15:03 UTC by OSIDB Bzimport
Modified: 2025-09-17 18:27 UTC (History)
0 users

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)

Description OSIDB Bzimport 2025-09-17 15:03:24 UTC
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.


Note You need to log in before you can comment on or make changes to this bug.