CVE-2022-48661

published 28 Apr 2024 · updated 11 May 2026

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

5.0MediumEPSS 0%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel 02743c4091ccfb246f5cdbbe3f44b152d5d12933, Kernel 41f857033c44442a27f591fda8d986e7c9e42872 and Kernel 9b26723e058faaf11b532fb4aa16d6849d581790.

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

Vendors, products and packages with version ranges

VendorProductVersionsFixed
LinuxKernel=5.15, >=6fda593f3082ef1aa783ac13e89f673fd69a2cb6 <02743c4091ccfb246f5cdbbe3f44b152d5d12933, >=6fda593f3082ef1aa783ac13e89f673fd69a2cb6 <41f857033c44442a27f591fda8d986e7c9e42872, >=6fda593f3082ef1aa783ac13e89f673fd69a2cb6 <9b26723e058faaf11b532fb4aa16d6849d58179002743c4091ccfb246f5cdbbe3f44b152d5d12933, 41f857033c44442a27f591fda8d986e7c9e42872, 9b26723e058faaf11b532fb4aa16d6849d581790

Timeline

Every event on this vulnerability

Related

Other vulnerabilities in Kernel, strongest first

Embed

A live severity badge for an advisory, README or ticket

CVE-2022-48661 severity on Zeptric[![CVE-2022-48661](https://zeptric.io/badge/cve/CVE-2022-48661.svg)](https://zeptric.io/cve/CVE-2022-48661)