CVE-2022-50287
Severity CVSS v4.0:
Pending analysis
Type:
Unavailable / Other
Publication date:
15/09/2025
Last modified:
15/09/2025
Description
In the Linux kernel, the following vulnerability has been resolved:<br />
<br />
drm/i915/bios: fix a memory leak in generate_lfp_data_ptrs<br />
<br />
When (size != 0 || ptrs->lvds_ entries != 3), the program tries to<br />
free() the ptrs. However, the ptrs is not created by calling kzmalloc(),<br />
but is obtained by pointer offset operation.<br />
This may lead to memory leaks or undefined behavior.<br />
<br />
Fix this by replacing the arguments of kfree() with ptrs_block.<br />
<br />
(cherry picked from commit 7674cd0b7d28b952151c3df26bbfa7e07eb2b4ec)



