CVE-2022-48661

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

State
Published
Severity
Not scored
Published
Apr 28, 2024
Updated
May 11, 2026
Reserved
Feb 25, 2024

Read the record on cve.org

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

The record has no CVSS score.

Weaknesses

The record names no weakness.

Affected Products

ProductVersions
LinuxLinux
  • 6fda593f3082ef1aa783ac13e89f673fd69a2cb6 to before 9b26723e058faaf11b532fb4aa16d6849d581790Affected
  • 6fda593f3082ef1aa783ac13e89f673fd69a2cb6 to before 41f857033c44442a27f591fda8d986e7c9e42872Affected
  • 6fda593f3082ef1aa783ac13e89f673fd69a2cb6 to before 02743c4091ccfb246f5cdbbe3f44b152d5d12933Affected
LinuxLinux
  • 5.15Affected
  • before 5.15Not affected
  • 5.15.71 through 5.15.*Not affected
  • 5.19.12 through 5.19.*Not affected
  • 6.0 and laterNot affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.