CVE-2022-50287

MEDIUM EPSS 4.0%
Published Sep 15, 20259mo ago · Modified Jun 17, 20261w ago
5.5 CVSS 3.1
Medium
Find Similar
Published Sep 15, 2025 9mo ago
Last Modified Jun 17, 2026 1w ago

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 Details

Base Score
5.5
Exploitability
1.8
Impact
3.6
Vector string
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
Attack Vector Local
Attack Complexity Low
Privileges Required Low
User Interaction None
Scope Unchanged
Confidentiality None
Integrity None
Availability High

Threat Intelligence

EPSS Exploit Probability
4.0% percentile
Exploit & Patch Status
No Known Exploit
Patch Available

Weaknesses 1

CWE-401

Affected Products 2

VendorProductVersionRange
linuxlinux_kernel*≥5.19  –  <6.0.16
linuxlinux_kernel*≥6.1  –  <6.1.2

References 3

  • git.kernel.org https://git.kernel.org/stable/c/1382901f75a5a7dc8eac05059fd0c7816def4eae
    Patch
  • git.kernel.org https://git.kernel.org/stable/c/4758d04014cfe6cdb6e9b4738d1d6728487bbb3a
    Patch
  • git.kernel.org https://git.kernel.org/stable/c/7c852e8f93f04e57c1e3883caa72542469c6c4c4
    Patch

Remediation

  • git.kernel.org https://git.kernel.org/stable/c/1382901f75a5a7dc8eac05059fd0c7816def4eae
    Patch
  • git.kernel.org https://git.kernel.org/stable/c/4758d04014cfe6cdb6e9b4738d1d6728487bbb3a
    Patch
  • git.kernel.org https://git.kernel.org/stable/c/7c852e8f93f04e57c1e3883caa72542469c6c4c4
    Patch