CVE-2022-48661Published Apr 28, 2024 · Apr 28Updated Oct 28
gpio: mockup: Fix potential resource leakage when register a chip
Linux
Medium5.5Fix available
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
| No fix yet |
| Linux Linux |
|
|
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
| No fix yet |
| Linux Linux |
|
|
5.15.715.19.126.0In 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.
From the CVE record · Linux
The Linux kernel gpio mockup can leak a locally allocated string array if software node creation fails while registering a chip. The input does not establish how an attacker could trigger the failure or whether network access, authentication, or user interaction is required.
Engineers running Linux kernels with gpio mockup should check their versions against the vendor advisory; affected versions were not provided.