---
id: CVE-2023-53353
title: |-
  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…
summary: |-
  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…
severity: medium
cvss: 5.5
cvssVector: 'CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H'
cwe:
  - CWE-401
vendor: linux
product: linux_kernel
affected:
  - 'linux_kernel >= 5.1, < 6.3.4'
patched:
  - linux_kernel 6.3.4
published: '2025-09-17'
updated: '2026-10-03'
sourceUpdated: '2026-10-03T11:17:27.597'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2023-53353'
references:
  - url: 'https://git.kernel.org/stable/c/2e8e9a895c4589f124a37fc84d123b5114406e94'
    label: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
  - url: 'https://git.kernel.org/stable/c/840de329ca99cafd0cdde9c6ac160b1330942aba'
    label: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
  - url: 'https://git.kernel.org/stable/c/c96cc6b46fdce89a8feb270a35bbe5086c142534'
    label: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
tags:
  - nvd
  - cve.org
ssvc:
  exploitation: none
  automatable: 'no'
  technicalImpact: partial
  timestamp: '2026-01-14T18:42:03.851566Z'
epss: 0.00167
epssPercentile: 0.05432
ingestedAt: '2026-10-03T11:43:42.107Z'
---

## Overview

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.

## Affected

- `linux_kernel >= 5.1, < 6.3.4`

## Remediation

Upgrade past the affected range:

- `linux_kernel 6.3.4`
