---
id: CVE-2023-53514
title: 'gpu: host1x: Fix memory leak of device names'
summary: |-
  In the Linux kernel, the following vulnerability has been resolved:

  gpu: host1x: Fix memory leak of device names

  The device names allocated by dev_set_name() need be freed
  before module unloading, but they can not be freed because
  the …
severity: none
vendor: Linux
product: Linux
affected:
  - >-
    Linux >= 8aa5bcb61612060429223d1fbb7a1c30a579fc1f <
    958c6cbc32996c375af42db96ceba021a1959899
  - >-
    Linux >= 8aa5bcb61612060429223d1fbb7a1c30a579fc1f <
    dba1aeaaf3d0e2f996cb0a5609e5e85ecf405a5c
  - >-
    Linux >= 8aa5bcb61612060429223d1fbb7a1c30a579fc1f <
    3ab0f5ddb761270b11d8c90b8550a59666cfc9bb
  - >-
    Linux >= 8aa5bcb61612060429223d1fbb7a1c30a579fc1f <
    55879dad0f3ae8468444b42f785ad79eac05fe5b
  - Linux 6.0
ssvc:
  exploitation: none
  automatable: 'no'
  technicalImpact: partial
  timestamp: '2026-11-05T20:22:48.085832Z'
published: '2025-10-01'
updated: '2026-11-05'
sourceUpdated: '2026-11-05T20:31:12.717Z'
source: CVEORG
sourceUrl: 'https://www.cve.org/CVERecord?id=CVE-2023-53514'
references:
  - url: 'https://git.kernel.org/stable/c/958c6cbc32996c375af42db96ceba021a1959899'
  - url: 'https://git.kernel.org/stable/c/dba1aeaaf3d0e2f996cb0a5609e5e85ecf405a5c'
  - url: 'https://git.kernel.org/stable/c/3ab0f5ddb761270b11d8c90b8550a59666cfc9bb'
  - url: 'https://git.kernel.org/stable/c/55879dad0f3ae8468444b42f785ad79eac05fe5b'
tags:
  - cve.org
epss: 0.00148
epssPercentile: 0.04023
ingestedAt: '2026-11-05T22:38:31.805Z'
---

## Overview

In the Linux kernel, the following vulnerability has been resolved:

gpu: host1x: Fix memory leak of device names

The device names allocated by dev_set_name() need be freed
before module unloading, but they can not be freed because
the kobject's refcount which was set in device_initialize()
has not be decreased to 0.

As comment of device_add() says, if it fails, use only
put_device() drop the refcount, then the name will be
freed in kobejct_cleanup().

device_del() and put_device() can be replaced with
device_unregister(), so call it to unregister the added
successfully devices, and just call put_device() to the
not added device.

Add a release() function to device to avoid null release()
function WARNING in device_release(), it's empty, because
the context devices are freed together in
host1x_memory_context_list_free().

## Affected

- `Linux >= 8aa5bcb61612060429223d1fbb7a1c30a579fc1f < 958c6cbc32996c375af42db96ceba021a1959899`
- `Linux >= 8aa5bcb61612060429223d1fbb7a1c30a579fc1f < dba1aeaaf3d0e2f996cb0a5609e5e85ecf405a5c`
- `Linux >= 8aa5bcb61612060429223d1fbb7a1c30a579fc1f < 3ab0f5ddb761270b11d8c90b8550a59666cfc9bb`
- `Linux >= 8aa5bcb61612060429223d1fbb7a1c30a579fc1f < 55879dad0f3ae8468444b42f785ad79eac05fe5b`
- `Linux 6.0`

## Remediation

Refer to the linked advisories for vendor-supplied fixes and affected version ranges.
