CVE-2022-48669
Assigner: Linux
Published: 2024-05-01T13:03:55.005Z
State: PUBLISHED
descriptions: value: 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: product: Linux
vendor: Linux
defaultStatus: unaffected
repo: https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
versions: version: 3c14b73454cf
lessThan: a3f22feb2220
status: affected
versionType: git
version: 3c14b73454cf
lessThan: 1699fb915b9f
status: affected
versionType: git
version: 3c14b73454cf
lessThan: 7f7d39fe3d80
status: affected
versionType: git
version: 3c14b73454cf
lessThan: d0647c3e81ef
status: affected
versionType: git
version: 3c14b73454cf
lessThan: cda9c0d55628
status: affected
versionType: git
product: Linux
vendor: Linux
defaultStatus: affected
repo: https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
versions: version: 5.18
status: affected
version: 0
lessThan: 5.18
status: unaffected
versionType: custom
version: 6.1.83
lessThanOrEqual: 6.1.*
status: unaffected
versionType: custom
version: 6.6.23
lessThanOrEqual: 6.6.*
status: unaffected
versionType: custom
version: 6.7.11
lessThanOrEqual: 6.7.*
status: unaffected
versionType: custom
version: 6.8.2
lessThanOrEqual: 6.8.*
status: unaffected
versionType: custom
version: 6.9
lessThanOrEqual: *
status: unaffected
versionType: original_commit_for_fix
title: powerpc/pseries: Fix potential memleak in papr_get_attr()
x_generator: engine: bippy-d175d3acf727