Medium · published May 1, 2024
In the Linux kernel, the following vulnerability has been resolved:
media: v4l2-tpg: fix some memleaks in tpg_alloc
In tpg_alloc, resources should be deallocated in each and every
error-handling paths, since they are allocated in for statements.
Otherwise there would be memleaks because tpg_free is called only when
tpg_alloc return 0.
| Product | Versions | Fixed in |
|---|---|---|
| linux/linux_kernel | ≥ 3.18, < 4.19.311 | 4.19.311 |
| linux/linux_kernel | ≥ 4.20, < 5.4.273 | 5.4.273 |
| linux/linux_kernel | ≥ 5.5, < 5.10.214 | 5.10.214 |
| linux/linux_kernel | ≥ 5.11, < 5.15.153 | 5.15.153 |
| linux/linux_kernel | ≥ 5.16, < 6.1.83 | 6.1.83 |
| linux/linux_kernel | ≥ 6.2, < 6.6.23 | 6.6.23 |
| linux/linux_kernel | ≥ 6.7, < 6.7.11 | 6.7.11 |
| linux/linux_kernel | ≥ 6.8, < 6.8.2 | 6.8.2 |