{"id":"CVE-2023-53636","state":"PUBLISHED","title":"clk: microchip: fix potential UAF in auxdev release callback","description":"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.","publishedAt":"2025-10-07T15:19:37.655Z","updatedAt":"2026-05-11T19:48:59.161Z","severity":null,"assigner":"Linux","products":["Linux Linux"],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"b56bae2dd6fda6baf3bb74af3812676eebdd52f2","status":"affected","lessThan":"5b4052aa956e11bcd19e50ca559eb38dcb46201b","versionType":"git"},{"version":"b56bae2dd6fda6baf3bb74af3812676eebdd52f2","status":"affected","lessThan":"d7d6dacf39ed102d7667721ca1700022c9c8b11a","versionType":"git"},{"version":"b56bae2dd6fda6baf3bb74af3812676eebdd52f2","status":"affected","lessThan":"934406b2d42eaf3fc57f5546cc68ff7ab9680bb3","versionType":"git"},{"version":"b56bae2dd6fda6baf3bb74af3812676eebdd52f2","status":"affected","lessThan":"7455b7007b9e93bcc2bc9c1c6c73a228e3152069","versionType":"git"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/clk/microchip/clk-mpfs.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"6.1","status":"affected"},{"version":"0","status":"unaffected","lessThan":"6.1","versionType":"semver"},{"version":"6.1.28","status":"unaffected","lessThanOrEqual":"6.1.*","versionType":"semver"},{"version":"6.2.15","status":"unaffected","lessThanOrEqual":"6.2.*","versionType":"semver"},{"version":"6.3.2","status":"unaffected","lessThanOrEqual":"6.3.*","versionType":"semver"},{"version":"6.4","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/clk/microchip/clk-mpfs.c"]}],"references":["https://git.kernel.org/stable/c/5b4052aa956e11bcd19e50ca559eb38dcb46201b","https://git.kernel.org/stable/c/d7d6dacf39ed102d7667721ca1700022c9c8b11a","https://git.kernel.org/stable/c/934406b2d42eaf3fc57f5546cc68ff7ab9680bb3","https://git.kernel.org/stable/c/7455b7007b9e93bcc2bc9c1c6c73a228e3152069"],"weaknesses":[],"ingestedAt":"2026-10-29T20:06:33.064Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2023/53xxx/CVE-2023-53636.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2023-53636","state":"PUBLISHED","datePublished":"2025-10-07T15:19:37.655Z","dateUpdated":"2026-05-11T19:48:59.161Z","assignerShortName":"Linux","assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateReserved":"2025-10-07T15:16:59.657Z"},"containers":{"cna":{"title":"clk: microchip: fix potential UAF in auxdev release callback","descriptions":[{"lang":"en","value":"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."}],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"b56bae2dd6fda6baf3bb74af3812676eebdd52f2","status":"affected","lessThan":"5b4052aa956e11bcd19e50ca559eb38dcb46201b","versionType":"git"},{"version":"b56bae2dd6fda6baf3bb74af3812676eebdd52f2","status":"affected","lessThan":"d7d6dacf39ed102d7667721ca1700022c9c8b11a","versionType":"git"},{"version":"b56bae2dd6fda6baf3bb74af3812676eebdd52f2","status":"affected","lessThan":"934406b2d42eaf3fc57f5546cc68ff7ab9680bb3","versionType":"git"},{"version":"b56bae2dd6fda6baf3bb74af3812676eebdd52f2","status":"affected","lessThan":"7455b7007b9e93bcc2bc9c1c6c73a228e3152069","versionType":"git"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/clk/microchip/clk-mpfs.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"6.1","status":"affected"},{"version":"0","status":"unaffected","lessThan":"6.1","versionType":"semver"},{"version":"6.1.28","status":"unaffected","lessThanOrEqual":"6.1.*","versionType":"semver"},{"version":"6.2.15","status":"unaffected","lessThanOrEqual":"6.2.*","versionType":"semver"},{"version":"6.3.2","status":"unaffected","lessThanOrEqual":"6.3.*","versionType":"semver"},{"version":"6.4","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/clk/microchip/clk-mpfs.c"]}],"references":[{"url":"https://git.kernel.org/stable/c/5b4052aa956e11bcd19e50ca559eb38dcb46201b"},{"url":"https://git.kernel.org/stable/c/d7d6dacf39ed102d7667721ca1700022c9c8b11a"},{"url":"https://git.kernel.org/stable/c/934406b2d42eaf3fc57f5546cc68ff7ab9680bb3"},{"url":"https://git.kernel.org/stable/c/7455b7007b9e93bcc2bc9c1c6c73a228e3152069"}],"providerMetadata":{"shortName":"Linux","orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateUpdated":"2026-05-11T19:48:59.161Z"},"cpeApplicability":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.1","versionEndExcluding":"6.1.28"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.1","versionEndExcluding":"6.2.15"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.1","versionEndExcluding":"6.3.2"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.1","versionEndExcluding":"6.4"}]}]}],"x_generator":{"engine":"bippy-1.2.0"}}}}}