# CVE-2023-53261: coresight: Fix memory leak in acpi_buffer->pointer

- 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.16%, higher than 5% of CVEs (2026-12-02)
- Published: 2025-09-15T14:46:33.065Z
- Modified: 2026-10-30T13:17:17.997Z
- 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:

coresight: Fix memory leak in acpi_buffer->pointer

There are memory leaks reported by kmemleak:
...
unreferenced object 0xffff00213c141000 (size 1024):
  comm "systemd-udevd", pid 2123, jiffies 4294909467 (age 6062.160s)
  hex dump (first 32 bytes):
    04 00 00 00 02 00 00 00 18 10 14 3c 21 00 ff ff  ...........<!...
    00 00 00 00 00 00 00 00 03 00 00 00 10 00 00 00  ................
  backtrace:
    [<000000004b7c9001>] __kmem_cache_alloc_node+0x2f8/0x348
    [<00000000b0fc7ceb>] __kmalloc+0x58/0x108
    [<0000000064ff4695>] acpi_os_allocate+0x2c/0x68
    [<000000007d57d116>] acpi_ut_initialize_buffer+0x54/0xe0
    [<0000000024583908>] acpi_evaluate_object+0x388/0x438
    [<0000000017b2e72b>] acpi_evaluate_object_typed+0xe8/0x240
    [<000000005df0eac2>] coresight_get_platform_data+0x1b4/0x988 [coresight]
...

The ACPI buffer memory (buf.pointer) should be freed. But the buffer
is also used after returning from acpi_get_dsd_graph().
Move the temporary variables buf to acpi_coresight_parse_graph(),
and free it before the function return to prevent memory leak.

(As written by CVE List.)

## Affected

- Linux Linux: from 76ffa5ab5b79c250b9744b7f8bdd835db426a1ae before 10bbb7efcad40a06d7acfc0a14af21c19b496eff; from 76ffa5ab5b79c250b9744b7f8bdd835db426a1ae before d1b60e7c9fee34eaedf1fc4e0471f75b33f83a4a; from 76ffa5ab5b79c250b9744b7f8bdd835db426a1ae before 1a9e02673e2550f5612099e64e8761f0c8fc0f50; 5.3 (not affected: before 5.3; from 6.1.191 up to 6.1.*; from 6.5.3 up to 6.5.*; from 6.6 up to *)
- linux linux_kernel: from 5.3 before 6.5.3

## 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/10bbb7efcad40a06d7acfc0a14af21c19b496eff>
- <https://git.kernel.org/stable/c/d1b60e7c9fee34eaedf1fc4e0471f75b33f83a4a> (patch)
- <https://git.kernel.org/stable/c/1a9e02673e2550f5612099e64e8761f0c8fc0f50> (patch)

## Sources

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

---

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