What’s Vulnerable › Vulnerabilities

CVE-2023-52841: media: vidtv: mux: Add check and kfree for kstrdup

Description

In the Linux kernel, the following vulnerability has been resolved: media: vidtv: mux: Add check and kfree for kstrdup Add check for the return value of kstrdup() and return the error if it fails in order to avoid NULL pointer dereference. Moreover, use kfree() in the later error handling in order to avoid memory leak.

Affected products

How to fix

Upgrade to a fixed version: Linux kernel 5.10.201, 5.15.139, 6.1.63, 6.5.12. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2023-52841 or the next vulnerability affects your stack