CVE-2022-48670

Source
https://cve.org/CVERecord?id=CVE-2022-48670
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2022-48670.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2022-48670
Downstream
Published
2024-05-03T14:49:54.401Z
Modified
2026-03-14T11:56:16.224508Z
Severity
  • 7.8 (High) CVSS_V3 - CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H CVSS Calculator
Summary
peci: cpu: Fix use-after-free in adev_release()
Details

In the Linux kernel, the following vulnerability has been resolved:

peci: cpu: Fix use-after-free in adev_release()

When auxiliarydeviceadd() returns an error, auxiliarydeviceuninit() is called, which causes refcount for device to be decremented and .release callback will be triggered.

Because adevrelease() re-calls auxiliarydeviceuninit(), it will cause use-after-free: [ 1269.455172] WARNING: CPU: 0 PID: 14267 at lib/refcount.c:28 refcountwarnsaturate+0x110/0x15 [ 1269.464007] refcountt: underflow; use-after-free.

Database specific
{
    "cna_assigner": "Linux",
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/48xxx/CVE-2022-48670.json"
}
References

Affected packages

Git / git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git

Affected ranges

Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
6523d3b2ffa238ac033c34a726617061d6a744aa
Fixed
c87f1f99e26ea4ae08cabe753ae98e5626bdba89
Fixed
1c11289b34ab67ed080bbe0f1855c4938362d9cf

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2022-48670.json"