What’s Vulnerable › Vulnerabilities

CVE-2024-27078: media: v4l2-tpg: fix some memleaks in tpg_alloc

Description

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.

Affected products

How to fix

Upgrade to a fixed version: Linux kernel 4.19.311, 5.10.214, 5.15.153, 5.4.273. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2024-27078 or the next vulnerability affects your stack