clk: microchip: fix potential UAF in auxdev release callback
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.
- Products
- Kernel
- Affected versions
- Not specified
- Fixed versions
- 6.1.28, 6.2.15, 6.3.2
- CVEs
- CVE-2023-53636
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 2 Nov 2026, 23:16 UTC · Revision 1
Source evidence
clk: microchip: fix potential UAF in auxdev release callback
core-osv · Original sourcePublished 7 Oct 2025, 15:19 UTC
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.
osv:CVE-2023-53636
Kernel
Fixed versions: 6.1.28, 6.2.15, 6.3.2
Complete source record
{
"id": "ee2eee0549fc0e73d0cdd8e8b3e54fa6853fea20034871b4351d152b67a051fc",
"url": "https://osv.dev/vulnerability/CVE-2023-53636",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "clk: microchip: fix potential UAF in auxdev release callback",
"summary": "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.",
"evidence": "osv:CVE-2023-53636",
"products": [
{
"name": {
"value": "Kernel",
"evidence": "/affected/1/package/name"
},
"prerequisites": [],
"fixed_versions": [
{
"value": "6.1.28",
"evidence": "/affected/1/ranges"
},
{
"value": "6.2.15",
"evidence": "/affected/1/ranges"
},
{
"value": "6.3.2",
"evidence": "/affected/1/ranges"
}
],
"affected_versions": []
}
],
"severity": "unknown",
"structured": {
"id": "CVE-2023-53636",
"aliases": [
"CVE-2023-53636"
],
"affected": [
{
"ranges": [
{
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"type": "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"
}
},
{
"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"
}
]
}
],
"package": {
"name": "Kernel",
"ecosystem": "Linux"
},
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2023-53636.json"
}
}
],
"modified": "2026-10-28T02:30:24.477046418Z",
"provider": "osv",
"references": [
"https://git.kernel.org/stable/c/5b4052aa956e11bcd19e50ca559eb38dcb46201b",
"https://git.kernel.org/stable/c/7455b7007b9e93bcc2bc9c1c6c73a228e3152069",
"https://git.kernel.org/stable/c/934406b2d42eaf3fc57f5546cc68ff7ab9680bb3",
"https://git.kernel.org/stable/c/d7d6dacf39ed102d7667721ca1700022c9c8b11a",
"https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/53xxx/CVE-2023-53636.json",
"https://nvd.nist.gov/vuln/detail/CVE-2023-53636",
"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"
],
"provider_metadata": {
"cna_assigner": "Linux",
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/53xxx/CVE-2023-53636.json"
}
},
"related_cves": [
{
"value": "CVE-2023-53636",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": null
},
"source_id": "core-osv",
"document_id": 490799,
"published_at": "2025-10-07T15:19:37.655+00:00"
}