What’s Vulnerable › Vulnerabilities

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

Description

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 products

How to fix

Upgrade to a fixed version: Linux kernel 5.15.71, 5.19.12. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2022-48661 or the next vulnerability affects your stack