CVE-2022-50287Missing Release of Memory after Effective Lifetime in Linux

Severity
5.5MEDIUMNVD
EPSS
0.0%
top 97.72%
CISA KEV
Not in KEV
Exploit
No known exploits
Timeline
PublishedSep 15

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 vector

CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:HExploitability: 1.8 | Impact: 3.6

Affected Packages4 packages

NVDlinux/linux_kernel5.196.0.16+1
Debianlinux/linux_kernel< 6.1.4-1+2
CVEListV5linux/linuxa87d0a84760726445dcc0f0177623f0d683f35594758d04014cfe6cdb6e9b4738d1d6728487bbb3a+3
debiandebian/linux< linux 6.1.4-1 (bookworm)

Patches

🔴Vulnerability Details

2
GHSA
GHSA-qmp7-w9r2-h28j: 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 || pt2025-09-15
OSV
CVE-2022-50287: 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 || ptrs2025-09-15

📋Vendor Advisories

2
Red Hat
kernel: drm/i915/bios: fix a memory leak in generate_lfp_data_ptrs2025-09-15
Debian
CVE-2022-50287: linux - In the Linux kernel, the following vulnerability has been resolved: drm/i915/bi...2022
CVE-2022-50287 — Linux vulnerability | cvebase