CVE-2022-48669

powerpc/pseries: Fix potential memleak in papr_get_attr()

State
Published
Severity
5.5 Medium
Published
May 1, 2024
Updated
May 11, 2026
Reserved
Feb 25, 2024

Read the record on cve.org

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.

Scores

CVSSScoreVectorSource
3.15.5 MediumCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:HCISA-ADP

Weaknesses

The record names no weakness.

Affected Products

ProductVersions
LinuxLinux
  • 3c14b73454cf9f6e2146443fdfbdfb912c0efed3 to before a3f22feb2220a945d1c3282e34199e8bcdc5afc4Affected
  • 3c14b73454cf9f6e2146443fdfbdfb912c0efed3 to before 1699fb915b9f61794d559b55114c09a390aaf234Affected
  • 3c14b73454cf9f6e2146443fdfbdfb912c0efed3 to before 7f7d39fe3d80d6143404940b2413010cf6527029Affected
  • 3c14b73454cf9f6e2146443fdfbdfb912c0efed3 to before d0647c3e81eff62b66d46fd4e475318cb8cb3610Affected
  • 3c14b73454cf9f6e2146443fdfbdfb912c0efed3 to before cda9c0d556283e2d4adaa9960b2dc19b16156baeAffected
LinuxLinux
  • 5.18Affected
  • before 5.18Not affected
  • 6.1.83 through 6.1.*Not affected
  • 6.6.23 through 6.6.*Not affected
  • 6.7.11 through 6.7.*Not affected
  • 6.8.2 through 6.8.*Not affected
  • 6.9 and laterNot affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.