CVE-2022-48670
published high CVSS 3.1 · 7.8peci: cpu: Fix use-after-free in adev_release()
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Linux | — | Linux93e1821c80f9460c8931dc4bc090ede794f966cd to < c87f1f99e26ea4ae08cabe753ae98e5626bdba89 · 93e1821c80f9460c8931dc4bc090ede794f966cd to < 1c11289b34ab67ed080bbe0f1855c4938362d9cf · Other versions: unaffected | Affected | Not stated | Linux |
| Linux | — | Linux5.18 (affected) · 0 to < 5.18 (unaffected · semver) · 5.19.10 through 5.19.* (unaffected · semver) · 6.0 and later (unaffected · original_commit_for_fix) · Other versions: affected | Version-specific | Not stated | Linux |
| linux | — | linux_kernel-1da177e4c3f4 · Other versions: unknown | Affected | Not stated | CISA-ADP |
| linux | — | linux_kernel-5.19.10 · Other versions: unknown | Unaffected | Not stated | CISA-ADP |
| Amazon Linux | AL2 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
| Amazon Linux | AL2023 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
| linux | — | linux_kernel-6.0 · Other versions: unknown | Unaffected | Not stated | CISA-ADP |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 7.8 / 10
- Severity
- high
- Provider
- CISA-ADP · adp
- Vector string
- CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Linux | Linux | 93e1821c80f9460c8931dc4bc090ede794f966cd to < c87f1f99e26ea4ae08cabe753ae98e5626bdba89 (affected · git)93e1821c80f9460c8931dc4bc090ede794f966cd to < 1c11289b34ab67ed080bbe0f1855c4938362d9cf (affected · git)Default: unaffected | Linux · cna |
| Linux | Linux | 5.18 (affected)0 to < 5.18 (unaffected · semver)5.19.10 through 5.19.* (unaffected · semver)6.0 and later (unaffected · original_commit_for_fix)Default: affected | Linux · cna |
| linux | linux_kernel | -1da177e4c3f4 (affected)Default: unknown | CISA-ADP · adp |
| linux | linux_kernel | -5.19.10 (unaffected)Default: unknown | CISA-ADP · adp |
| linux | linux_kernel | -6.0 (unaffected)Default: unknown | CISA-ADP · adp |
Weaknesses
1- CWE-416 CWE-416 Use After Free
References
2Provider assertions
3Linux · cna
peci: cpu: Fix use-after-free in adev_release()
CISA-ADP · adp
CISA ADP Vulnrichment
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 4319e079b5d836cc5b280bd4f4b79863ad2c6dacb39e75211f39bebaaea15b8e
- Ingested
- 23 Sep 2026, 08:03:53 UTC
- Source record
- Official CVE record