CVE-2022-48661: gpio: mockup: Fix potential resource leakage when register a chip

Published Apr 28, 2024
·
Updated

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

gpio: mockup: Fix potential resource leakage when register a chip

If creation of software node fails, the locally allocated string array is left unfreed. Free it on error path.

Affected Software

2 affected components
Linux Linux kernel>=5.15<5.15.71
Linux Linux kernel>=5.16<5.19.12

Event History

Apr 28, 2024
CVE Published
via MITRE·01:01 PM
Data Sourced
via MITRE·01:01 PM
Description
Data Sourced
via NVD·01:15 PM
Description

Frequently Asked Questions

1

What is the severity of CVE-2022-48661?

CVE-2022-48661 has a medium severity rating due to the potential resource leakage in the Linux kernel.

2

How do I fix CVE-2022-48661?

To fix CVE-2022-48661, update the Linux kernel to a version beyond 5.15.71 or 5.19.12 depending on your current version.

3

What versions of the Linux kernel are affected by CVE-2022-48661?

CVE-2022-48661 affects Linux kernel versions from 5.15 up to but not including 5.15.71 and from 5.16 up to but not including 5.19.12.

4

Is a patch available for CVE-2022-48661?

Yes, a patch is available and included in the updates for the affected Linux kernel versions.

5

What components are impacted by CVE-2022-48661 in the Linux kernel?

The vulnerability impacts the GPIO mockup component of the Linux kernel.

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