# CVE-2023-53514: gpu: host1x: Fix memory leak of device names

- Severity: Medium 5.5 (CVSS:3.1, scored by NVD) `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.15%, higher than 4% of CVEs (2026-12-01)
- Published: 2025-10-01T11:46:02.393Z
- Modified: 2026-11-05T21:17:23.977Z
- 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:

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().

(As written by CVE List.)

## Affected

- Linux Linux: from 8aa5bcb61612060429223d1fbb7a1c30a579fc1f before 958c6cbc32996c375af42db96ceba021a1959899; from 8aa5bcb61612060429223d1fbb7a1c30a579fc1f before dba1aeaaf3d0e2f996cb0a5609e5e85ecf405a5c; from 8aa5bcb61612060429223d1fbb7a1c30a579fc1f before 3ab0f5ddb761270b11d8c90b8550a59666cfc9bb; from 8aa5bcb61612060429223d1fbb7a1c30a579fc1f before 55879dad0f3ae8468444b42f785ad79eac05fe5b; 6.0 (not affected: before 6.0; from 6.1.28 up to 6.1.*; from 6.2.15 up to 6.2.*; from 6.3.2 up to 6.3.*; from 6.4 up to *)
- linux linux_kernel: from 6.0 before 6.1.28; from 6.2 before 6.2.15; from 6.3 before 6.3.2

## References

- <https://git.kernel.org/stable/c/958c6cbc32996c375af42db96ceba021a1959899> (patch)
- <https://git.kernel.org/stable/c/dba1aeaaf3d0e2f996cb0a5609e5e85ecf405a5c> (patch)
- <https://git.kernel.org/stable/c/3ab0f5ddb761270b11d8c90b8550a59666cfc9bb> (patch)
- <https://git.kernel.org/stable/c/55879dad0f3ae8468444b42f785ad79eac05fe5b> (patch)

## Sources

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

---

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