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.