PT-2024-11840 · Linux+5 · Linux Kernel+5

Published

2022-11-28

·

Updated

2026-03-14

·

CVE-2022-48975

CVSS v3.1

5.5

Medium

VectorAV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
Name of the Vulnerable Software and Affected Versions Linux kernel (affected versions not specified)
Description A memory leak has been resolved in the Linux kernel, specifically in the gpiochip setup dev() function. The issue occurred when device add() succeeded, but some resources, such as struct device private, were not released by device del(). This led to a memory leak, which has been fixed by calling put device() to release the resources in the error handle path. Additionally, a subtle issue has been addressed where kcalloc() was called with gc->ngpio equal to 0, resulting in unnecessary resource allocation and potential incorrect expectations about the contents of the gdev->descs variable.
Recommendations At the moment, there is no information about a newer version that contains a fix for this vulnerability.

Exploit

Memory Leak

Information Disclosure

Found an issue in the description? Have something to add? Feel free to write us 👾

Weakness Enumeration

Related Identifiers

ALSA-2025_16880
BDU:2025-01684
CVE-2022-48975
OESA-2024-2368
OESA-2024-2369
OESA-2024-2371
OPENSUSE-SU-2024_3983-1
OPENSUSE-SU-2024_3985-1
OPENSUSE-SU-2024_4131-1
RHSA-2023:6583
RHSA-2023_6583
SUSE-SU-2024:3983-1
SUSE-SU-2024:3985-1
SUSE-SU-2024:4082-1
SUSE-SU-2024:4131-1
SUSE-SU-2024:4364-1
SUSE-SU-2025:0834-1
SUSE-SU-2025_0834-1

Affected Products

Astra Linux
Debian
Linux Kernel
Red Hat
Red Os
Suse