← CVE Intelligence

CVE-2022-48661

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

Description (CNA)

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 (CNA)

Vendor / productVersions
Linux / Linuxaffected 6fda593f3082ef1aa783ac13e89f673fd69a2cb6 before 9b26723e058faaf11b532fb4aa16d6849d581790; affected 6fda593f3082ef1aa783ac13e89f673fd69a2cb6 before 41f857033c44442a27f591fda8d986e7c9e42872; affected 6fda593f3082ef1aa783ac13e89f673fd69a2cb6 before 02743c4091ccfb246f5cdbbe3f44b152d5d12933
Linux / Linuxaffected 5.15; unaffected 0 before 5.15; unaffected 5.15.71 through 5.15.*; unaffected 5.19.12 through 5.19.*; unaffected 6.0 through *

CWE

No CWE identifiers supplied.

References

ADP enrichment

CVE

No English description supplied.

CISA-ADP

No English description supplied.

No references supplied.