Description
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 products
Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.
Linux Linux
Default version status: unaffected
3c14b73454cf9f6e2146443fdfbdfb912c0efed3 to < a3f22feb2220a945d1c3282e34199e8bcdc5afc4affected3c14b73454cf9f6e2146443fdfbdfb912c0efed3 to < 1699fb915b9f61794d559b55114c09a390aaf234affected3c14b73454cf9f6e2146443fdfbdfb912c0efed3 to < 7f7d39fe3d80d6143404940b2413010cf6527029affected3c14b73454cf9f6e2146443fdfbdfb912c0efed3 to < d0647c3e81eff62b66d46fd4e475318cb8cb3610affected3c14b73454cf9f6e2146443fdfbdfb912c0efed3 to < cda9c0d556283e2d4adaa9960b2dc19b16156baeaffected
Linux Linux
Default version status: affected
5.18affected0 to < 5.18unaffected6.1.83 to ≤ 6.1.*unaffected6.6.23 to ≤ 6.6.*unaffected6.7.11 to ≤ 6.7.*unaffected6.8.2 to ≤ 6.8.*unaffected6.9 to ≤ *unaffected
References
- https://git.kernel.org/stable/c/a3f22feb2220a945d1c3282e34199e8bcdc5afc4 ↗
- https://git.kernel.org/stable/c/1699fb915b9f61794d559b55114c09a390aaf234 ↗
- https://git.kernel.org/stable/c/7f7d39fe3d80d6143404940b2413010cf6527029 ↗
- https://git.kernel.org/stable/c/d0647c3e81eff62b66d46fd4e475318cb8cb3610 ↗
- https://git.kernel.org/stable/c/cda9c0d556283e2d4adaa9960b2dc19b16156bae ↗