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.
[
{
"id": "CVE-2022-48669-6af9eb77",
"deprecated": false,
"signature_version": "v1",
"signature_type": "Line",
"digest": {
"line_hashes": [
"298153506858706440359075718712279883545",
"262148549684920277831992400093721244503",
"174341471806385187264313912700529158048",
"155715622527247674292025157906235923759",
"32837600125634052911320929528963941922",
"192672743350148487966188796334210734579",
"228628641680125881006910039648594157172"
],
"threshold": 0.9
},
"target": {
"file": "arch/powerpc/platforms/pseries/papr_platform_attributes.c"
},
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@d0647c3e81eff62b66d46fd4e475318cb8cb3610"
},
{
"id": "CVE-2022-48669-a48a82f2",
"deprecated": false,
"signature_version": "v1",
"signature_type": "Function",
"digest": {
"function_hash": "211158042593872978883898335081614729427",
"length": 1002.0
},
"target": {
"file": "arch/powerpc/platforms/pseries/papr_platform_attributes.c",
"function": "papr_get_attr"
},
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@d0647c3e81eff62b66d46fd4e475318cb8cb3610"
}
]