CVE-2022-50287

drm/i915/bios: fix a memory leak in generate_lfp_data_ptrs

published September 15, 2025

CVSS
—
EPSS
0%
Percentile
4.6
In the wild
Unconfirmed
What it is

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)

The record
Technical detail
CVSS
Not scored
CVSS v4.0
Not supplied
EPSS
0.00159 · 4.6th percentile
Published
2025-09-15T14:21Z
EPSS history
Timeline
  • 15 SEP 14:21Z
    drm/i915/bios: fix a memory leak in generate_lfp_data_ptrs
    cvelistv5