7.8
HIGH
CVE-2022-49410
Linux Kernel: Double Free Vulnerability in Tracing Module
Description

In the Linux kernel, the following vulnerability has been resolved: tracing: Fix potential double free in create_var_ref() In create_var_ref(), init_var_ref() is called to initialize the fields of variable ref_field, which is allocated in the previous function call to create_hist_field(). Function init_var_ref() allocates the corresponding fields such as ref_field->system, but frees these fields when the function encounters an error. The caller later calls destroy_hist_field() to conduct error handling, which frees the fields and the variable itself. This results in double free of the fields which are already freed in the previous function. Fix this by storing NULL to the corresponding fields when they are freed in init_var_ref().

INFO

Published Date :

Feb. 26, 2025, 7:01 a.m.

Last Modified :

April 17, 2025, 8:31 p.m.

Source :

416baaa9-dc9f-4396-8d5f-8c081fb06d67

Remotely Exploitable :

No

Impact Score :

5.9

Exploitability Score :

1.8
Affected Products

The following products are affected by CVE-2022-49410 vulnerability. Even if cvefeed.io is aware of the exact versions of the products that are affected, the information is not represented in the table below.

ID Vendor Product Action
1 Linux linux_kernel

We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).

Results are limited to the first 15 repositories due to potential performance issues.

The following list is the news that have been mention CVE-2022-49410 vulnerability anywhere in the article.

The following table lists the changes that have been made to the CVE-2022-49410 vulnerability over time.

Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.

  • Initial Analysis by [email protected]

    Apr. 17, 2025

    Action Type Old Value New Value
    Added CVSS V3.1 AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
    Added CWE CWE-415
    Added CPE Configuration OR *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 4.20 up to (excluding) 5.4.198 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 5.5 up to (excluding) 5.10.121 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 5.11 up to (excluding) 5.15.46 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 5.16 up to (excluding) 5.17.14 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 5.18 up to (excluding) 5.18.3 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 4.17 up to (excluding) 4.19.247
    Added Reference Type kernel.org: https://git.kernel.org/stable/c/058cb6d86b9789377216c936506b346aaa1eb581 Types: Patch
    Added Reference Type kernel.org: https://git.kernel.org/stable/c/37443b3508b8cce6832f8d25cb4550b2f7801f50 Types: Patch
    Added Reference Type kernel.org: https://git.kernel.org/stable/c/4fdfb15e08598711dbf50daf56a33965232daf0e Types: Patch
    Added Reference Type kernel.org: https://git.kernel.org/stable/c/99696a2592bca641eb88cc9a80c90e591afebd0f Types: Patch
    Added Reference Type kernel.org: https://git.kernel.org/stable/c/bd83ff3bbfb003832481c9bff999d12385f396ae Types: Patch
    Added Reference Type kernel.org: https://git.kernel.org/stable/c/c27f744ceefadc7bbeb14233b6abc150ced617d2 Types: Patch
    Added Reference Type kernel.org: https://git.kernel.org/stable/c/f8b383f83cb573152c577eca1ef101e89995b72a Types: Patch
  • New CVE Received by 416baaa9-dc9f-4396-8d5f-8c081fb06d67

    Feb. 26, 2025

    Action Type Old Value New Value
    Added Description In the Linux kernel, the following vulnerability has been resolved: tracing: Fix potential double free in create_var_ref() In create_var_ref(), init_var_ref() is called to initialize the fields of variable ref_field, which is allocated in the previous function call to create_hist_field(). Function init_var_ref() allocates the corresponding fields such as ref_field->system, but frees these fields when the function encounters an error. The caller later calls destroy_hist_field() to conduct error handling, which frees the fields and the variable itself. This results in double free of the fields which are already freed in the previous function. Fix this by storing NULL to the corresponding fields when they are freed in init_var_ref().
    Added Reference https://git.kernel.org/stable/c/058cb6d86b9789377216c936506b346aaa1eb581
    Added Reference https://git.kernel.org/stable/c/37443b3508b8cce6832f8d25cb4550b2f7801f50
    Added Reference https://git.kernel.org/stable/c/4fdfb15e08598711dbf50daf56a33965232daf0e
    Added Reference https://git.kernel.org/stable/c/99696a2592bca641eb88cc9a80c90e591afebd0f
    Added Reference https://git.kernel.org/stable/c/bd83ff3bbfb003832481c9bff999d12385f396ae
    Added Reference https://git.kernel.org/stable/c/c27f744ceefadc7bbeb14233b6abc150ced617d2
    Added Reference https://git.kernel.org/stable/c/f8b383f83cb573152c577eca1ef101e89995b72a
EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days. Following chart shows the EPSS score history of the vulnerability.
CWE - Common Weakness Enumeration

While CVE identifies specific instances of vulnerabilities, CWE categorizes the common flaws or weaknesses that can lead to vulnerabilities. CVE-2022-49410 is associated with the following CWEs:

Common Attack Pattern Enumeration and Classification (CAPEC)

Common Attack Pattern Enumeration and Classification (CAPEC) stores attack patterns, which are descriptions of the common attributes and approaches employed by adversaries to exploit the CVE-2022-49410 weaknesses.

CVSS31 - Vulnerability Scoring System
Attack Vector
Attack Complexity
Privileges Required
User Interaction
Scope
Confidentiality
Integrity
Availability
© cvefeed.io
Latest DB Update: Apr. 24, 2025 5:07