{"id":"CVE-2023-53636","summary":"clk: microchip: fix potential UAF in auxdev release callback","details":"In the Linux kernel, the following vulnerability has been resolved:\n\nclk: microchip: fix potential UAF in auxdev release callback\n\nSimilar to commit 1c11289b34ab (\"peci: cpu: Fix use-after-free in\nadev_release()\"), the auxiliary device is not torn down in the correct\norder. If auxiliary_device_add() fails, the release callback will be\ncalled twice, resulting in a UAF. Due to timing, the auxdev code in this\ndriver \"took inspiration\" from the aforementioned commit, and thus its\nbugs too!\n\nMoving auxiliary_device_uninit() to the unregister callback instead\navoids the issue.","modified":"2026-08-12T03:51:25.340721917Z","published":"2025-10-07T15:19:37.655Z","database_specific":{"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/53xxx/CVE-2023-53636.json","cna_assigner":"Linux"},"references":[{"type":"WEB","url":"https://git.kernel.org/stable/c/5b4052aa956e11bcd19e50ca559eb38dcb46201b"},{"type":"WEB","url":"https://git.kernel.org/stable/c/7455b7007b9e93bcc2bc9c1c6c73a228e3152069"},{"type":"WEB","url":"https://git.kernel.org/stable/c/934406b2d42eaf3fc57f5546cc68ff7ab9680bb3"},{"type":"WEB","url":"https://git.kernel.org/stable/c/d7d6dacf39ed102d7667721ca1700022c9c8b11a"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/53xxx/CVE-2023-53636.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2023-53636"},{"type":"PACKAGE","url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"b56bae2dd6fda6baf3bb74af3812676eebdd52f2"},{"fixed":"5b4052aa956e11bcd19e50ca559eb38dcb46201b"},{"fixed":"d7d6dacf39ed102d7667721ca1700022c9c8b11a"},{"fixed":"934406b2d42eaf3fc57f5546cc68ff7ab9680bb3"},{"fixed":"7455b7007b9e93bcc2bc9c1c6c73a228e3152069"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2023-53636.json"}},{"package":{"name":"Kernel","ecosystem":"Linux"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"6.1.0"},{"fixed":"6.1.28"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.2.0"},{"fixed":"6.2.15"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.3.0"},{"fixed":"6.3.2"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2023-53636.json"}}],"schema_version":"1.9.0"}