PT-2024-11840

CVE-2022-48975

·

Published

2022-11-28

·

Updated

2026-10-21

Description by

CVSS 3.1
8.8
High
MetricsAV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/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.
Exploitability
Exploit
Impacts
Vendors
Affected products
Related identifiers
ALSA-2025_16880
CLSA-2026-1783791447
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
Found an issue in the description? Have something to add? Feel free to write us 👾