CVE-2022-48661: gpio: mockup: Fix potential resource leakage when register a chip
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
Remediation
Event History
Frequently Asked Questions
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.
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.
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.
Is a patch available for CVE-2022-48661?
Yes, a patch is available and included in the updates for the affected Linux kernel versions.
What components are impacted by CVE-2022-48661 in the Linux kernel?
The vulnerability impacts the GPIO mockup component of the Linux kernel.