Description (CNA)
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 (CNA)
| Vendor / product | Versions |
|---|---|
| Linux / Linux | affected 3c14b73454cf9f6e2146443fdfbdfb912c0efed3 before a3f22feb2220a945d1c3282e34199e8bcdc5afc4; affected 3c14b73454cf9f6e2146443fdfbdfb912c0efed3 before 1699fb915b9f61794d559b55114c09a390aaf234; affected 3c14b73454cf9f6e2146443fdfbdfb912c0efed3 before 7f7d39fe3d80d6143404940b2413010cf6527029; affected 3c14b73454cf9f6e2146443fdfbdfb912c0efed3 before d0647c3e81eff62b66d46fd4e475318cb8cb3610; affected 3c14b73454cf9f6e2146443fdfbdfb912c0efed3 before cda9c0d556283e2d4adaa9960b2dc19b16156bae |
| Linux / Linux | affected 5.18; unaffected 0 before 5.18; unaffected 6.1.83 through 6.1.*; unaffected 6.6.23 through 6.6.*; unaffected 6.7.11 through 6.7.*; unaffected 6.8.2 through 6.8.*; unaffected 6.9 through * |
CWE
No CWE identifiers supplied.
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
ADP enrichment
No English description supplied.
No references supplied.
No English description supplied.
- 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