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.