Description
In the Linux kernel, the following vulnerability has been resolved: tracing/histogram: Fix a potential memory leak for kstrdup() kfree() is missing on an error path to free the memory allocated by kstrdup(): p = param = kstrdup(data->params[i], GFP_KERNEL); So it is better to free it via kfree(p).
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
38b67e60b6b582e81f9db1b2e7176cbbfbd3e574 to < 8a8878ebb596281f50fc0b9a6e1f23f0d7f154e8affectedd380dcde9a07ca5de4805dee11f58a98ec0ad6ff to < d71b06aa995007eafd247626d0669b9364c42ad7affectedd380dcde9a07ca5de4805dee11f58a98ec0ad6ff to < e33fa4a46ee22de88a700e2e3d033da8214a5175affectedd380dcde9a07ca5de4805dee11f58a98ec0ad6ff to < df86e2fe808c3536a9dba353cc2bebdfea00d0cfaffectedd380dcde9a07ca5de4805dee11f58a98ec0ad6ff to < e629e7b525a179e29d53463d992bdee759c950fbaffectedc78a2baf5e1fe1b38121d6b54bab77ccb81a1a86affected5.4.19 to < 5.4.176affected5.5.6 to < 5.6affected
Linux Linux
Default version status: affected
5.6affected0 to < 5.6unaffected5.4.176 to ≤ 5.4.*unaffected5.10.96 to ≤ 5.10.*unaffected5.15.19 to ≤ 5.15.*unaffected5.16.5 to ≤ 5.16.*unaffected5.17 to ≤ *unaffected
References
- https://git.kernel.org/stable/c/8a8878ebb596281f50fc0b9a6e1f23f0d7f154e8 ↗
- https://git.kernel.org/stable/c/d71b06aa995007eafd247626d0669b9364c42ad7 ↗
- https://git.kernel.org/stable/c/e33fa4a46ee22de88a700e2e3d033da8214a5175 ↗
- https://git.kernel.org/stable/c/df86e2fe808c3536a9dba353cc2bebdfea00d0cf ↗
- https://git.kernel.org/stable/c/e629e7b525a179e29d53463d992bdee759c950fb ↗