# CVE-2023-53636: clk: microchip: fix potential UAF in auxdev release callback

- Severity: High 7.8 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/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.23%, higher than 8% of CVEs (2026-11-30)
- Published: 2025-10-07T15:19:37.655Z
- Modified: 2026-06-17T06:45:46.030Z
- Weaknesses: CWE-416
- Assigned by: Linux

## Description

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

clk: microchip: fix potential UAF in auxdev release callback

Similar to commit 1c11289b34ab ("peci: cpu: Fix use-after-free in
adev_release()"), the auxiliary device is not torn down in the correct
order. If auxiliary_device_add() fails, the release callback will be
called twice, resulting in a UAF. Due to timing, the auxdev code in this
driver "took inspiration" from the aforementioned commit, and thus its
bugs too!

Moving auxiliary_device_uninit() to the unregister callback instead
avoids the issue.

(As written by CVE List.)

## Affected

- Linux Linux: from b56bae2dd6fda6baf3bb74af3812676eebdd52f2 before 5b4052aa956e11bcd19e50ca559eb38dcb46201b; from b56bae2dd6fda6baf3bb74af3812676eebdd52f2 before d7d6dacf39ed102d7667721ca1700022c9c8b11a; from b56bae2dd6fda6baf3bb74af3812676eebdd52f2 before 934406b2d42eaf3fc57f5546cc68ff7ab9680bb3; from b56bae2dd6fda6baf3bb74af3812676eebdd52f2 before 7455b7007b9e93bcc2bc9c1c6c73a228e3152069; 6.1 (not affected: before 6.1; 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.1 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/5b4052aa956e11bcd19e50ca559eb38dcb46201b> (patch)
- <https://git.kernel.org/stable/c/d7d6dacf39ed102d7667721ca1700022c9c8b11a> (patch)
- <https://git.kernel.org/stable/c/934406b2d42eaf3fc57f5546cc68ff7ab9680bb3> (patch)
- <https://git.kernel.org/stable/c/7455b7007b9e93bcc2bc9c1c6c73a228e3152069> (patch)

## Sources

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

---

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