Skip to content
CVE PROGRAM SOURCE RECORD5.5 Medium

CVE-2022-48669

powerpc/pseries: Fix potential memleak in papr_get_attr()

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.

Affected products

Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.

Linux Linux

Default version status: unaffected

  • 3c14b73454cf9f6e2146443fdfbdfb912c0efed3 to < a3f22feb2220a945d1c3282e34199e8bcdc5afc4affected
  • 3c14b73454cf9f6e2146443fdfbdfb912c0efed3 to < 1699fb915b9f61794d559b55114c09a390aaf234affected
  • 3c14b73454cf9f6e2146443fdfbdfb912c0efed3 to < 7f7d39fe3d80d6143404940b2413010cf6527029affected
  • 3c14b73454cf9f6e2146443fdfbdfb912c0efed3 to < d0647c3e81eff62b66d46fd4e475318cb8cb3610affected
  • 3c14b73454cf9f6e2146443fdfbdfb912c0efed3 to < cda9c0d556283e2d4adaa9960b2dc19b16156baeaffected

Linux Linux

Default version status: affected

  • 5.18affected
  • 0 to < 5.18unaffected
  • 6.1.83 to ≤ 6.1.*unaffected
  • 6.6.23 to ≤ 6.6.*unaffected
  • 6.7.11 to ≤ 6.7.*unaffected
  • 6.8.2 to ≤ 6.8.*unaffected
  • 6.9 to ≤ *unaffected

References