Description
In the Linux kernel, the following vulnerability has been resolved:
peci: cpu: Fix use-after-free in adev_release()
When auxiliary_device_add() returns an error, auxiliary_device_uninit() is called, which causes refcount for device to be decremented and .release callback will be triggered.
Because adev_release() re-calls auxiliary_device_uninit(), it will cause use-after-free: [ 1269.455172] WARNING: CPU: 0 PID: 14267 at lib/refcount.c:28 refcount_warn_saturate+0x110/0x15 [ 1269.464007] refcount_t: underflow; use-after-free.
Metrics
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HWeakness enumeration
Affected software
| Vendor | Product | Versions |
|---|---|---|
| Linux | Linux | >= 93e1821c80f9460c8931dc4bc090ede794f966cd, < c87f1f99e26ea4ae08cabe753ae98e5626bdba89; >= 93e1821c80f9460c8931dc4bc090ede794f966cd, < 1c11289b34ab67ed080bbe0f1855c4938362d9cf |
| Linux | Linux | 5.18 |
| linux | linux_kernel | -1da177e4c3f4 |
| linux | linux_kernel | — |
| linux | linux_kernel | — |
References
- https://git.kernel.org/stable/c/1c11289b34ab67ed080bbe0f1855c4938362d9cfPatch
- https://git.kernel.org/stable/c/c87f1f99e26ea4ae08cabe753ae98e5626bdba89Patch
- https://git.kernel.org/stable/c/1c11289b34ab67ed080bbe0f1855c4938362d9cfPatch
- https://git.kernel.org/stable/c/c87f1f99e26ea4ae08cabe753ae98e5626bdba89Patch
Timeline
- Published
- May 3, 2024
- Last modified
- Aug 13, 2026
- NVD status
- Analyzed