CVE-2022-48661

MEDIUM

Linux Kernel - Improper Resource Shutdown or Release in GPIO Mockup Chip Registration

Title source: llm
STIX 2.1

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.

Scores

CVSS v3 5.5
EPSS 0.0022
EPSS Percentile 12.7%
Attack Vector LOCAL
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

CISA SSVC

Vulnrichment
Exploitation none
Automatable no
Technical Impact partial

Details

CWE
CWE-404
Status published
Products (11)
linux/Kernel 5.15.0 - 5.15.71linux
linux/Kernel 5.16.0 - 5.19.12linux
Linux/Linux < 5.15
Linux/Linux 5.15
Linux/Linux 5.15.71 - 5.15.*
Linux/Linux 5.19.12 - 5.19.*
Linux/Linux 6.0
Linux/Linux 6fda593f3082ef1aa783ac13e89f673fd69a2cb6 - 02743c4091ccfb246f5cdbbe3f44b152d5d12933
Linux/Linux 6fda593f3082ef1aa783ac13e89f673fd69a2cb6 - 41f857033c44442a27f591fda8d986e7c9e42872
Linux/Linux 6fda593f3082ef1aa783ac13e89f673fd69a2cb6 - 9b26723e058faaf11b532fb4aa16d6849d581790
... and 1 more
Published Apr 28, 2024
Tracked Since Feb 18, 2026