CVE-2023-53636
N/A
N/A
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.
Affected Software
| Vendor | Product | Version Range | Status |
|---|---|---|---|
| Linux | Linux | b56bae2dd6fda6baf3bb74af3812676eebdd52f2 < 5b4052aa956e11bcd19e50ca559eb38dcb46201b | affected |
| Linux | Linux | b56bae2dd6fda6baf3bb74af3812676eebdd52f2 < d7d6dacf39ed102d7667721ca1700022c9c8b11a | affected |
| Linux | Linux | b56bae2dd6fda6baf3bb74af3812676eebdd52f2 < 934406b2d42eaf3fc57f5546cc68ff7ab9680bb3 | affected |
| Linux | Linux | b56bae2dd6fda6baf3bb74af3812676eebdd52f2 < 7455b7007b9e93bcc2bc9c1c6c73a228e3152069 | affected |
| Linux | Linux | 6.1 | affected |
| Linux | Linux | 0 < 6.1 | unaffected |
| Linux | Linux | 6.1.28 <= 6.1.* | unaffected |
| Linux | Linux | 6.2.15 <= 6.2.* | unaffected |
| Linux | Linux | 6.3.2 <= 6.3.* | unaffected |
| Linux | Linux | 6.4 <= * | unaffected |
Weaknesses
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
Feedback
Was this page helpful?
Glad to hear it! Please tell us how we can improve.
Sorry to hear that. Please tell us how we can improve.