In the Linux kernel, the following vulnerability has been resolved:
powerpc/pseries: Fix potential memleak in paprgetattr()
buf
is allocated in paprgetattr(), and krealloc() of buf
could fail. We need to free the original buf
in the case of failure.
{ "vanir_signatures": [ { "signature_version": "v1", "digest": { "length": 1002.0, "function_hash": "211158042593872978883898335081614729427" }, "id": "CVE-2022-48669-30adcaf3", "deprecated": false, "target": { "file": "arch/powerpc/platforms/pseries/papr_platform_attributes.c", "function": "papr_get_attr" }, "signature_type": "Function", "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@a3f22feb2220a945d1c3282e34199e8bcdc5afc4" }, { "signature_version": "v1", "digest": { "threshold": 0.9, "line_hashes": [ "298153506858706440359075718712279883545", "262148549684920277831992400093721244503", "174341471806385187264313912700529158048", "155715622527247674292025157906235923759", "32837600125634052911320929528963941922", "192672743350148487966188796334210734579", "228628641680125881006910039648594157172" ] }, "id": "CVE-2022-48669-6af9eb77", "deprecated": false, "target": { "file": "arch/powerpc/platforms/pseries/papr_platform_attributes.c" }, "signature_type": "Line", "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@d0647c3e81eff62b66d46fd4e475318cb8cb3610" }, { "signature_version": "v1", "digest": { "threshold": 0.9, "line_hashes": [ "298153506858706440359075718712279883545", "262148549684920277831992400093721244503", "174341471806385187264313912700529158048", "155715622527247674292025157906235923759", "32837600125634052911320929528963941922", "192672743350148487966188796334210734579", "228628641680125881006910039648594157172" ] }, "id": "CVE-2022-48669-92978b24", "deprecated": false, "target": { "file": "arch/powerpc/platforms/pseries/papr_platform_attributes.c" }, "signature_type": "Line", "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@7f7d39fe3d80d6143404940b2413010cf6527029" }, { "signature_version": "v1", "digest": { "length": 1002.0, "function_hash": "211158042593872978883898335081614729427" }, "id": "CVE-2022-48669-9b87a0af", "deprecated": false, "target": { "file": "arch/powerpc/platforms/pseries/papr_platform_attributes.c", "function": "papr_get_attr" }, "signature_type": "Function", "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@7f7d39fe3d80d6143404940b2413010cf6527029" }, { "signature_version": "v1", "digest": { "length": 1002.0, "function_hash": "211158042593872978883898335081614729427" }, "id": "CVE-2022-48669-a48a82f2", "deprecated": false, "target": { "file": "arch/powerpc/platforms/pseries/papr_platform_attributes.c", "function": "papr_get_attr" }, "signature_type": "Function", "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@d0647c3e81eff62b66d46fd4e475318cb8cb3610" }, { "signature_version": "v1", "digest": { "threshold": 0.9, "line_hashes": [ "298153506858706440359075718712279883545", "262148549684920277831992400093721244503", "174341471806385187264313912700529158048", "155715622527247674292025157906235923759", "32837600125634052911320929528963941922", "192672743350148487966188796334210734579", "228628641680125881006910039648594157172" ] }, "id": "CVE-2022-48669-bcc8f42e", "deprecated": false, "target": { "file": "arch/powerpc/platforms/pseries/papr_platform_attributes.c" }, "signature_type": "Line", "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@a3f22feb2220a945d1c3282e34199e8bcdc5afc4" }, { "signature_version": "v1", "digest": { "length": 1002.0, "function_hash": "211158042593872978883898335081614729427" }, "id": "CVE-2022-48669-c3bf62c9", "deprecated": false, "target": { "file": "arch/powerpc/platforms/pseries/papr_platform_attributes.c", "function": "papr_get_attr" }, "signature_type": "Function", "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@1699fb915b9f61794d559b55114c09a390aaf234" }, { "signature_version": "v1", "digest": { "threshold": 0.9, "line_hashes": [ "298153506858706440359075718712279883545", "262148549684920277831992400093721244503", "174341471806385187264313912700529158048", "155715622527247674292025157906235923759", "32837600125634052911320929528963941922", "192672743350148487966188796334210734579", "228628641680125881006910039648594157172" ] }, "id": "CVE-2022-48669-ed8d2ab7", "deprecated": false, "target": { "file": "arch/powerpc/platforms/pseries/papr_platform_attributes.c" }, "signature_type": "Line", "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@1699fb915b9f61794d559b55114c09a390aaf234" } ] }