CVE-2023-53636

clk: microchip: fix potential UAF in auxdev release callback

State
Published
Severity
Not scored
Published
Oct 7, 2025
Updated
May 11, 2026
Reserved
Oct 7, 2025

Read the record on cve.org

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.

Scores

The record has no CVSS score.

Weaknesses

The record names no weakness.

Affected Products

ProductVersions
LinuxLinux
  • b56bae2dd6fda6baf3bb74af3812676eebdd52f2 to before 5b4052aa956e11bcd19e50ca559eb38dcb46201bAffected
  • b56bae2dd6fda6baf3bb74af3812676eebdd52f2 to before d7d6dacf39ed102d7667721ca1700022c9c8b11aAffected
  • b56bae2dd6fda6baf3bb74af3812676eebdd52f2 to before 934406b2d42eaf3fc57f5546cc68ff7ab9680bb3Affected
  • b56bae2dd6fda6baf3bb74af3812676eebdd52f2 to before 7455b7007b9e93bcc2bc9c1c6c73a228e3152069Affected
LinuxLinux
  • 6.1Affected
  • before 6.1Not affected
  • 6.1.28 through 6.1.*Not affected
  • 6.2.15 through 6.2.*Not affected
  • 6.3.2 through 6.3.*Not affected
  • 6.4 and laterNot affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.