CVE-2022-48669Published May 1, 2024 · May 1Updated Oct 28
powerpc/pseries: Fix potential memleak in papr_get_attr()
Linux
Medium5.5Fix available
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
| No fix yet |
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
| No fix yet |
| Linux Linux |
|
|
In the Linux kernel, the following vulnerability has been resolved:
powerpc/pseries: Fix potential memleak in papr_get_attr()
`buf` is allocated in papr_get_attr(), and krealloc() of `buf` could fail. We need to free the original `buf` in the case of failure.
From the CVE record · Linux
The Linux kernel's powerpc/pseries papr_get_attr() can leak memory if resizing an allocated buffer fails. The input does not specify how an attacker could trigger the failure or whether access or user interaction is required.
Engineers running Linux kernels that include the affected powerpc/pseries code should check their versions against the vendor advisory; affected versions are not specified.