NetSight
medium5.5

CVE-2022-48661

In the Linux kernel, the following vulnerability has been resolved: gpio: mockup: Fix potential resource leakage when register a chip If creation of software n…

Impact

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

VendorProductAffected versions
LinuxLinux Kernel
from 5.15 before 5.15.71
from 5.16 before 5.19.12

Weakness classification

References