5.5medium
gpio: mockup: Fix potential resource leakage when register a chip
- Severity
- 5.5medium CVSS:3.1 by NVD
- Exploit likelihood
- 0.22% (higher than 13% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- Linux
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.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| Linux Linux | from 6fda593f3082ef1aa783ac13e89f673fd69a2cb6 before 9b26723e058faaf11b532fb4aa16d6849d581790, from 6fda593f3082ef1aa783ac13e89f673fd69a2cb6 before 41f857033c44442a27f591fda8d986e7c9e42872, from 6fda593f3082ef1aa783ac13e89f673fd69a2cb6 before 02743c4091ccfb246f5cdbbe3f44b152d5d12933, 5.15 Not affected: before 5.15, from 5.15.71 up to 5.15.*, from 5.19.12 up to 5.19.*, from 6.0 up to * | CVE List |
| linux linux_kernel | from 5.15 before 5.15.71, from 5.16 before 5.19.12 | NVD |
Classification
SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.
What each source says
CVE List
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.
NVD (es)
En el kernel de Linux, se resolvió la siguiente vulnerabilidad: gpio: maqueta: corrige una posible fuga de recursos al registrar un chip. Si falla la creación del nodo de software, la matriz de cadenas asignada localmente queda sin liberar. Libérelo en la ruta de error.
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2022-48661 changed 2026-05-11 | CVE Terms of Use |
| NVD | CVE-2022-48661 changed 2026-06-17 | Public domain |