Vulnerability Description
In the Linux kernel, the following vulnerability has been resolved: drm/i915/bios: fix a memory leak in generate_lfp_data_ptrs When (size != 0 || ptrs->lvds_ entries != 3), the program tries to free() the ptrs. However, the ptrs is not created by calling kzmalloc(), but is obtained by pointer offset operation. This may lead to memory leaks or undefined behavior. Fix this by replacing the arguments of kfree() with ptrs_block. (cherry picked from commit 7674cd0b7d28b952151c3df26bbfa7e07eb2b4ec)
CVSS Score
MEDIUM
Affected Products
| Vendor | Product | Versions |
|---|---|---|
| Linux | Linux Kernel | >= 5.19, < 6.0.16 |
Related Weaknesses (CWE)
References
- https://git.kernel.org/stable/c/1382901f75a5a7dc8eac05059fd0c7816def4eaePatch
- https://git.kernel.org/stable/c/4758d04014cfe6cdb6e9b4738d1d6728487bbb3aPatch
- https://git.kernel.org/stable/c/7c852e8f93f04e57c1e3883caa72542469c6c4c4Patch
FAQ
What is CVE-2022-50287?
CVE-2022-50287 is a vulnerability with a CVSS score of 5.5 (MEDIUM). In the Linux kernel, the following vulnerability has been resolved: drm/i915/bios: fix a memory leak in generate_lfp_data_ptrs When (size != 0 || ptrs->lvds_ entries != 3), the program tries to free...
How severe is CVE-2022-50287?
CVE-2022-50287 has been rated MEDIUM with a CVSS base score of 5.5/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2022-50287?
Check the references section above for vendor advisories and patch information. Affected products include: Linux Linux Kernel.