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

Published May 3, 2024
·
Updated

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

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

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.

Affected Software

7 affected componentsFixes available
Linux Linux kernel>=5.18<5.19.10
Linux Linux kernel=6.0-rc1
Linux Linux kernel=6.0-rc2
Linux Linux kernel=6.0-rc3
Microsoft cbl2 kernel 5.15.173.1-1
Microsoft cbl2 kernel 5.15.173.1-1
Microsoft cbl2 kernel 5.15.158.2-1

Event History

May 3, 2024
CVE Published
via MITRE·02:49 PM
Data Sourced
via MITRE·02:49 PM
Description
Data Sourced
via NVD·03:15 PM
RemedyDescriptionSeverityWeaknessAffected Software
May 24, 2024
Data Sourced
via Microsoft·07:00 AM
DescriptionSeverityWeakness
Data Sourced
via Microsoft·07:00 AM
Affected Software
Updated
via Microsoft·07:00 AM
Description
Updated
via Microsoft·07:00 AM
DescriptionSeverity

Frequently Asked Questions

1

What is the severity of CVE-2022-48670?

CVE-2022-48670 has been classified as a medium severity vulnerability in the Linux kernel.

2

How do I fix CVE-2022-48670?

To fix CVE-2022-48670, you should update your Linux kernel to versions 5.19.10 or later, or to 6.0-rc4 or later.

3

What kind of vulnerability is CVE-2022-48670?

CVE-2022-48670 is a use-after-free vulnerability affecting the auxiliary device handling in the Linux kernel.

4

Which Linux kernel versions are affected by CVE-2022-48670?

CVE-2022-48670 affects Linux kernel versions from 5.18 up to 5.19.10 and specific 6.0 release candidates.

5

What are the potential impacts of CVE-2022-48670?

Exploitation of CVE-2022-48670 could lead to denial of service or potential arbitrary code execution due to memory corruption.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203