CVE-2022-48661

Source
https://cve.org/CVERecord?id=CVE-2022-48661
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2022-48661.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2022-48661
Downstream
Published
2024-04-28T13:01:26.940Z
Modified
2026-03-13T06:48:20.074087Z
Summary
gpio: mockup: Fix potential resource leakage when register a chip
Details

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.

Database specific
{
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/48xxx/CVE-2022-48661.json",
    "cna_assigner": "Linux"
}
References

Affected packages

Git / git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git

Affected ranges

Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
6fda593f3082ef1aa783ac13e89f673fd69a2cb6
Fixed
9b26723e058faaf11b532fb4aa16d6849d581790
Fixed
41f857033c44442a27f591fda8d986e7c9e42872
Fixed
02743c4091ccfb246f5cdbbe3f44b152d5d12933

Database specific

source
"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2022-48661.json"