CVE-2022-48661

MediumCVSS 5.5/10Last modified Jun 17, 2026

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.

Metrics

CVSS 3.1 5.5/10CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

Weakness enumeration

Affected software

VendorProductVersions
LinuxLinux>= 6fda593f3082ef1aa783ac13e89f673fd69a2cb6, < 9b26723e058faaf11b532fb4aa16d6849d581790; >= 6fda593f3082ef1aa783ac13e89f673fd69a2cb6, < 41f857033c44442a27f591fda8d986e7c9e42872; >= 6fda593f3082ef1aa783ac13e89f673fd69a2cb6, < 02743c4091ccfb246f5cdbbe3f44b152d5d12933
LinuxLinux5.15

References

Timeline

Published
Apr 28, 2024
Last modified
Jun 17, 2026
NVD status
Modified

Related CVEs from 2022

CVE-2022-486627.8In the Linux kernel, the following vulnerability has been resolved: drm/i915/gem: Really move i915_gem_context.link under ref protection iCVE-2022-486635.5In the Linux kernel, the following vulnerability has been resolved: gpio: mockup: fix NULL pointer dereference when removing debugfs We noCVE-2022-486645.5In the Linux kernel, the following vulnerability has been resolved: btrfs: fix hang during unmount when stopping a space reclaim worker OfCVE-2022-486655.5In the Linux kernel, the following vulnerability has been resolved: exfat: fix overflow for large capacity partition Using int type for seCVE-2022-486669.8In the Linux kernel, the following vulnerability has been resolved: scsi: core: Fix a use-after-free There are two .exit_cmd_priv implemenCVE-2022-486673.3In the Linux kernel, the following vulnerability has been resolved: smb3: fix temporary data corruption in insert range insert range doesnCVE-2022-486683.3In the Linux kernel, the following vulnerability has been resolved: smb3: fix temporary data corruption in collapse range collapse range dCVE-2022-486695.5In the Linux kernel, the following vulnerability has been resolved: powerpc/pseries: Fix potential memleak in papr_get_attr() `buf` is allCVE-2022-48674.3Cross-Site Request Forgery (CSRF) in GitHub repository froxlor/froxlor prior to 2.0.0-beta1.CVE-2022-486707.8In the Linux kernel, the following vulnerability has been resolved: peci: cpu: Fix use-after-free in adev_release() When auxiliary_device_CVE-2022-486715.5In the Linux kernel, the following vulnerability has been resolved: cgroup: Add missing cpus_read_lock() to cgroup_attach_task_all() syzboCVE-2022-486727.8In the Linux kernel, the following vulnerability has been resolved: of: fdt: fix off-by-one error in unflatten_dt_nodes() Commit 78c44d910
CVE-2022-48661: Medium severity, CVSS 5.5 | Vulnix