# CVE-2022-48669: powerpc/pseries: Fix potential memleak in papr_get_attr()

- Severity: Medium 5.5 (CVSS:3.1, scored by CISA-ADP) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.27%, higher than 20% of CVEs (2026-12-01)
- Published: 2024-05-01T13:03:55.005Z
- Modified: 2026-06-17T05:15:52.720Z
- Weaknesses: CWE-401
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: Linux

## Description

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.

(As written by CVE List.)

## Affected

- Linux Linux: from 3c14b73454cf9f6e2146443fdfbdfb912c0efed3 before a3f22feb2220a945d1c3282e34199e8bcdc5afc4; from 3c14b73454cf9f6e2146443fdfbdfb912c0efed3 before 1699fb915b9f61794d559b55114c09a390aaf234; from 3c14b73454cf9f6e2146443fdfbdfb912c0efed3 before 7f7d39fe3d80d6143404940b2413010cf6527029; from 3c14b73454cf9f6e2146443fdfbdfb912c0efed3 before d0647c3e81eff62b66d46fd4e475318cb8cb3610; from 3c14b73454cf9f6e2146443fdfbdfb912c0efed3 before cda9c0d556283e2d4adaa9960b2dc19b16156bae; 5.18 (not affected: before 5.18; from 6.1.83 up to 6.1.*; from 6.6.23 up to 6.6.*; from 6.7.11 up to 6.7.*; from 6.8.2 up to 6.8.*; from 6.9 up to *)
- linux linux_kernel: from 5.18 before 6.1.83; from 6.2 before 6.6.23; from 6.7 before 6.7.11; from 6.8 before 6.8.2

## References

- <https://git.kernel.org/stable/c/a3f22feb2220a945d1c3282e34199e8bcdc5afc4> (patch)
- <https://git.kernel.org/stable/c/1699fb915b9f61794d559b55114c09a390aaf234> (patch)
- <https://git.kernel.org/stable/c/7f7d39fe3d80d6143404940b2413010cf6527029> (patch)
- <https://git.kernel.org/stable/c/d0647c3e81eff62b66d46fd4e475318cb8cb3610> (patch)
- <https://git.kernel.org/stable/c/cda9c0d556283e2d4adaa9960b2dc19b16156bae> (patch)

## Sources

- CVE List: [CVE-2022-48669](https://www.cve.org/CVERecord?id=CVE-2022-48669), CVE Terms of Use, modified 2026-05-11
- NVD: [CVE-2022-48669](https://nvd.nist.gov/vuln/detail/CVE-2022-48669), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2022-48669 · Whole record: https://cve.day/CVE-2022-48669.json · Rebuilt by cve.day 2026-11-25T22:58:19.794Z
